Great. Now, we'll have to see if any enterprising committers will step up
and take a look.

-- Jack Krupansky

On Thu, Nov 5, 2015 at 4:46 AM, Mahmoud Almokadem <prog.mahm...@gmail.com>
wrote:

> Thanks Jack. I have reported it as a bug on JIRA
>
> https://issues.apache.org/jira/browse/SOLR-8237 <
> https://issues.apache.org/jira/browse/SOLR-8237>
>
> Mahmoud
>
> > On Nov 4, 2015, at 5:30 PM, Jack Krupansky <jack.krupan...@gmail.com>
> wrote:
> >
> > I think you should go ahead and file a Jira ticket for this as a bug
> since
> > either it is an actual bug or some behavior nuance that needs to be
> > documented better.
> >
> > -- Jack Krupansky
> >
> > On Wed, Nov 4, 2015 at 8:24 AM, Mahmoud Almokadem <
> prog.mahm...@gmail.com>
> > wrote:
> >
> >> I removed the q.op=“AND” and add the mm=2
> >> when searching for (public libraries) I got 19 with
> >> "parsedquery_toString": "+(((Title:public^200.0 | TotalField:public^0.1)
> >> (Title:libraries^200.0 | TotalField:libraries^0.1))~2)",
> >>
> >> and when adding + and searching for +(public libraries) I got 1189 with
> >> "parsedquery_toString": "+(+((Title:public^200.0 |
> TotalField:public^0.1)
> >> (Title:libraries^200.0 | TotalField:libraries^0.1)))",
> >>
> >>
> >> I think when adding + before parentheses I got all terms mandatory
> despite
> >> the value of mm=2 in the two cases.
> >>
> >> Mahmoud
> >>
> >>
> >>
> >>> On Nov 4, 2015, at 3:04 PM, Alessandro Benedetti <
> abenede...@apache.org>
> >> wrote:
> >>>
> >>> Here we go :
> >>>
> >>> <str name="qf">Title^200 TotalField^1</str>
> >>>
> >>> + Jack explanation and you have the parsed query explained !
> >>>
> >>> Cheers
> >>>
> >>> On 4 November 2015 at 12:56, Mahmoud Almokadem <prog.mahm...@gmail.com
> >
> >>> wrote:
> >>>
> >>>> Thank you Alessandro for your reply.
> >>>>
> >>>> Here is the request handler
> >>>>
> >>>>
> >>>> <requestHandler name="/select" class="solr.SearchHandler">
> >>>>
> >>>>    <lst name="defaults”>
> >>>>
> >>>>      <str name="echoParams">explicit</str>
> >>>>      <int name="rows">10</int>
> >>>>      <str name="df">TotalField</str>
> >>>>     <str name="q.op">AND</str>
> >>>>     <str name="defType">edismax</str>
> >>>>     <str name="qf">Title^200 TotalField^1</str>
> >>>>
> >>>>    </lst>
> >>>>
> >>>> </requestHandler>
> >>>>
> >>>>
> >>>> Mahmoud
> >>>>
> >>>>
> >>>>> On Nov 4, 2015, at 2:43 PM, Alessandro Benedetti <
> >> abenede...@apache.org>
> >>>> wrote:
> >>>>>
> >>>>> Hi Mahmoud,
> >>>>> can you send us the solrconfig.xml snippet of your request handler
> >>>> please ?
> >>>>>
> >>>>> It's kinda strange you get a boost factor for the Title field and
> that
> >>>>> parsing query, according to your config.
> >>>>>
> >>>>> Cheers
> >>>>>
> >>>>> On 4 November 2015 at 08:39, Mahmoud Almokadem <
> prog.mahm...@gmail.com
> >>>
> >>>>> wrote:
> >>>>>
> >>>>>> Hello,
> >>>>>>
> >>>>>> I'm using solr 4.8.1. Using edismax as the parser we got the
> >> undesirable
> >>>>>> parsed queries and results. The following is two different cases
> with
> >>>>>> strange behavior: Searching with these parameters
> >>>>>>
> >>>>>> "mm":"2",
> >>>>>> "df":"TotalField",
> >>>>>> "debug":"true",
> >>>>>> "indent":"true",
> >>>>>> "fl":"Title",
> >>>>>> "start":"0",
> >>>>>> "q.op":"AND",
> >>>>>> "fq":"",
> >>>>>> "rows":"10",
> >>>>>> "wt":"json"
> >>>>>> and the query is
> >>>>>>
> >>>>>> "q":"+(public libraries)",
> >>>>>> Retrieve 502 documents with these parsed query
> >>>>>>
> >>>>>> "rawquerystring":"+(public libraries)",
> >>>>>> "querystring":"+(public libraries)",
> >>>>>> "parsedquery":"(+(+(DisjunctionMaxQuery((Title:public^200.0 |
> >>>>>> TotalField:public^0.1)) DisjunctionMaxQuery((Title:libraries^200.0 |
> >>>>>> TotalField:libraries^0.1)))))/no_coord",
> >>>>>> "parsedquery_toString":"+(+((Title:public^200.0 |
> >> TotalField:public^0.1)
> >>>>>> (Title:libraries^200.0 | TotalField:libraries^0.1)))"
> >>>>>> and if the query is
> >>>>>>
> >>>>>> "q":" (public libraries) "
> >>>>>> then it retrieves 8 documents with these parsed query
> >>>>>>
> >>>>>> "rawquerystring":" (public libraries) ",
> >>>>>> "querystring":" (public libraries) ",
> >>>>>> "parsedquery":"(+((DisjunctionMaxQuery((Title:public^200.0 |
> >>>>>> TotalField:public^0.1)) DisjunctionMaxQuery((Title:libraries^200.0 |
> >>>>>> TotalField:libraries^0.1)))~2))/no_coord",
> >>>>>> "parsedquery_toString":"+(((Title:public^200.0 |
> >> TotalField:public^0.1)
> >>>>>> (Title:libraries^200.0 | TotalField:libraries^0.1))~2)"
> >>>>>> So the results of adding "+" to get all tokens before the
> parenthesis
> >>>>>> retrieve more results than removing it.
> >>>>>>
> >>>>>> Is this a bug on this version or there are something missing?
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> --------------------------
> >>>>>
> >>>>> Benedetti Alessandro
> >>>>> Visiting card : http://about.me/alessandro_benedetti
> >>>>>
> >>>>> "Tyger, tyger burning bright
> >>>>> In the forests of the night,
> >>>>> What immortal hand or eye
> >>>>> Could frame thy fearful symmetry?"
> >>>>>
> >>>>> William Blake - Songs of Experience -1794 England
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> --------------------------
> >>>
> >>> Benedetti Alessandro
> >>> Visiting card : http://about.me/alessandro_benedetti
> >>>
> >>> "Tyger, tyger burning bright
> >>> In the forests of the night,
> >>> What immortal hand or eye
> >>> Could frame thy fearful symmetry?"
> >>>
> >>> William Blake - Songs of Experience -1794 England
> >>
> >>
>
>

Reply via email to