Or FieldValueFilter - that's probably easier to use.
> -Original Message-
> From: Michael McCandless [mailto:luc...@mikemccandless.com]
> Sent: Monday, November 04, 2013 4:37 AM
> To: Lucene Users
> Subject: Re: Lucene Empty Non-empty Fields
&
You can also use FieldCache.getDocsWithField?
Mike McCandless
http://blog.mikemccandless.com
On Mon, Nov 4, 2013 at 7:33 AM, manoj raj wrote:
> I did some experiments for finding empty fields, But i want to know whether
> there is any other better method. Have to reduce hard disk space.
>
>
>
I did some experiments for finding empty fields, But i want to know whether
there is any other better method. Have to reduce hard disk space.
Method 1: Add "NULL String" in empty fields
We can search with null string for empty column & non empty column
Observations:
- Index size will grow.