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 "Pieter Berkel (JIRA)" <ji...@apache.org> on 2007/07/09 09:23:05 UTC

[jira] Created: (SOLR-292) MoreLikeThisHandler generates incorrect facet counts

MoreLikeThisHandler generates incorrect facet counts
----------------------------------------------------

                 Key: SOLR-292
                 URL: https://issues.apache.org/jira/browse/SOLR-292
             Project: Solr
          Issue Type: Bug
          Components: search
    Affects Versions: 1.3
            Reporter: Pieter Berkel
            Priority: Minor
             Fix For: 1.3


When obtaining facet counts using the MoreLikeThis handler, the facet information returned is generated from the document list returned rather than the entire set of matching documents.  For example, if your MoreLikeThis query returns by default 10 documents, then getFacetCounts() returns values based only on these 10 documents, despite the fact that there may be thousands of matching documents in the set.

The soon-to-be uploaded patch addresses this particular issue by changing the object type returned by MoreLikeThisHelper.getMoreLikeThis() from DocList to DocListAndSet and ensuring that the facet count is generated from the entire set rather than the document list.  The MLT functionality of the StandardRequestHandler should not be affected by this change.


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


[jira] Resolved: (SOLR-292) MoreLikeThisHandler generates incorrect facet counts

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

Ryan McKinley resolved SOLR-292.
--------------------------------

    Resolution: Fixed

fixed in 554667.  

Thanks Pieter!

> MoreLikeThisHandler generates incorrect facet counts
> ----------------------------------------------------
>
>                 Key: SOLR-292
>                 URL: https://issues.apache.org/jira/browse/SOLR-292
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Pieter Berkel
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: MoreLikeThis-FacetCount_SOLR-292.patch
>
>
> When obtaining facet counts using the MoreLikeThis handler, the facet information returned is generated from the document list returned rather than the entire set of matching documents.  For example, if your MoreLikeThis query returns by default 10 documents, then getFacetCounts() returns values based only on these 10 documents, despite the fact that there may be thousands of matching documents in the set.
> The soon-to-be uploaded patch addresses this particular issue by changing the object type returned by MoreLikeThisHelper.getMoreLikeThis() from DocList to DocListAndSet and ensuring that the facet count is generated from the entire set rather than the document list.  The MLT functionality of the StandardRequestHandler should not be affected by this change.

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


[jira] Assigned: (SOLR-292) MoreLikeThisHandler generates incorrect facet counts

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

Ryan McKinley reassigned SOLR-292:
----------------------------------

    Assignee: Ryan McKinley

> MoreLikeThisHandler generates incorrect facet counts
> ----------------------------------------------------
>
>                 Key: SOLR-292
>                 URL: https://issues.apache.org/jira/browse/SOLR-292
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Pieter Berkel
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: MoreLikeThis-FacetCount_SOLR-292.patch
>
>
> When obtaining facet counts using the MoreLikeThis handler, the facet information returned is generated from the document list returned rather than the entire set of matching documents.  For example, if your MoreLikeThis query returns by default 10 documents, then getFacetCounts() returns values based only on these 10 documents, despite the fact that there may be thousands of matching documents in the set.
> The soon-to-be uploaded patch addresses this particular issue by changing the object type returned by MoreLikeThisHelper.getMoreLikeThis() from DocList to DocListAndSet and ensuring that the facet count is generated from the entire set rather than the document list.  The MLT functionality of the StandardRequestHandler should not be affected by this change.

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


[jira] Updated: (SOLR-292) MoreLikeThisHandler generates incorrect facet counts

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

Pieter Berkel updated SOLR-292:
-------------------------------

    Attachment: MoreLikeThis-FacetCount_SOLR-292.patch

Patch updates "src/java/org/apache/solr/handler/MoreLikeThisHandler.java" and fixes the facet count problem.

> MoreLikeThisHandler generates incorrect facet counts
> ----------------------------------------------------
>
>                 Key: SOLR-292
>                 URL: https://issues.apache.org/jira/browse/SOLR-292
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Pieter Berkel
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: MoreLikeThis-FacetCount_SOLR-292.patch
>
>
> When obtaining facet counts using the MoreLikeThis handler, the facet information returned is generated from the document list returned rather than the entire set of matching documents.  For example, if your MoreLikeThis query returns by default 10 documents, then getFacetCounts() returns values based only on these 10 documents, despite the fact that there may be thousands of matching documents in the set.
> The soon-to-be uploaded patch addresses this particular issue by changing the object type returned by MoreLikeThisHelper.getMoreLikeThis() from DocList to DocListAndSet and ensuring that the facet count is generated from the entire set rather than the document list.  The MLT functionality of the StandardRequestHandler should not be affected by this change.

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