Edgewall Software
Modify

Ticket #2129 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Search does not find some results based on two keywords

Reported by: Alexander Shopov Owned by: jonas
Priority: high Milestone: 0.9
Component: search system Version: 0.8.4
Severity: normal Keywords:
Cc: ash@…
Release Notes:
API Changes:

Description

This bug was found in 0.8.4 (mod-python, Apache, on Fedora Core 4), but I could reproduce it with Edgewall's current public installation on http://projects.edgewall.com/trac/

Trac's search subsystem does not find results based on two keywords in the following case:

  • 1st keyword: the name of the committer
  • 2nd keyword: some part of the log message

So, if I search "ash" (without the quotes) - I get many results including all changesets made by the user ash. (trac highlights the occurrences - they are the name of the committer).

If I search "specialFEATURE" I get many results as well, some of which are commit messages containing the term "specialFEATURE" Some of them are made by the user ash.

If I search for "ash specialFEATURE" (without the quotes, single space between the words) - I get no results.


How to replicate on this trac installation

Used terms:

  • committer: cboos
  • log message: Shun

Check:

  1. Two keywords: http://projects.edgewall.com/trac/search?q=cboos+Shun&ticket=on&changeset=on&wiki=on
  2. Committer "cboos": http://projects.edgewall.com/trac/search?q=cboos&ticket=on&changeset=on&wiki=on
  3. Message "Shun": http://projects.edgewall.com/trac/search?q=Shun&ticket=on&changeset=on&wiki=on
  4. One of the missed results: http://projects.edgewall.com/trac/changeset/2301

Attachments

Change History

comment:1 Changed 7 years ago by Alexander Shopov

Of course - you should take in mind that this ticket itself - #2129 has changed the results as it mentions both keywords in the description of the ticket and is itself findable when searching for the two keywords.

But the question stays as the search finds none of the other results.

comment:2 Changed 7 years ago by cboos

  • Milestone changed from 0.9 to 1.0
  • Priority changed from normal to high

TracSearch will be reworked in 1.0.

comment:3 Changed 7 years ago by jonas

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [2386].

comment:4 Changed 7 years ago by anonymous

  • Milestone changed from 1.0 to 0.9
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.