Jump to content

How should the search strings be arranged?


arabellajones
 Share

You are about to reply to a thread that has been inactive for 1702 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

The instructions for the Search (the box at the top of the page) look broken.

I used two words, entered as "word1 word2" and the results clearly use the OR function, returning every entry containing either or both words.

The suggestion to improve the search was "word1 AND word2", but that treated "AND" as just another word, not as a logic function.

Google did return a few relevant results to the same basic search string, but may have stopped indexing the forums last year.

I did try digging for a JIRA on this, but I only read and write English

 

Link to comment
Share on other sites

  • 2 weeks later...

search is scripted against mysql injections. doing 'word1 AND word2' is similar to injection and so search treats it as a string.

SELECT * FROM places WHERE name LIKE '%word 1 word2%'

just to give ya a example. Thats how you run a search using php.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1702 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...