| Thursday 04 December 2003 5:57:22 am 
                                                                
                                                                 Hi, I've some suggestions to improve the search-feature: 
-) Search by "First letters"e.g. I've 15.000 users and want to show all users whose lastname or login starts with an "A" or "An" etc. in a template. (Extended: find users whose lastname starts with "Aa" or "Ab" or "Ac" etc.)
 -) Sort order by section-id of the result (e.g. if more than one site is installed I can sort the search result by the section id and output in the template someting like: Search result for Site 1 / Site 2 and so on) -) Search priority: If you use the datatype ezkeyword in a content class and a keyword is found in that attribute, the result should get a higher ranking. -) Search priority, 2nd: If a keyword is found in the name of an object, it should get a higher ranking.  
The high-end feature: Extend the content-class, each added datatype can get an user defined "search ranking".Example:
 content class "small article":
 field "title" - search ranking 5
 field "keywords" - search ranking 4
 field "intro" - search ranking 3
 field "body" - search ranking 1
 (Higher numbers - higher rankings) -) Search in more than one content class at once (inlcude/exclude content class ids as in the fetch"-function). (e.g. I've 4 different article-classes and I want to do one search in all of the 4 article-classes) -) Small search result: e.g. in some cases you need only the object ids or the main node ids or data_map and not the filled objects (with children, subtree and so on) - could prevent "overload". 
Kind regards,Emil.
 Best wishes,Georg.
 
 --
 http://www.schicksal.com Horoskop website which uses eZ Publish since 2004
 |