lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prasenjit Mukherjee <prasen....@gmail.com>
Subject Enforcing Primary key uniqueness in lucene index
Date Tue, 30 May 2006 16:07:31 GMT
I want to enforce the concept of a unique primary key in lucene index by 
having a field whose values has to be unique for all lucene documents. 
One way  is to do a search just before indexing, but that seems to 
consume lot of time as you have to create a new IndexSearcher every time 
you want to index/search.

Won't it be nice if we could do it while indexing itself ?

thanks,
Prasen



---------------------------------------------------------------------
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