Re: CQL collections and Solr dynamic fields

2015-06-22 Thread Sebastian Estevez
Jack thanks for your reply. I apologize for the confusion caused by my previous statement. I was thinking just of maps when I replied. Correction - *Lists and Sets are indexed as multivalued fields in DSE Search and Maps are stored as dynamic fields in DSE Search. * Both are indexed automaticall

Re: CQL collections and Solr dynamic fields

2015-06-22 Thread Jack Krupansky
Please do get that clarified - the doc currently says that lists and sets are implemented as multvalued fields, which contradicts your statement. Yes, map collections are implemented as dynamic fields, but list and set collections are somewhat different - or at least the doc says that they are: "*C

Re: CQL collections and Solr dynamic fields

2015-06-22 Thread Sebastian Estevez
Quick clarification, collections are implemented as dynamic fields in DSE (not multivalued fields). Fields that are both dynamic and multivalued are not supported, therefore, you cannot use multivalued fields for collections. All the best, [image: datastax_logo.png]

Re: CQL collections and Solr dynamic fields

2015-06-22 Thread Jack Krupansky
Well, the doc does state that limitation - "*In CQL-based Solr cores, the Solr schema fields that are dynamic and multivalued are not supported*" - but DataStax will have to clarify whether that is still true and true for lists and sets. See: http://docs.datastax.com/en/datastax_enterprise/4.7//da

Re: CQL collections and Solr dynamic fields

2015-06-22 Thread Moshe Kranc
Lists and sets are implemented as multivalue fields, and dse solr does not support dynamic multivalue fields. Therefore, I conclude that dse solr does not support dynamic field search for sets and lists, I. E. I will have to modify the solr schema and re-index each time I add a new CQL llist or set

Re: CQL collections and Solr dynamic fields

2015-06-22 Thread Jack Krupansky
List and set collections are mapped to multivalued Solr fields - a Solr query will match on any of the values in a multivalued Solr field (or keywords within those multiple values for Solr tokenized text fields.) See: http://docs.datastax.com/en/datastax_enterprise/4.7//datastax_enterprise/srch/sr

CQL collections and Solr dynamic fields

2015-06-22 Thread Moshe Kranc
In the DSE 4.7 advanced tutorial, there is an example of using a CQL map together with Solr dynamic fields, so that every map entry is automatically indexed by Solr. Does this work for the other CQL collections, namely lists and sets? Can I define CQL lists and sets to use Solr dynamic fields, so