lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srividhyau <srividhya.umashan...@hp.com>
Subject Default Value for All Indexed Fields
Date Mon, 13 May 2013 17:44:31 GMT
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-tp4063007.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

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


Mime
View raw message