You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Mark Robinson (JIRA)" <ji...@apache.org> on 2016/05/03 04:53:13 UTC

[jira] [Created] (KYLIN-1644) edismax and the "pf" request parameter

Mark Robinson created KYLIN-1644:
------------------------------------

             Summary: edismax and the "pf" request parameter
                 Key: KYLIN-1644
                 URL: https://issues.apache.org/jira/browse/KYLIN-1644
             Project: Kylin
          Issue Type: Improvement
            Reporter: Mark Robinson


edismax when used as a "field-ed query" seems to be neglecting the first term when "pf" is being considered.

q=productType:(two piece bathtub white) &defType=edismax&pf=productType^20.0&qf=productType^15.0

In the debug section this is what I see:-
<str name="parsedquery">
(+(productType:two productType:piec productType:bathtub productType:white) DisjunctionMaxQuery((productType:"piec bathtub white"^20.0)))/no_coord
</str>

My query is related to the "pf" (phrases) section of edismax.
As shown in the debug section why is the phrase taken as "piec bathtub white". Why is the first word "two" not considered in the phrase fields section. 

Thanks!
Mark (Anil).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)