lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilad Barkai (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4461) Multiple FacetRequest with the same path creates inconsistent results
Date Tue, 09 Oct 2012 14:17:03 GMT


Gilad Barkai commented on LUCENE-4461:

The same category can be set as a filter and as a request without them colliding - a filter
is correlated or dependent on a facet request. 
facets filters are done at the query level which affects the result set, while the facetRequest
defines which categories to retrieve out of the result set.
I probably miss something here :)

> Multiple FacetRequest with the same path creates inconsistent results
> ---------------------------------------------------------------------
>                 Key: LUCENE-4461
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/facet
>    Affects Versions: 3.6
>            Reporter: Rodrigo Vega
>              Labels: facet, faceted-search
>         Attachments:
> Multiple FacetRequest are getting merged into one creating wrong results in this case:
> FacetSearchParams facetSearchParams = new FacetSearchParams();
> 		facetSearchParams.addFacetRequest(new CountFacetRequest(new CategoryPath("author"),
> 		facetSearchParams.addFacetRequest(new CountFacetRequest(new CategoryPath("author"),
> Problem can be fixed by defining hashcode and equals in certain way that Lucene recognize
we are talking about different requests.
> Attached test case.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message