Hi Shawn,
thank you very much!
I was thinking the debug "parsed query" was showing the "post parsing, pre
analysis" queries.
But actually it shows the post analysis.

Cheers


On 24 November 2015 at 17:49, Shawn Heisey <apa...@elyograg.org> wrote:

> On 11/24/2015 9:31 AM, Alessandro Benedetti wrote:
> > I was wondering how can I escape the '*' character to explicitly look for
> > it instead of using it as a wildcard.
>
> <snip>
>
> > *rawquerystring*": "a\\*b",
> > "*querystring*": "a\\*b",
> > "*parsedquery*": "BoostedQuery(boost(+((area:a area:b) |
> >  ((country:a country:b)^5.0) |
> > ((resort:a resort:b)^15.0) |
> >  ((region:a region:b)^10.0)),
> > sum(const(1),product(const(1),int(popularity)))))",
> >
> >
> > It seems *edismax* is converting the * to a space that causes a
> disjunction.
>
> It is not edismax that is changing the asterisk.  It is the query
> analysis on the fields named area, country, resort, and region.
> Escaping the character prevented the query parser from treating it as a
> wildcard, so it was passed on to the query analyzer, which likely
> includes a tokenizer or filter that splits tokens on punctuation.
>
> Thanks,
> Shawn
>
>


-- 
--------------------------

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