Mailing List Archive

Re: [The Trac Project] #1268: Search for a revision/ticket/report number should find that changeset/ticket/report
#1268: Search for a revision/ticket/report number should find that
changeset/ticket/report
------------------------------------------------------+---------------------
Reporter: Markus Bertheau <twanger@bluetwanger.de> | Owner: mgood
Type: defect | Status: new
Priority: normal | Milestone: 0.11
Component: search system | Version: 0.8.1
Severity: minor | Resolution:
Keywords: |
------------------------------------------------------+---------------------
Changes (by mgood):

* owner: jonas => mgood
* status: reopened => new
* severity: normal => minor
* milestone: => 0.11

--
Ticket URL: <http://trac.edgewall.org/ticket/1268#comment:5>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #1268: Search for a revision/ticket/report number should find that changeset/ticket/report [ In reply to ]
#1268: Search for a revision/ticket/report number should find that
changeset/ticket/report
------------------------------------------------------+---------------------
Reporter: Markus Bertheau <twanger@bluetwanger.de> | Owner: mgood
Type: defect | Status: new
Priority: normal | Milestone: 0.11
Component: search system | Version: 0.8.1
Severity: minor | Resolution:
Keywords: |
------------------------------------------------------+---------------------
Comment (by pphaneuf@gmail.com):

I find it a bit odd that putting r614 in wiki formatted text (which is a
bunch of places) will link to the changeset, but searching for the same
doesn't work, I have to search for [614]. While I agree that just
searching for 614 is a bit random (which of the ticket/changeset/report
are you supposed to get), r614 is pretty intuitive (as well as very likely
to be copy/pasted straight from other places, such as Subversion output in
a terminal).

--
Ticket URL: <http://trac.edgewall.org/ticket/1268#comment:6>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #1268: Search for a revision/ticket/report number should find that changeset/ticket/report [ In reply to ]
#1268: Search for a revision/ticket/report number should find that
changeset/ticket/report
------------------------------------------------------+---------------------
Reporter: Markus Bertheau <twanger@bluetwanger.de> | Owner: mgood
Type: defect | Status: new
Priority: normal | Milestone: 0.11
Component: search system | Version: 0.8.1
Severity: minor | Resolution:
Keywords: |
------------------------------------------------------+---------------------
Changes (by Pierre Phaneuf <pphaneuf@gmail.com>):

* cc: pphaneuf@gmail.com (added)

--
Ticket URL: <http://trac.edgewall.org/ticket/1268#comment:7>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #1268: Search for a revision/ticket/report number should find that changeset/ticket/report [ In reply to ]
#1268: Search for a revision/ticket/report number should find that
changeset/ticket/report
------------------------------------------------------+---------------------
Reporter: Markus Bertheau <twanger@bluetwanger.de> | Owner: mgood
Type: defect | Status: new
Priority: normal | Milestone: 0.11
Component: search system | Version: 0.8.1
Severity: minor | Resolution:
Keywords: |
------------------------------------------------------+---------------------
Comment (by cboos):

Replying to [comment:6 pphaneuf@gmail.com]:
> I find it a bit odd that putting r614 in wiki formatted text (which is a
bunch of places) will link to the changeset, but searching for the same
doesn't work,
Works like that in [milestone:0.10].

More precisely: ''any'' TracLinks entered in the quick search box will
directly make you jump to the targeted resource. OTOH, if that TracLink is
entered in the search box of the ''Search'' page itself, this will perform
a search for that link ''and'' provide you with a link to that resource,
on top of the other search results.

This ticket is about adding more "intelligence" to the search when
entering a simple number.

--
Ticket URL: <http://trac.edgewall.org/ticket/1268#comment:8>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #1268: Search for a revision/ticket/report number should find that changeset/ticket/report [ In reply to ]
#1268: Search for a revision/ticket/report number should find that
changeset/ticket/report
------------------------------------------------------+---------------------
Reporter: Markus Bertheau <twanger@bluetwanger.de> | Owner: mgood
Type: defect | Status: new
Priority: normal | Milestone: 0.11
Component: search system | Version: 0.8.1
Severity: minor | Resolution:
Keywords: |
------------------------------------------------------+---------------------
Changes (by Pierre Phaneuf <pphaneuf@gmail.com>):

