[ 
https://issues.apache.org/jira/browse/SOLR-877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654164#action_12654164
 ] 

Grant Ingersoll commented on SOLR-877:
--------------------------------------

{quote}
Another thought I'll just throw out there w/o advocating: could this just be a 
faceting optimization?

If the faceting base query is :, and one can ignore deleted docs, then the 
facet counts are equivalent to the term df here. So this could be implemented 
as an optimization to faceting w/ the addition of a facet.ignoreDeletes 
parameter. Then the distributed part would already be done (once 
facet.sort=false is implemented for distributed search).
{quote}

Hmmm, probably true.  I tend to think of this as pretty lightweight, but I see 
no reason not to make your suggested changes in the facet code either.

> Access to Lucene's TermEnum capabilities
> ----------------------------------------
>
>                 Key: SOLR-877
>                 URL: https://issues.apache.org/jira/browse/SOLR-877
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-877.patch, SOLR-877.patch, SOLR-877.patch
>
>
> I wrote a simple SearchComponent on the plane the other day that gives access 
> to Lucene's TermEnum capabilities.  I think this will be useful for doing 
> auto-suggest and other term based operations.  My first draft is not 
> distributed, but it probably should be made to do so eventually. 

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

Reply via email to