lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Index File
Date Sat, 13 Nov 2004 00:28:39 GMT
If you add a Document to the index after you've opened an
IndexSearcher/Reader, your IndexSearcher/Reader will not see it.  You
have to open a new IS/R to see the newly added Documents.  This is
often covered on this list... I must have added this to Lucene FAQ at
jGuru, too.

Otis

--- Luke Shannon <lshannon@hypermedia.com> wrote:

> Hi;
> 
> Is there someway to determine if specific contents are in the index
> folder other than running a query against it?
> 
> I see that my document is being indexed. But when I run a query
> against the index I get no results returned.
> 
> The weird thing is if I restart TomCat and run the search again the
> correct results are found.
> 
> Half this system was built by someone else (the execution of the
> search query and displaying of the results). I only handle the
> indexing. I would like to find a way to definitely ensure that the
> index file is properly being created.
> 
> Any ideas? Anyone seen this before?
> 
> Thanks
> 
> Luke


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


Mime
View raw message