chindler
>> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> > http://www.thetaphi.de
>> > eMail: u...@thetaphi.de
>> >
>> >
>> >> -Original Message-
>> >> From: Paulo Avelar [mailto:phave...@gmail.com]
>> >&
> -
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: u...@thetaphi.de
> >
> >
> >> -----Original Message-
> >> From: Paulo Avelar [mailto:phave...@gmail.com]
> >> Sent: Monday, March 15, 201
mail.com]
>> Sent: Monday, March 15, 2010 9:44 AM
>> To: java-user@lucene.apache.org
>> Subject: Re: issue querying index.
>>
>> I would love to, but it's a bit more complicated then that, there are
>> several classes
>>
>> once you see the test yo
> -Original Message-
> From: Paulo Avelar [mailto:phave...@gmail.com]
> Sent: Monday, March 15, 2010 9:44 AM
> To: java-user@lucene.apache.org
> Subject: Re: issue querying index.
>
> I would love to, but it's a bit more complicated then that, there are
> several
ler wrote:
> Can you send us the test code?
>
> -
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: u...@thetaphi.de
>
>
>> -Original Message-
>> From: Paulo Avelar [mailto:phave...@gmail.com]
>> Sent
rg
> Subject: Re: issue querying index.
>
> Thanks for the answer,
>
> But I thought about that, and yes I did close the indexWriter before I
> search.
> I experimented with both calling commit and close, but yet I get same
> behavior.
> It's like there is a flus
Thanks for the answer,
But I thought about that, and yes I did close the indexWriter before I search.
I experimented with both calling commit and close, but yet I get same behavior.
It's like there is a flushing issue, not sure.
On Mon, Mar 15, 2010 at 1:21 AM, Uwe Schindler wrote:
> I think yo
I think you forgot to commit your changes in IndexWriter or have not closed it
before creating Searcher/IndexReader. So on the second run, the index is seen,
because of the previous run, which was committed on jvm exit.
If you are using NearRealtimeSearch (IndexWriter#getIndexReader), please tel