#2505 [RFE] Improve search capabilities
Opened by dpal. Modified

It seems that current search is doing substring search. This is very limiting. It should do a list word search. If I ask for "apples oranges" it will return only issues that have these two words in the exact sequence. I would expect that the result should include all issues that have the word "apples" and all issues that have the word "oranges".
Also it should be possible to express more complex constructs like "applies AND oranges".

Once it is implemented please make sure that there is some kind of hint/tip/help link in the UI so that a person can easily learn what is the supported syntax. Currently one has to guess and experiment.


Metadata Update from @pingou:
- Issue tagged with: RFE, wishful

At least, it should be much helpful for me if Pagure can search issues in these ways

  • by author
  • range of date, between two dates, before a date, or after a date
  • or both of them, for example a case could be, I want to search issues created by cqi that could be filed 3 weeks ago and contains keyword odcs in title.

Also, while searching issues, can it also search for the content and comments in the issues rather than just the issue title.

It will be very useful.

can it also search for the content and comments in the issues rather than just the issue title.

For the record, we already support this (it's documented in the tips and tricks section in the documentation) :)

@pingou said:

For the record, we already support this (it's documented in the tips and tricks section in the documentation) :)

For future reference this is documented here.

Adding content:<keyword> isn't discoverable. IMO, users expect content search by default.

My 2c.

Metadata Update from @wombelix:
- Issue set to the milestone: 6.0

Metadata