[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-726?pag...
]
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/HSE...].
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira