lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Senthil <psm...@gmail.com>
Subject Re: edismax query parser - pf field question
Date Fri, 12 Feb 2016 16:48:27 GMT
It does not work with comma as well. In fact, no DisjunctionMaxQuery is added
for any of pf fields if I add comma.

<str name="parsedquery">(+((DisjunctionMaxQuery((P_NAME:refriger^1.5 |
CategoryName:refrigerator)~1.0) DisjunctionMaxQuery((P_NAME:water^1.5 |
CategoryName:water)~1.0) DisjunctionMaxQuery((P_NAME:filter^1.5 |
CategoryName:filter)~1.0))~2) *()*)/no_coord</str>

If I change the defType to dismax instead of edismax, I see phrase queries
for both pf fields.

<str name="parsedquery">(+((DisjunctionMaxQuery((P_NAME:refriger^1.5 |
CategoryName:refrigerator)~1.0) DisjunctionMaxQuery((P_NAME:water^1.5 |
CategoryName:water)~1.0) DisjunctionMaxQuery((P_NAME:filter^1.5 |
CategoryName:filter)~1.0))~2) *DisjunctionMaxQuery((P_NAME:"refriger water
filter" | CategoryName:refrigerator water filter)~1.0)*)/no_coord</str>

Note: CategoryName is string field and P_NAME is text_en field.



--
View this message in context: http://lucene.472066.n3.nabble.com/edismax-query-parser-pf-field-question-tp4256845p4256987.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message