Re: Edismax skips first part of phrase when q contains explicit field and parenthesis

2021-05-11 Thread Thomas Karampelas
Thanks for the answer Alessandro. Well, I would expect it to extract the query text from the query (i.e. extracting it from the field definition) , take the word1 for word2 and add it add a phrase against the Title field. Essentially +( +( +(+Title:word1 +Title_en:word2))) (+

Re: Edismax skips first part of phrase when q contains explicit field and parenthesis

2021-05-11 Thread Alessandro Benedetti
> > query could be extended to something like Title:(word1 for word2) > OR Abstract:(word3) which I do not know how to express it via qf how would you like your pf to work with this? What is the final query you aim to? Probably in your case it would be better to fully go "custom" and write your q

Re: Edismax skips first part of phrase when q contains explicit field and parenthesis

2021-05-11 Thread Thomas Karampelas
Bumping this in case someone that has any idea missed it. On Wed, Mar 31, 2021 at 11:14 AM Thomas Karampelas wrote: > Hi, > > I run solr 8.4.1 and I issue the following query on edismax parser: > *defType=edismax&q=Title:(word1 for word2) &pf=Title&q.op=AND* > > The parsed query edismax comes ou

Edismax skips first part of phrase when q contains explicit field and parenthesis

2021-03-31 Thread Thomas Karampelas
Hi, I run solr 8.4.1 and I issue the following query on edismax parser: *defType=edismax&q=Title:(word1 for word2) &pf=Title&q.op=AND* The parsed query edismax comes out with is the following: +( +( +(+Title:word1 +Title_en:word2))) (+(Title:\"for word2\")) Firstly, I expected t