Date: 2005-01-04T10:36:14 Editor: DanielNaber Wiki: Jakarta Lucene Wiki Page: LuceneFAQ URL: http://wiki.apache.org/jakarta-lucene/LuceneFAQ
no comment Change Log: ------------------------------------------------------------------------------ @@ -83,6 +83,7 @@ * You are using different analyzers (or the same analyzer but with different stop words) for indexing and searching and as a result, the same term is transformed differently during indexing and searching. * The analyzer you are using is case sensitive (e.g. it does not use the !LowerCaseFilter) and the term in the query has different case than the term in the document. * The documents you are indexing are very large. Lucene by default only indexes the first 10,000 terms of a document to avoid !OutOfMemory errors. See [http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/index/IndexWriter.html#maxFieldLength IndexWriter.maxFieldLength]. + * Make sure to open a new !IndexSearcher after adding documents. An !IndexSearcher will only see the documents that were in the index in the moment it was opened. If none of the possible causes above apply to your case, this will help you to debug the problem: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]