You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2010/05/02 23:59:55 UTC
[jira] Issue Comment Edited: (SOLR-1900) move Solr to flex APIs
[ https://issues.apache.org/jira/browse/SOLR-1900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863200#action_12863200 ]
Yonik Seeley edited comment on SOLR-1900 at 5/2/10 5:58 PM:
------------------------------------------------------------
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.
edit: this patch also makes BytesRef comparable.
was (Author: yseeley@gmail.com):
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org