* cc: pphaneuf@gmail.com (removed)

Comment:

Already like that in 0.10? Excellent, I'll have to look into upgrading
soon, then, particularly as 0.10 seems to be getting pretty close to
release.

Thanks!

--
Ticket URL: <http://trac.edgewall.org/ticket/1268#comment:9>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #1268: Search for a revision/ticket/report number should find that changeset/ticket/report [ In reply to ]
#1268: Search for a revision/ticket/report number should find that
changeset/ticket/report
------------------------------------------------------+---------------------
Reporter: Markus Bertheau <twanger@bluetwanger.de> | Owner: mgood
Type: defect | Status: new
Priority: normal | Milestone: 0.11
Component: search system | Version: 0.8.1
Severity: minor | Resolution:
Keywords: |
------------------------------------------------------+---------------------
Comment (by cmlenz):

#3419 was marked as duplicate of this ticket.

--
Ticket URL: <http://trac.edgewall.org/ticket/1268#comment:10>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #1268: Search for a revision/ticket/report number should find that changeset/ticket/report [ In reply to ]
#1268: Search for a revision/ticket/report number should find that
changeset/ticket/report
------------------------------------------------------+---------------------
Reporter: Markus Bertheau <twanger@bluetwanger.de> | Owner: mgood
Type: defect | Status: new
Priority: normal | Milestone: 0.11
Component: search system | Version: 0.8.1
Severity: minor | Resolution:
Keywords: |
------------------------------------------------------+---------------------
Comment (by cboos):

#3856 marked as duplicate of this one as well.

--
Ticket URL: <http://trac.edgewall.org/ticket/1268#comment:11>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #1268: Search for a revision/ticket/report number should find that changeset/ticket/report [ In reply to ]
#1268: Search for a revision/ticket/report number should find that
changeset/ticket/report
------------------------------------------------------+---------------------
Reporter: Markus Bertheau <twanger@bluetwanger.de> | Owner: mgood
Type: enhancement | Status: new
Priority: normal | Milestone: 0.11
Component: search system | Version: 0.8.1
Severity: minor | Resolution:
Keywords: |
------------------------------------------------------+---------------------
Changes (by mgood):

* type: defect => enhancement

Comment:

r3857 adds search results for tickets and changesets based on their
identifiers. There's currently no searching for reports, which I didn't
add. Does it make sense to search for reports too? I can't imagine a
project having enough reports that you'd need to search them. Anyone see
a reason to include reports in the search results?

--
Ticket URL: <http://trac.edgewall.org/ticket/1268#comment:12>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #1268: Search for a revision/ticket/report number should find that changeset/ticket/report [ In reply to ]
#1268: Search for a revision/ticket/report number should find that
changeset/ticket/report
------------------------------------------------------+---------------------
Reporter: Markus Bertheau <twanger@bluetwanger.de> | Owner: mgood
Type: enhancement | Status: new
Priority: normal | Milestone: 0.11
Component: search system | Version: 0.8.1
Severity: minor | Resolution:
Keywords: number |
------------------------------------------------------+---------------------
Changes (by cboos):

* keywords: => number

Comment:

I'm not sure r3857 is really the adequate implementation for this
feature...

First, you'll have the `[search] min_query_length` configuration option,
usually set to 3, which will prevent you to search for changesets and
tickets < 100 (and this is certainly problematic for tickets at least).

Then, for large projects, when you're looking for changeset 123, you don't
necessarily want to get matches for r1123, r1231, r1232, r1233, ... ,
r2123, r3123 and so on...

Finally, with r3857, those results will now be placed among other results,
not shown as special Quickjump targets, like suggested
[comment:ticket:3419:5 in #3419].

As an alternative implementation, I propose to extend the ISearchInterface
to accept numerical searches. This could even in the future be extended to
interval searches, which in the case of changesets would redirect you to
the appropriate range.

--
Ticket URL: <http://trac.edgewall.org/ticket/1268#comment:13>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---