You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jean-Claude Dauphin <jc...@gmail.com> on 2011/11/18 12:33:22 UTC
Only a subset of edismax pf fields are used for the phrase part DisjunctionMaxQuery
Hello,
The parsedQuery is displayed as follow:
parsedquery=+(DisjunctionMaxQuery((title:responsable^4.0 |
keywords:responsable^3.0 | organizationName:responsable |
location:responsable | formattedDescription:responsable^2.0 |
nafCodeText:responsable^2.0 | jobCodeText:responsable^3.0 |
categoryPayloads:responsable | labelLocation:responsable)~0.1)
DisjunctionMaxQuery((title:boutique^4.0 | keywords:boutique^3.0 |
organizationName:boutique | location:boutique |
formattedDescription:boutique^2.0 | nafCodeText:boutique^2.0 |
jobCodeText:boutique^3.0 | categoryPayloads:boutique |
labelLocation:boutique)~0.1) DisjunctionMaxQuery((title:lingerie^4.0 |
keywords:lingerie^3.0 | organizationName:lingerie | location:lingerie |
formattedDescription:lingerie^2.0 | nafCodeText:lingerie^2.0 |
jobCodeText:lingerie^3.0 | categoryPayloads:lingerie |
labelLocation:lingerie)~0.1))
*DisjunctionMaxQuery*((title:"responsable boutique lingerie"~10^4.0 |
formattedDescription:"responsable boutique lingerie"~10^2.0 |
categoryPayloads:"responsable boutique lingerie"~10)~0.1)
The search query is 'responsable boutique lingerie'
The qf and pf fields are the same:
qf= title^4.0 formattedDescription^2.0 nafCodeText^2.0 jobCodeText^3.0
organizationName^1.0 keywords^3.0 location^1.0 labelLocation^1.0
categoryPayloads^1.0,
pf= title^4.0 formattedDescription^2.0 nafCodeText^2.0 jobCodeText^3.0
organizationName^1.0 keywords^3.0 location^1.0 labelLocation^1.0
categoryPayloads^1.0,
I would have expect to retrieve the whole set of pf fields for the phrase
part of the parsed query!
Is it comming from the field definition in the schema.xml?
Best,
Jean-Claude Dauphin
--
Jean-Claude Dauphin
jc.dauphin@gmail.com
jc.dauphin@afus.unesco.org
http://kenai.com/projects/j-isis/
http://www.unesco.org/isis/
http://www.unesco.org/idams/
http://www.greenstone.org
Re: Only a subset of edismax pf fields are used for the phrase part DisjunctionMaxQuery
Posted by Erick Erickson <er...@gmail.com>.
Could we see the schema definitions for the fields in question? And
the solrconfig for the handler, and the query you actually send?
Best
Erick
On Fri, Nov 18, 2011 at 6:33 AM, Jean-Claude Dauphin
<jc...@gmail.com> wrote:
> Hello,
>
> The parsedQuery is displayed as follow:
>
> parsedquery=+(DisjunctionMaxQuery((title:responsable^4.0 |
> keywords:responsable^3.0 | organizationName:responsable |
> location:responsable | formattedDescription:responsable^2.0 |
> nafCodeText:responsable^2.0 | jobCodeText:responsable^3.0 |
> categoryPayloads:responsable | labelLocation:responsable)~0.1)
> DisjunctionMaxQuery((title:boutique^4.0 | keywords:boutique^3.0 |
> organizationName:boutique | location:boutique |
> formattedDescription:boutique^2.0 | nafCodeText:boutique^2.0 |
> jobCodeText:boutique^3.0 | categoryPayloads:boutique |
> labelLocation:boutique)~0.1) DisjunctionMaxQuery((title:lingerie^4.0 |
> keywords:lingerie^3.0 | organizationName:lingerie | location:lingerie |
> formattedDescription:lingerie^2.0 | nafCodeText:lingerie^2.0 |
> jobCodeText:lingerie^3.0 | categoryPayloads:lingerie |
> labelLocation:lingerie)~0.1))
>
> *DisjunctionMaxQuery*((title:"responsable boutique lingerie"~10^4.0 |
> formattedDescription:"responsable boutique lingerie"~10^2.0 |
> categoryPayloads:"responsable boutique lingerie"~10)~0.1)
>
> The search query is 'responsable boutique lingerie'
> The qf and pf fields are the same:
>
> qf= title^4.0 formattedDescription^2.0 nafCodeText^2.0 jobCodeText^3.0
> organizationName^1.0 keywords^3.0 location^1.0 labelLocation^1.0
> categoryPayloads^1.0,
>
> pf= title^4.0 formattedDescription^2.0 nafCodeText^2.0 jobCodeText^3.0
> organizationName^1.0 keywords^3.0 location^1.0 labelLocation^1.0
> categoryPayloads^1.0,
>
> I would have expect to retrieve the whole set of pf fields for the phrase
> part of the parsed query!
>
> Is it comming from the field definition in the schema.xml?
>
> Best,
>
> Jean-Claude Dauphin
>
>
>
> --
> Jean-Claude Dauphin
>
> jc.dauphin@gmail.com
> jc.dauphin@afus.unesco.org
>
> http://kenai.com/projects/j-isis/
> http://www.unesco.org/isis/
> http://www.unesco.org/idams/
> http://www.greenstone.org
>