lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-6754) Optimize IndexSearcher.count for simple queries
Date Thu, 20 Aug 2015 17:54:46 GMT
Adrien Grand created LUCENE-6754:
------------------------------------

             Summary: Optimize IndexSearcher.count for simple queries
                 Key: LUCENE-6754
                 URL: https://issues.apache.org/jira/browse/LUCENE-6754
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Adrien Grand
            Assignee: Adrien Grand
            Priority: Minor


IndexSearcher.count currently always create a collector to compute the number of hits, but
it could optimize some queries like MatchAllDocsQuery or TermQuery.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message