Yeah, this stuff is poorly documented, not very intuitive, and the terminology is poorly designed in the first place, so it's completely expected to easily get confused by it. Not even a mention of it in the Solr reference guide.
-- Jack Krupansky On Wed, Nov 25, 2015 at 4:39 AM, Alessandro Benedetti <abenede...@apache.org > wrote: > 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 >