Thread: apostrophe
View Single Post
Old 02-23-2004, 02:34 PM   #7
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
>> Sorry i've tried (both files), but it doesn't seem to work.

Hi. Did you reindex after removing the escaped slash in those two places? Try indexing a demo page after making the changes and see what turns up in the seach results for words with/without the apostrophe.

>> What do you mean by "edit the exact phrase portion"?

The exact phrase code in PhpDig version 1.8.0 may need to be edited to work with any apostrophe related changes in the code.

>> Also, is there any reason why, even though I select ANY in the form, phpDig takes...

If you are using PhpDig 1.8.0, the language pack needs to be edited to reflect "and operator - exact phrase - or operator" instead of what you see onscreen. PhpDig 1.6.5 allows for "any" but PhpDig 1.8.0 uses LIKE "keyword%" queries, as LIKE "%keyword%" queries can be slow.

The Changelog has a list of differences/updates between versions. Maybe try editing the search_function.php file to have LIKE "%keyword%" queries and check the search times.
__________________
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