Chris Lu wrote:
Allahbaksh,
If you ONLY want to find all document with a particular field that is
not null, you can loop through the TermEnum and TermDocs to find all the
document ids.
But this can not easily be combined with other queries.
Surely this would be equivalent to a PrefixQuery w
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: u...@thetaphi.de
>
> > -Original Message-
> > From: shashi@gmail.com [mailto:shashi@gmail.com] On Behalf Of
> > Shashi Kant
> > Sent: Wednesday, March 04, 2009 7:31 PM
> >
://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: shashi@gmail.com [mailto:shashi@gmail.com] On Behalf Of
> Shashi Kant
> Sent: Wednesday, March 04, 2009 7:31 PM
> To: java-user@lucene.apache.org
> Subject: Re: Optimum way to find all document
A simple solution would be to store the string "NULL" instead of null and
then query.
On Wed, Mar 4, 2009 at 1:26 PM, Chris Lu wrote:
> Allahbaksh,
>
> If you ONLY want to find all document with a particular field that is not
> null, you can loop through the TermEnum and TermDocs to find all th
Well, you could construct a Filter as you were looping and use
the Filter with your queries
Erick
On Wed, Mar 4, 2009 at 1:26 PM, Chris Lu wrote:
> Allahbaksh,
>
> If you ONLY want to find all document with a particular field that is not
> null, you can loop through the TermEnum and TermD
Allahbaksh,
If you ONLY want to find all document with a particular field that is
not null, you can loop through the TermEnum and TermDocs to find all the
document ids.
But this can not easily be combined with other queries.
--
Chris Lu
-
Instant Scalable Full-Text
- Original Message -
From: "Ganesh"
To:
Sent: Wednesday, March 04, 2009 12:05 PM
Subject: Re: Optimum way to find all document without particular field
Allahbaksh,
I don't think, Lucene could filter out Null and Not null values.
In case if the field value is
h
- Original Message -
From: "Allahbaksh Mohammedali Asadullah"
To:
Sent: Wednesday, March 04, 2009 11:12 AM
Subject: Optimum way to find all document without particular field
Hi,
What is the optimum way in which I can find all the document which has
particular field in it.
Exa
.
- Original Message -
From: "Allahbaksh Mohammedali Asadullah"
To:
Sent: Wednesday, March 04, 2009 1:42 PM
Subject: Optimum way to find all document without particular field
Hi,
What is the optimum way in which I can find all the document which has
particular field in it.
Example
I wa
Hi,
What is the optimum way in which I can find all the document which has
particular field in it.
Example
I want to find all the document in which the field text is not null.
Regards,
Allahbaksh
Allahbaksh Mohammedali Asadullah,
Software Engineering & Technology Labs,
Infosys Technolgies Limit
10 matches
Mail list logo