Bug 1339723 - search doesn't work sometimes
Summary: search doesn't work sometimes
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Copr
Classification: Community
Component: frontend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: clime
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-25 17:25 UTC by Igor Gnatenko
Modified: 2016-06-03 07:21 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-03 07:21:48 UTC


Attachments (Terms of Use)

Description Igor Gnatenko 2016-05-25 17:25:20 UTC
I have repo: https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/rpm-gitoverlay-1464195992.3972952/

But search by name doesn't work: https://copr.fedorainfracloud.org/coprs/fulltext/?fulltext=rpm-gitoverlay-1464195992.3972952

it returns "no projects". Not sure if it's frontend or backend bug.

Comment 1 clime 2016-06-03 07:21:48 UTC
We are using the following regular expression to match searchable parts of a copr name: r"\w+(-\.?\w+)*"

This expression will match everything before dot of the name "rpm-gitoverlay-1464195992.3972952" and puts this part into the search index (so search for just "rpm-gitoverlay-1464195992" works).

Let's keep it like this unless more problems arise. I think most people will search for just rpm-gitoverlay.


Note You need to log in before you can comment on or make changes to this bug.