lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: Default Value for All Indexed Fields
Date Mon, 13 May 2013 18:18:21 GMT
You have to do it yourself.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: srividhyau [mailto:srividhya.umashanker@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org


---------------------------------------------------------------------
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