lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alok Bhandari <alokomprakashbhand...@gmail.com>
Subject How to use DocValues with TextField
Date Tue, 05 Jan 2016 13:47:08 GMT
Hello ,

I have a field which is defined to be a textField with PatternTokenizer
which splits on ";". 
Now for one of the use case I need to use /export handler to export this
field. As /export handler needs field to support docValues , so if I try to
mark that field as docValues="true" it says that TextField does not support
docValues.
If I think of using String fields then that does not support adding
tokenizers.

I am thinking of adding copy-field which is a string , so I query on
original field but return a copy-field which is string which can be marked
as docValues="true". This looks like solving my issue , is any better
approach known.

Thanks



--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-use-DocValues-with-TextField-tp4248647.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message