You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Grant Ingersoll (JIRA)" <ji...@apache.org> on 2010/01/02 18:23:54 UTC

[jira] Commented: (SOLR-1692) CarrotClusteringEngine produce summary does nothing

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

Grant Ingersoll commented on SOLR-1692:
---------------------------------------

The relevant lines are:
{code}
String snippet = getValue(doc, snippetField);
if (produceSummary == true) {
        docsHolder[0] = id.intValue();
        DocList docAsList = new DocSlice(0, 1, docsHolder, scores, 1, 1.0f);
        highligher.doHighlighting(docAsList, theQuery, req, snippetFieldAry);
      }
{code}

It seems like we do the highlighting but then don't use the result.  If I recall, we should use the result to then set the snippet value.

> CarrotClusteringEngine produce summary does nothing
> ---------------------------------------------------
>
>                 Key: SOLR-1692
>                 URL: https://issues.apache.org/jira/browse/SOLR-1692
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - Clustering
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>             Fix For: 1.5
>
>
> In the CarrotClusteringEngine, the produceSummary option does nothing, as the results of doing the highlighting are just ignored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.