Re: How to query against dynamic fields without listing them all?

2019-07-14 Thread Alexandre Rafalovitch
The other options is to use query field alias: https://lucene.apache.org/solr/guide/8_1/the-extended-dismax-query-parser.html#field-aliasing-using-per-field-qf-overrides (example: https://github.com/arafalov/solr-indexing-book/blob/master/published/languages/conf/solrconfig.xml#L20 ). This still

Re: How to query against dynamic fields without listing them all?

2019-07-14 Thread Steven White
Thanks David. Yes, I see that would work, but wouldn't that increase my index size? It would be best if Solr supported dynamic field in "qf". Steven. On Sun, Jul 14, 2019 at 11:02 AM David Santamauro < david.santama...@gmail.com> wrote: > Hi Steven, > > You can dump all the dynamic fields

Re: How to query against dynamic fields without listing them all?

2019-07-14 Thread David Santamauro
Hi Steven, You can dump all the dynamic fields into a copyField Then you can just set "qf":"CC_COMP_NAME_ALL" On 7/14/19, 10:42 AM, "Steven White" wrote: Hi everyone, In my schema, I have the following field: When I index, I create dynamic

How to query against dynamic fields without listing them all?

2019-07-14 Thread Steven White
Hi everyone, In my schema, I have the following field: When I index, I create dynamic fields and index into it like so: doc.addField("CC_COMP_NAME_" + componentName.toUpperCase(), ccAllFieldsDataValue); In my query handler, I have this: {"requestHandler":{"/select_hcl":{