You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Gang Luo (JIRA)" <ji...@apache.org> on 2011/06/28 10:00:18 UTC

[jira] [Created] (SOLR-2624) Highlight query condition improvement

Highlight query condition improvement
-------------------------------------

                 Key: SOLR-2624
                 URL: https://issues.apache.org/jira/browse/SOLR-2624
             Project: Solr
          Issue Type: New Feature
          Components: highlighter
    Affects Versions: 3.2
         Environment: Linux
            Reporter: Gang Luo
            Priority: Minor


some query condition such as faceted search condition may not need to be highlighted.
for example faceted by area field.
search using the query:

QueryWord AND area:areaName 

may not need areaName to be highlighted.

to solve the problem, may add a highlight parameter. for example : hl.q=QueryWord


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-2624) Highlight query condition improvement

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056450#comment-13056450 ] 

Koji Sekiguchi commented on SOLR-2624:
--------------------------------------

bq. some query condition such as faceted search condition may not need to be highlighted.

You should use fq parameter instead of AND condition for faceted search. Using AND condition affects ranking.

BTW, this issue is duplicate of SOLR-1926.

> Highlight query condition improvement
> -------------------------------------
>
>                 Key: SOLR-2624
>                 URL: https://issues.apache.org/jira/browse/SOLR-2624
>             Project: Solr
>          Issue Type: New Feature
>          Components: highlighter
>    Affects Versions: 3.2
>         Environment: Linux
>            Reporter: Gang Luo
>            Priority: Minor
>              Labels: suggestion
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> some query condition such as faceted search condition may not need to be highlighted.
> for example faceted by area field.
> search using the query:
> QueryWord AND area:areaName 
> may not need areaName to be highlighted.
> to solve the problem, may add a highlight parameter. for example : hl.q=QueryWord

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Closed] (SOLR-2624) Highlight query condition improvement

Posted by "Gang Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gang Luo closed SOLR-2624.
--------------------------

       Resolution: Fixed
    Fix Version/s: 1.2

use filter query

> Highlight query condition improvement
> -------------------------------------
>
>                 Key: SOLR-2624
>                 URL: https://issues.apache.org/jira/browse/SOLR-2624
>             Project: Solr
>          Issue Type: New Feature
>          Components: highlighter
>    Affects Versions: 3.2
>         Environment: Linux
>            Reporter: Gang Luo
>            Priority: Minor
>              Labels: suggestion
>             Fix For: 1.2
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> some query condition such as faceted search condition may not need to be highlighted.
> for example faceted by area field.
> search using the query:
> QueryWord AND area:areaName 
> may not need areaName to be highlighted.
> to solve the problem, may add a highlight parameter. for example : hl.q=QueryWord

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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