lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Bill.Che...@sungard.com>
Subject RE: Error: there are more terms than documents...
Date Thu, 23 Apr 2009 20:52:56 GMT
I figured it out.  We are using Hibernate Search and in my ORM class I
am doing the following:

@Field(index=Index.TOKENIZED,store=Store.YES)
protected String objectId;

So when I persisted a new object to our database I was inadvertently
creating a document in the Lucene index with the tokenized and stored
field "objectId".  This is a left over from when we were letting
Hibernate Search build our index for us.  We're now building the index
ourselves so I think if I just remove this, it should work ok.

Thanks for the help, Doron.

Bill


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message