RE: query performance with leading *

2012-02-13 Thread Austin, Carl
You could possibly tokenize the value both forwards and in reverse, for example: 123456 and 654321 You can then convert a query for *56 to 65* and this will increase performance. -Original Message- From: G.Long [mailto:jde...@gmail.com] Sent: 13 February 2012 16:39 To: java-user@lucene.

RE: Why is the old value still in the index

2011-12-16 Thread Austin, Carl
The .docFreq() call returns the number of documents that the current term in the enum is in, not all terms in the term enum. Also be aware of, from the lucene wiki : "Once a document is deleted it will not appear in TermDocs nor TermPositions enumerations, nor any search results. Attempts to load