New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: JRA-13330
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Nick Menere [Atlassian]
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA

Comment queries should use FieldableDocumentHitCollector

Created: 15/Aug/07 12:38 AM   Updated: 06/Dec/07 08:00 PM
Component/s: Comments, Performance
Affects Version/s: None
Fix Version/s: 3.13.x

Time Tracking:
Not Specified

Participants: Jed Wesley-Smith [Atlassian] and Nick Menere [Atlassian]
Since last comment: 37 weeks, 6 days ago
Labels:


 Description  « Hide
When we do a search that includes a comment paramater, we do a search on the comment index, generate a list of keys and then pass that in to the normal search. When we do the search on the comment index we should use a FieldableDocumentHitCollector that only sucks in the issue id, this should improve things as we wont need to pull the body of the comment into the document.

Though, it may not be that simple as we don;t actually use a HitCollector for this. We get the hits and iterate over them manually - might want to use a hit collector....

See - LuceneQueryCreator.getCommentsFilter(Hits hits)



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jed Wesley-Smith [Atlassian] added a comment - 06/Dec/07 08:00 PM
The fix for this issue has not been able to make it into JIRA v3.12. We are hoping to incorporate it into v3.12.1. As of writing however, there are 163 items scheduled as Fix For v3.12.1. We will not be able to include all of them.