PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Mod Submissions

Reply
 
Thread Tools
Old 12-27-2003, 05:18 PM   #1
Charter
Head Mole
 
Charter's Avatar
 
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.
Charter is offline   Reply With Quote
Old 01-11-2004, 01:27 PM   #2
Ellsmasher
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
Ellsmasher is offline   Reply With Quote
Old 01-11-2004, 01:57 PM   #3
Charter
Head Mole
 
Charter's Avatar
 
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.
Charter is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exact Phrase support janalwin How-to Forum 1 02-16-2006 10:30 AM
Exact phrase does not work lucyoop Troubleshooting 5 04-08-2004 05:50 PM
Exact phrase doesn't work in 1.8.0 when CONTENT_TEXT=0 renehaentjens Bug Tracker 0 02-16-2004 03:56 AM
Exact Phrase functionality siliconkibou How-to Forum 2 01-09-2004 04:26 PM
feature proposal: real exact searching manute Mod Requests 3 10-22-2003 12:17 AM


All times are GMT -8. The time now is 12:26 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.