You should provide the full name of the dynamic field in the query like
q=s_myfield:foo, for example. Solr doesn't allow field prefix queries like
q=s_*:foo.

Edward


Em 27 de nov de 2018 12:08, "jay harkhani" <jay.harkh...@hotmail.com>
escreveu:

Hello All,


We are using dynamic fields in our collection. We want to use it in query
to fetch records. Can someone please advice on it?

i.e.: q=ABC_*:"myValue"

Here "ABC_*" is dynamic field. Currently when we tried if provide field
name as above it gives "org.apache.solr.search.SyntaxError". It only
returns data when provide actual field name.

Thank you for any help you can offer.

Regards,
Jay Harkhani.

Reply via email to