[hibernate-issues] [Hibernate-JIRA] Issue Comment Edited: (HSEARCH-726) Facetted search on embedded collections takes only first element from collection
Elmer van Chastelet (JIRA)
noreply at atlassian.com
Mon Jun 20 05:31:53 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42667#action_42667 ]
Elmer van Chastelet edited comment on HSEARCH-726 at 6/20/11 4:29 AM:
----------------------------------------------------------------------
-There is probably more related to this bug. When asking for top N facets and top 2N facets, the first N elements in de top 2N are different from the top N facets. See [here|https://forum.hibernate.org/viewtopic.php?p=2445893#p2445893].-
edit: This is already reported in [HSEARCH-776|http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-776].
was (Author: elmer):
There is probably more related to this bug. When asking for top N facets and top 2N facets, the first N elements in de top 2N are different from the top N facets. See [here|https://forum.hibernate.org/viewtopic.php?p=2445893#p2445893].
> Facetted search on embedded collections takes only first element from collection
> --------------------------------------------------------------------------------
>
> Key: HSEARCH-726
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-726
> Project: Hibernate Search
> Issue Type: Bug
> Components: query
> Affects Versions: 3.4.0.Alpha1, 3.4.0.Beta1, 3.4.0.CR1, 3.4.0.CR2
> Environment: Any valid config I suppose, tested using Hibernate Core 3.6.3 + Search 3.4.0.CR2, mysql and in Hibernate Search test environment
> Reporter: Elmer van Chastelet
> Attachments: EmbeddedCollectionsFacetsTest.zip, HSEARCH-726.zip
>
>
> From [Hibernate Search Forum: Bug or not? Faceted search + embedded fields (*tomany)|https://forum.hibernate.org/viewtopic.php?f=9&t=1010472&start=0].
> Faceted search won't work correctly when used on collections. For the cause I quote Hardy Ferentschik : ??The current faceting implementation utilizes the Lucene FieldCache which has a limitation that each document must have a single value for the specified field.??
> I can think of many use cases in which faceted search on collections is really needed, some examples:
> Facetting on authors when searching for publications
> Facetting on ingredients when searching for recipes
> Facetting on actors when searching for movies
> ...
> Attached is a hibernate search test case. It fails on retrieving the right amount of matched authors.
> Currently I don't have the needed insight to suggest an improvement on current implementation to make it compatible with collections. Hopefully it can be achieved with small changes. Good luck :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list