lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy (JIRA)" <>
Subject [jira] Created: (LUCENENET-107) Search while sorting is slow
Date Thu, 10 Jan 2008 19:53:33 GMT
Search while sorting is slow

                 Key: LUCENENET-107
             Project: Lucene.Net
          Issue Type: Bug
         Environment: Lucene.Net 2.1
            Reporter: Digy
         Attachments: TestSort.rar

Mark wrote:
I have an index that when i search for term with out sorting the results are returned in .7
seconds or less. When I choose to search with a column chosen for sorting the results will
return in 7 - 10 seconds.  The larger the # of hits the longer it takes when sorting.  The
fields that can be sorted on are unique to the document,stored in the index as un_tokenized.
I am using 2.0. Index size is normally around 2.5 gig but i have the same problem
on a 500 meg index too.  Has anyone else experienced this?

Any help will be greatly appreciated.

Mark Burks

I have prepared a test case where TestIndex contains ~200000 docs.

a) making a search and then sorting the (500)results (I used SortedDictionary for sorting)
takes ~140 msec.
b) making a search with Lucene's Sort takes ~6046 msec.

So, there is something to be fixed in Lucene.Net


This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message