.
>
>
> From: Bruno Mannina
> Sent: Wednesday, December 5, 2018 6:20 PM
> To: solr-user@lucene.apache.org
> Subject: RE: Query regarding Dynamic Fields
>
> Hi Jay,
>
> In my case, I created a CopyField for this case.
>
> i.e.
>
, *Complete_Date, *User_Name.
Similar We need to use field name to make search query.
Regards,
Jay Harkhani.
From: Bruno Mannina
Sent: Wednesday, December 5, 2018 6:20 PM
To: solr-user@lucene.apache.org
Subject: RE: Query regarding Dynamic Fields
Hi Jay,
In my
Hi Jay,
In my case, I created a CopyField for this case.
i.e.
And of course define ABC before
-Message d'origine-
De : jay harkhani [mailto:jay.harkh...@hotmail.com]
Envoyé : mercredi 5 décembre 2018 13:29
À : solr-user@lucene.apache.org
Objet : Query regarding Dynamic F
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".
However, to add to Edward's message, you can with eDismax create
synthetic field names that expand to multiple fields under the covers,
using per-field 'qf' parameter.
See:
https://lucene.apache.org/solr/guide/7_5/the-extended-dismax-query-parser.html#field-aliasing-using-per-field-qf-overrides
A
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"
escreveu:
Hello All,
We are using dynamic fields in our collection. We want to use i
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".