-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
- Give better ranking when an object matches multiple clauses, I think this is already done by lunr. But some queries will generate unexpected result ordering. Like
ensure parsedwill not yieldensure_parsed_docstringas the first result in the list. This has been addressed in Search bar improvments and Help page #823astutils.should list all members of thepydoctor.astutilsmodule (translated toastutils.* *.astutils.*in lunr syntax)- Add wildcard in between dots so users can use only the first letters of module names, like
t.w.t.tagmight be translated tot*.w*.t*.tag* *.t*.w*.t*.tag*in lunr syntax - Change the default logic operator in between clauses: Currently all clauses are ORed together, so the number of results will increase every time users enter a new clause. Which is not a great user experience IMO. We could ANd the clauses by default and add a button to change the search logic.
- Another way of fixing the issue above is to ANd the clauses together if no clauses have an explicit presence, so
foo barwould become+foo +barand+foo barwould stay the same. As a side effect this will make impossible to define query with only optional terms.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels