When I'm searching "Change Request Application" in the Extension Manager, the Change Request Application doesn't actually show up in the results. I believe this is caused by three things:
- The exact match is not particularly prioritized (though some fuzzy search might be desirable - "Chang Rquest Aplication" should return "Change Request Application" first too)
- "Application "or "Macro" is in virtually all our extension names
- The search is performed doing an OR between the terms, not an AND, as evidenced by the "Change AND Request AND Application" query returning the Change Request Application
- That one can use Solr syntax is undocumented in the UI
- Users don't generally know Solr syntax
- I believe terms should be Solr-escaped and solr syntax only used if an "advanced mode" is explicitly enabled. By default, the search should be performed with an AND between each words given by the user.
- I have the same opinion for the global quick search and the main search application. An OR search is usually not what people want they usually want all their terms to match - so it might be desirable to work on this more generally across XWiki
The consequence of 2 and 3 is that if a user types the name of an extension, it is usually not found because "Application" or "Macro" matches the world. |