Hi guys,
I was wondering how can I escape the '*' character to explicitly look for
it instead of using it as a wildcard.

I was trying escaping :

*Edismax*

*q*= a\*b

which resulted in :

*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.

*Dismax* is behaving exactly the same.


*rawquerystring"*: "a\\*b",
"*querystring*": "a\\*b",
"*parsedquery*": "(+DisjunctionMaxQuery(((area:a area:b) | ((country:a
country:b)^5.0) | ((*resort:a* resort:b)^15.0) | ((region:a
region:b)^10.0))) ())/no_coord",
"parsedquery_toString": "+((area:a area:b) | ((country:a country:b)^5.0) |
((resort:a resort:b)^15.0) | ((region:a region:b)^10.0)) ()",

I think i am missing something really simple ...

Cheers
-- 
--------------------------

Benedetti Alessandro
Visiting card - http://about.me/alessandro_benedetti
Blog - http://alexbenedetti.blogspot.co.uk

"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