You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2016/10/15 21:42:20 UTC

[jira] [Closed] (SOLR-6687) eDisMax query parser does not parse phrases with facet filtering enabled

     [ https://issues.apache.org/jira/browse/SOLR-6687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson closed SOLR-6687.
--------------------------------
    Resolution: Incomplete

The user never got back with any clarification, there's not enough information here to debug.

> 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