lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From darul <daru...@gmail.com>
Subject SolrJ Annotation for multiValued field
Date Mon, 03 Oct 2011 16:12:18 GMT
Hello again,

Is it possible to persist simple list values in index using annotated bean ?

<field name="mymultivaluedfield" type="text" indexed="true" stored="true"
multiValued="true"/> 

And in my Pojo :

@Field("one")
String myString
.....
....

@Field("mymultivaluedfield")
List<String> items;

Actually, nothing happends, content of this collection "ArrayList<String>"
is not persisted into mymultivaluedfield field.

Is it the problem of nested field I have seen in many threads.

Any solutions to persist multivalue field with annotated bean ?

Thanks

--
View this message in context: http://lucene.472066.n3.nabble.com/SolrJ-Annotation-for-multiValued-field-tp3390255p3390255.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message