[ 
https://issues.apache.org/jira/browse/LUCENE-6754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14727277#comment-14727277
 ] 

ASF subversion and git services commented on LUCENE-6754:
---------------------------------------------------------

Commit 1700793 from [~jpountz] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1700793 ]

LUCENE-6754: Optimized IndexSearcher.count for simple queries.

> 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
>         Attachments: LUCENE-6754.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to