Re: Query regarding Dynamic Fields

2018-12-06 Thread Erick Erickson
. > > > 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. >

Re: Query regarding Dynamic Fields

2018-12-06 Thread jay harkhani
, *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

RE: Query regarding Dynamic Fields

2018-12-05 Thread Bruno Mannina
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

Query regarding Dynamic Fields

2018-12-05 Thread jay harkhani
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".

Re: Query regarding Dynamic Fields

2018-11-27 Thread Alexandre Rafalovitch
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

Re: Query regarding Dynamic Fields

2018-11-27 Thread Edward Ribeiro
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

Query regarding Dynamic Fields

2018-11-27 Thread jay harkhani
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".