jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pkrishna <prabhakar.krishnasw...@ge.com>
Subject Getting an exception when searching with the QueryManager
Date Wed, 03 Dec 2008 21:37:35 GMT

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 
-- 
View this message in context: http://www.nabble.com/Getting-an-exception-when-searching-with-the-QueryManager-tp20822222p20822222.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message