Hi,

I've spent some time to implement some long standing ideas I had for 
improving the search module, without going as far as the AdvancedSearch 
which implies pluggable search engine backend and such fancy things (the 
''advanced'' search).

Here I'm talking about improving the ''basic'' search we had since ages 
(the SELECT ... LIKE in the text columns of our database).

Now I'd be interested in getting some feedback.

Highlights:
 - default ordering is now by relevance (''number of hits'' of the 
search terms)
 - it's still possible to have an ordering by date, viewed in 
''Timeline'' style
 - transfer the matching tickets to the custom query view, for further 
analysis
 - search by numerical id (#1268)

For more details, see http://trac.edgewall.org/wiki/SearchRefactoring
and of course the code: http://trac.edgewall.org/log/sandbox/search-api-tmp

Open points:
 - the SearchResult is quite close to the TimelineEvent.
   Would a common ancestor (e.g. ResourceInfo) be worthwhile?
 - how to integrate search on custom fields?
 - are the changes OK with existing ISearchSource in the wild?
   (the old 0.10 interface is still supported of course, but are there 
known additional requirements which are yet to be addressed?)


-- Christian





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to