RE: Performance of NULL check *:* -category:[* TO *]

2013-05-14 Thread srividhyau
Hi -We are using 3.0.3. Could you point me to a similar functionality prior to 4.0?-Vidhya -- View this message in context: http://lucene.472066.n3.nabble.com/Performance-of-NULL-check-category-TO-tp4063021p4063158.html Sent from the Lucene - Java Users mailing list archive at Nabble.com.

Performance of NULL check *:* -category:[* TO *]

2013-05-13 Thread srividhyau
All - We have a necessity to check for attributes with null values. There are 2 options that we narrowed down to 1. Either we index null values with 'NULL' string and then check against the string. This has a drawback as Lucene does not have the capability of setting any default value. and e

Default Value for All Indexed Fields

2013-05-13 Thread srividhyau
We are using Lucene 3.0.3. Is there a way to set a default value to all fields being indexed in Lucene? Say, i want to set the default value as "NULL", indexed=NOT_ANALYZED, stored=false. This default value will be used, when a particular document does not have a value set for any field. -