![]() |
|
![]() |
#1 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
AND & OR plus Exact Phrase Searching
Hi. The attached file has "and operator - exact words - or operator" searching options and uses "begin with" for the "and - or" options. It is currently in beta and is only available for testing with PhpDig version 1.6.5.
The attached file is used in the online demo but is not yet included in a full release. If you want to try it, make a backup of your current search_function.php file, download the attached file, unzip it, and replace search_function.php with the unzipped file. Anyway, let me know how it goes and what you think. Thanks. EDIT: File removed. Download PhpDig version 1.8.0+ instead.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
![]() |
![]() |
![]() |
#2 |
Green Mole
Join Date: Jan 2004
Location: Denver, CO. USA
Posts: 2
|
Partial word match doesn't seem to highlight
If I enter part of a word in my search query, the appropriate matches are returned but the partial word is not highlighted. It does highlight in the previous search_function.php for 1.6.5. AND / OR Querying does work though !!
I really enjoy this product, I am attempting to convince my employer to integrate it into our intranet/IT infrastructure as we have several 1,000's of Word Docs/ PDF docs that we would like to have indexed. I look forward to sending feedback on scaling, although I think that will ultimately be network config/mysql driven. -Bryan |
![]() |
![]() |
![]() |
#3 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. The previous search_function.php for 1.6.5 allowed LIKE '%word%' queries for matching on any part of the word. In the new search_function.php for 1.6.5 this was changed to LIKE 'word%' queries to allow begin with matching. This change was made because wild card matching on both ends can be pretty slow.
![]()
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Exact Phrase support | janalwin | How-to Forum | 1 | 02-16-2006 09:30 AM |
Exact phrase does not work | lucyoop | Troubleshooting | 5 | 04-08-2004 04:50 PM |
Exact phrase doesn't work in 1.8.0 when CONTENT_TEXT=0 | renehaentjens | Bug Tracker | 0 | 02-16-2004 02:56 AM |
Exact Phrase functionality | siliconkibou | How-to Forum | 2 | 01-09-2004 03:26 PM |
feature proposal: real exact searching | manute | Mod Requests | 3 | 10-21-2003 11:17 PM |