lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-6687) eDisMax query parser does not parse phrases with facet filtering enabled
Date Fri, 31 Oct 2014 22:27:34 GMT

    [ https://issues.apache.org/jira/browse/SOLR-6687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14192627#comment-14192627
] 

Erick Erickson commented on SOLR-6687:
--------------------------------------

First, please raise issues like this on the user's list first, especially when it may be a
usage question or pilot error. It gets more eyes and you may well get a much faster response.

When you do post over there, what assurance do you have that boosting "doesn't work"? Have
you tried using &debug=all and examining the scores in the two cases?


> eDisMax query parser does not parse phrases with facet filtering enabled
> ------------------------------------------------------------------------
>
>                 Key: SOLR-6687
>                 URL: https://issues.apache.org/jira/browse/SOLR-6687
>             Project: Solr
>          Issue Type: Bug
>          Components: query parsers, SolrJ
>    Affects Versions: 4.10
>         Environment: SolrJ Library, Eclipse IDE
>            Reporter: Tim H
>
> I am writing a search bar application with Solr which I'd like to have the following
two features:
> phrase matching for user queries - results which match user phrase are boosted.
> Field faceting based on 'tags' field.  
> When I execute this query:
> q=steve jobs&
> fq=storeid:527bd613e4b0564cc755460a&
> sort=score desc&
> start=50&
> rows=2&
> fl=*,score&
> qt=/query&
> defType=edismax&
> pf=concept_name^15 note_text^5 file_text^2.5&
> pf3=1&
> pf2=1&
> ps=1&
> group=true&
> group.field=conceptid&
> group.limit=10&
> group.ngroups=true
> The phrase boosting feature operates correctly and boosts results which closer match
the phrase query "Steve Jobs"
> However, when I execute the query after the user has selected a facet field (The facet
fields are bought up from a seperate query) and execute the following query:
> q=steve jobs&
> fq=storeid:527bd613e4b0564cc755460a&
> fq=tag:Person&
> sort=score desc&
> start=0&
> rows=50&
> fl=*,score&
> qt=/query&
> defType=edismax&
> pf=concept_name^15 note_text^5 file_text^2.5&
> pf3=1&
> pf2=1&
> ps=1&
> group=true&
> group.field=conceptid&
> group.limit=10&
> group.ngroups=true
> The phrase boosting does not work, even though the facet filtering does.  
> I'm not sure if this is a bug, but if it is not can someone point me to the relevant
documentation that will help me fix this issue?  All queries were written using the SolrJ
Library.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message