[ 
https://issues.apache.org/jira/browse/SOLR-1900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yonik Seeley updated SOLR-1900:
-------------------------------

    Attachment: SOLR-1900-facet_enum.patch

Attaching draft flex use for the facet.enum method.

This currently fails with:
{code}
SEVERE: Exception during facet counts:java.lang.IllegalStateException: external 
IndexReader requires skipDocs == MultiFields.getDeletedDocs()
        at 
org.apache.lucene.index.LegacyFieldsEnum$LegacyDocsEnum.reset(LegacyFieldsEnum.java:206)
        at 
org.apache.lucene.index.LegacyFieldsEnum$LegacyTermsEnum.docs(LegacyFieldsEnum.java:164)
        at org.apache.lucene.index.MultiTermsEnum.docs(MultiTermsEnum.java:276)
        at 
org.apache.solr.request.SimpleFacets.getFacetTermEnumCounts(SimpleFacets.java:566)
{code}

Not sure if that's an issue with all compound readers (top-level readers as 
opposed to segment readers) or if it's an issue with SolrIndexReader.

> move Solr to flex APIs
> ----------------------
>
>                 Key: SOLR-1900
>                 URL: https://issues.apache.org/jira/browse/SOLR-1900
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.0
>            Reporter: Yonik Seeley
>             Fix For: 4.0
>
>         Attachments: SOLR-1900-facet_enum.patch
>
>
> Solr should use flex APIs

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to