Quantcast
Channel: DataStax Support Forums » Recent Topics
Viewing all articles
Browse latest Browse all 387

jpayne97 on "Solr dynamic fields and also using CQL"

$
0
0

I have a schema defined in solr that has a few dynamic fields. We have the need to be able to get a list of keys, this is possible using solr, but it seems like it does the get of the data 1 at a time and is quite slow for 100 keys. So I am trying to do this one get of many using a cql like "select * from catalog where key in (,,,,);". But after the query executes, if I try to do a row.getString("dynamic_field_name_here"); it throws out an error. "my_dynamic_field_name is not a column defined in this metadata". So I printed out all the columns in the meta data expecting to at least see something, but none of the dynamic fields are listed there. How do I get that data out using cql? Its clearly listed under the explorer in opscenter as a column.


Viewing all articles
Browse latest Browse all 387

Trending Articles