Share » Forums » Developer » A more complex Search: How?

A more complex Search: How?

A more complex Search: How?

Monday 29 December 2003 4:55:16 am - 2 replies

Author Message

Marco Zinn

Monday 29 December 2003 8:40:52 am

oh-oh...
I think, you will to code a (search) extension for that.
While it should be easy to match for ONE attribute, i think, ez is not prepared to search for multiple attributes including logical operator handling ("more than"). I think, the search engine is trimmed for textual searches and does not know about the order of numbers.
The Template operator (http://ez.no/developer/ez_publish_3/documentation/customization/components/search/search_operator) defintly is not prepared to do this, but maybe the ezPublish classes (ezSearch::search) are able to help you. In any case, i think, you need some PHP coding for that.

Marco
http://www.hyperroad-design.com

Peter Szmulik

Monday 29 December 2003 3:17:26 pm

Hi Paolo

I'm trying to understand this myself for a similar need. My example would be similar to this:
http://uk.pricerunner.com/computing/computers/laptops/browse

Most of the attributes in the example are simple true/not true, but processor speed is not. I belive they solved this by saying processor speed between e.g. 900 and 1200MHz which means that this info (in one form or another) would need to be stored as an attribute in the object (presumably together with the actual speed to be displayed for the user).

I would be very grateful if someone could verify that this would not be totally wrong in eZ Publish :-)

Best Regards & Happy New Year to everyone!
Peter

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

36 542 Users on board!

Forums menu