lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lingaraju" <lingaraju.shambulinga...@infactindia.com>
Subject Re: updating the index created for database search
Date Tue, 27 Jul 2004 12:56:35 GMT
I tried but I am missing some thing
Please can you tell me the syntax how to use the TermQuery to check the
presence of document in index from key field say OID

----- Original Message ----- 
From: "Daniel Naber" <daniel.naber@t-online.de>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
Sent: Monday, July 26, 2004 5:21 PM
Subject: Re: updating the index created for database search


> On Monday 26 July 2004 13:31, lingaraju wrote:
>
> > If it is new record  through which class we have to check that record is
> > present in the index
>
> Just search for the id with a TermQuery. If you get a hit, the record is
in
> the index already.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
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