eZ Community » Forums » Developer » Advanced search OR
expandshrink

Advanced search OR

Advanced search OR

Wednesday 18 July 2007 11:34:46 am - 3 replies

Hello,
for beginning, sorry for my english.

I want to do an advanced search with OR condition.

Example: If i search "word letter", i want to return all the results who contains "word" OR "letter". Is it possible in ez-publish 3.9.2? or how modify the search engine to do that?

I think there is one personn which do that.

Thanks for help

Wednesday 18 July 2007 2:04:47 pm

The included search engine does not support OR search, and it is not very easy to implement as far as I have seen.
The simplest solution would be to look into the the alternative search engines. You currently have Lucene, and soon ( within a month ) Solr will be added as a alternative.

But most search engines will use AND search as default search anyway, just so you know.

Wednesday 18 July 2007 2:26:52 pm

hello,

thanks for your answer. I try to modify the search engine but it is very difficult. I try to install Lucene today, i hope that works happy.gif Emoticon

Thanks

Wednesday 18 July 2007 6:07:15 pm

I have a question before installing this plugin.

I want to do a search with or condition but like this:

I have a textbox which search on the attribute "Name" (if we write "word letter", i want to return all the results who contains "word" OR "letter"blunk.gif Emoticon

BUT i want to have an another textbox with search on the attribute "Color" (with the same research)

An example that i want:

(Name = word OR name = letter) AND ( color="blue OR color="white"blunk.gif Emoticon

It is possible with this plugin?

thanks

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu