Re: edismax, pf2 and use of both AND and OR parameter

2017-08-25 Thread Atita Arora
Hi, I am in the middle of the similar use case as provided , we have three different fields on UI for searchany, searchall and searchexcept respectively for OR,AND and NOT query , I need to know how do I make them work along with Edismax. We can expect any/all of the fields to have free text. Any

Re: edismax, pf2 and use of both AND and OR parameter

2017-08-02 Thread Aman Tandon
Hi, Ideally it should but from the debug query it seems like it is not respecting Boolean clauses. Anyone else could help here? Is this the ideal behavior? On Jul 31, 2017 5:47 PM, "Niraj Aswani" wrote: > Hi Aman, > > Thank you very much your reply. > > Let me elaborate my question a bit more

Re: edismax, pf2 and use of both AND and OR parameter

2017-07-31 Thread Niraj Aswani
Hi Aman, Thank you very much your reply. Let me elaborate my question a bit more using your example in this case. AFAIK, what the pf2 parameter is doing to the query is adding the following phrase queries: (_text_:"system memory") (_text_:"memory oem") (_text_:"oem retail") There are three phr

Re: edismax, pf2 and use of both AND and OR parameter

2017-07-30 Thread Aman Tandon
Hi Niraj, Should I expect it to check the following bigram phrases? Yes it will check. ex- documents & query is given below http://localhost:8983/solr/myfile/select?wt=xml&fl=name&indent=on&q=*System AND Memory AND (OEM OR Retail)*&rows=50&wt=json&*qf=_text_&pf2=_text_* &debug=true&defType=edis

edismax, pf2 and use of both AND and OR parameter

2017-07-30 Thread Niraj Aswani
Hi, I am using solr 4.4 and bit confused about how does the edismax parser treat the pf2 parameter when both the AND and OR operators are used in the query with ps2=0 For example: pf2=title^100 q=HDMI AND Video AND (Wire OR Cable) Should I expect it to check the following bigram phrases? hdmi