You have to do it yourself. ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de
> -----Original Message----- > From: srividhyau [mailto:srividhya.umashan...@hp.com] > Sent: Monday, May 13, 2013 7:45 PM > To: java-user@lucene.apache.org > Subject: 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-tp4063007.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org