jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Getting an exception when searching with the QueryManager
Date Fri, 05 Dec 2008 10:18:09 GMT
What version of Jackrabbit and Lucene are you using? Please make sure that you
use exactly the Lucene version that is mentioned in the Jackrabbit release notes.

regards
 marcel

pkrishna wrote:
> We are using JackRabbit to manage our repository. On some boxes, we are
> seeing an exception that is thrown by the lucene search engine while
> executing our integration tests. Would this be a timing issue?
> 
>  <failure message="Terms are out of order: field=_:PROPERTIES (number 4)
> lastField=_:PROPERTIES (number 4) text=3:frozenPrimaryType
> lastText=3:frozenPrimaryType"
> type="java.lang.AssertionError">java.lang.AssertionError: Terms are out of
> order: field=_:PROPERTIES (number 4) lastField=_:PROPERTIES (number 4)
> text=3:frozenPrimaryType lastText=3:frozenPrimaryType at
> org.apache.lucene.index.TermInfosWriter.add(TermInfosWriter.java:154) at
> org.apache.lucene.index.DocumentsWriter.appendPostings(DocumentsWriter.java:2320)
> at
> org.apache.lucene.index.DocumentsWriter.writeSegment(DocumentsWriter.java:2015)
> at org.apache.lucene.index.DocumentsWriter.flush(DocumentsWriter.java:552)
> at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:2623) at
> org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:2523) at
> org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:1212) at
> org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1186) at
> org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1154) at
> org.apache.jackrabbit.core.query.lucene.AbstractIndex.getIndexReader(AbstractIndex.java:219)
> at
> org.apache.jackrabbit.core.query.lucene.VolatileIndex.getIndexReader(VolatileIndex.java:128)
> at
> org.apache.jackrabbit.core.query.lucene.AbstractIndex.getReadOnlyIndexReader(AbstractIndex.java:241)
> at
> org.apache.jackrabbit.core.query.lucene.MultiIndex.getIndexReader(MultiIndex.java:718)
> at
> org.apache.jackrabbit.core.query.lucene.SearchIndex.getIndexReader(SearchIndex.java:829)
> at
> org.apache.jackrabbit.core.query.lucene.SearchIndex.executeQuery(SearchIndex.java:686)
> at
> org.apache.jackrabbit.core.query.lucene.QueryResultImpl.executeQuery(QueryResultImpl.java:242)
> at 


Mime
View raw message