>Chain lChain = (Chain)pValue;
>>lField = new Field(pName,lChain.getName(),pStore, pIndex);
>>pDocument.add(lField);
>>}
>>}
>>
>> so here, where chain object is null I am saving the value to be
>> "
"nullnull".
The query I would use to retrieve what is null looks like
"chainName:nulllnull".
This solve everything I was looking for.
Thanks,
-Amar
-- Forwarded message --
From:
Date: Wed, Dec 24, 2008 at 11:33 AM
Subject: Re: Lucene search problem
To: java-use
> > Thanks in advance.
> > -Amar
> >
> > On Tue, Dec 23, 2008 at 12:04 AM, Aaron Schon
> > wrote:
> >
> > > I would second Erick's recommendation - create an arbitrary
> > representation
> > > for NULL such as "NULL" (if you
AUTOMATIC REPLY
LUX is closed until 5th January 2009
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
AUTOMATIC REPLY
LUX is closed until 5th January 2009
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
Dec 23, 2008 at 12:04 AM, Aaron Schon
> > wrote:
> >
> > > I would second Erick's recommendation - create an arbitrary
> > representation
> > > for NULL such as "NULL" (if you are certain the term "NULL" does not
> > occur
> > > in actual
ur
> > in actual docs. Alternatively, use "NULLNULNULLNULL" or something to that
> > effect.
> >
> >
> >
> > - Original Message
> > From: Erick Erickson
> > To: java-user@lucene.apache.org
> > Sent: Monday, December 22, 2008 8:58:21
e
> From: Erick Erickson
> To: java-user@lucene.apache.org
> Sent: Monday, December 22, 2008 8:58:21 AM
> Subject: Re: Lucene search problem
>
> Try searching the mailing list archives for a fuller discussion, but
> the short answer is usually to index an unique value for you
From: Erick Erickson
To: java-user@lucene.apache.org
Sent: Monday, December 22, 2008 8:58:21 AM
Subject: Re: Lucene search problem
Try searching the mailing list archives for a fuller discussion, but
the short answer is usually to index an unique value for your
"null" entries, then
Try searching the mailing list archives for a fuller discussion, but
the short answer is usually to index an unique value for your
"null" entries, then search on that, something totally
outrageous like, say AAABBBCCCDDDEEEFFF.
Alternatively, you could create, at startup time, a
Filter of all the d
Hi,
I have problem with lucene search, I am quite new to this. Can some body
help or just push me to who can please.
Problem what I am facing we need search for object whose attribute "chain"
contaning null, but lucene does not help indexing the null values..
how can I achieve this, or please gu
11 matches
Mail list logo