You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by srividhyau <sr...@hp.com> on 2013/05/13 19:43:47 UTC

Default Value for All Indexed Fields

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.

-Vidhya



--
View this message in context: http://lucene.472066.n3.nabble.com/Default-Value-for-All-Indexed-Fields-tp4063006.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org