Re: Lucene ID and scoring.

2007-10-16 Thread Erick Erickson
Can't answer the second question, but the answer to the first is "no". Not only are Lucene IDs internally generated, but they change when you delete/optimize. Would caching filters help? Especially if you pre-computed them at, say, warm up? What problem are you trying to solve anyway? A statemen

Lucene ID and scoring.

2007-10-11 Thread sandeep chawla
Hi All, I have two questions here 1- Lucene generates id for every document it indexes and it does in order..0,1,2,3.n .Can i make lucene use my id ( my id for a document ..say randomly generated unique id for a document) as lucene id. The reason i am asking this question because lucene filt