#2759: Search query is too simplistic
----------------------------------------------------+-----------------------
 Reporter:  Andres Salomon <[EMAIL PROTECTED]>  |        Owner:  jonas
     Type:  defect                                  |       Status:  new  
 Priority:  normal                                  |    Milestone:  0.10 
Component:  search system                           |      Version:  none 
 Severity:  major                                   |   Resolution:       
 Keywords:                                          |  
----------------------------------------------------+-----------------------
Comment (by Andres Salomon <[EMAIL PROTECTED]>):

 The first patch fixes a bunch of issues; the second patch fixes the third
 and fourth issues on that list.  The highlighting is still a bit screwy,
 but I'm not sure what's actually implementing that (pointers would be
 helpful!).  Upon further inspection, the ninth entry on the list above
 isn't an actual problem; I just hadn't realized that the number of search
 results was only provided if there's more than one page worth of results.

 As far as things like '%a%' returning too many results; I think the best
 solution in this case (instead of pretending that we can enforce some sort
 of search policy on the user) would be to limit results to 50 (via a SQL
 modifier, LIMIT 50).  The upper limit on search results could be
 configurable via config file, if that sort of flexibility is desired.

 If you agree w/ that last bit, I'll whip up a patch.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2759>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to