lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Mitiaguin" <mitiag...@gmail.com>
Subject Reading field parameters from XML
Date Thu, 03 Jan 2008 05:33:24 GMT
I want to keep index parameters in XML.
e.g.
        <Field name="description" store="NO" index="TOKENIZED"
termvector="WITH_OFFSETS" >

May I avoid switch/case  , if/else in my code
and assign somehow Field.Store, Field.Index  and etc...  based on string value.

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