[
https://issues.apache.org/jira/browse/SOLR-8466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mikhail Khludnev updated SOLR-8466:
-----------------------------------
Attachment: SOLR-8466-failure.txt
SOLR-8466.patch
Attaching [^SOLR-8466.patch] it never bypass empty processing.
remaining failure is
{{TestFaceting.testSimpleFacetCountsWithMultipleConfigurationsForSameField()}}
the failures is really weird. for
{code}
q=id:[42+TO+47]&facet.field={!key%3Dfoo+facet.prefix%3DToo+}trait_ss&facet.field={!key%3Dbar+facet.limit%3D2+facet.sort%3Dfalse+}trait_ss&facet.method=uif&fq=id:[42+TO+45]&facet=true&facet.zeros=false&wt=xml
{code}
result is
{code}
<result name="response" numFound="4" start="0"><doc><float
name="id">42.0</float><arr
name="trait_ss"><str>Tool</str><str>Obnoxious</str></arr><str
name="name_s">Zapp Brannigan</str><long
name="_version_">1525551790847688704</long></doc><doc><float
name="id">43.0</float><str name="title_s">Democratic Order of
Planets</str><long name="_version_">1525551790851883008</long></doc><doc><float
name="id">44.0</float><arr name="trait_ss"><str>Tool</str></arr><str
name="name_s">The Zapper</str><long
name="_version_">1525551790878097408</long></doc><doc><float
name="id">45.0</float><arr name="trait_ss"><str>Chauvinist</str></arr><str
name="title_s">25 star General</str><long
name="_version_">1525551790881243136</long></doc></result>
{code}
we definitely have {{Tool}} twice but facet has only once! why??
{code}
<lst name="facet_fields"><lst name="foo"><int name="Tool">1</int></lst><lst
name="bar"><int name="Chauvinist">1</int><int
name="Obnoxious">1</int></lst></lst>
{code}
reasonably fails the assert
{code}
//lst[@name='foo']/int[@name='Tool'][.='2']
{code}
h2. Summary
It seems like a minor bug somewhere. If anyone from committer give his vote for
it, I can extract these failures into ignored test, like it's done with
{{SimpleFacetsTest.testFacetContainsUif()}} in the patch, otherwise it seems
like *no-commit* for me.
> Add support for UnInvertedField based faceting to FacetComponent
> ----------------------------------------------------------------
>
> Key: SOLR-8466
> URL: https://issues.apache.org/jira/browse/SOLR-8466
> Project: Solr
> Issue Type: New Feature
> Components: Facet Module, faceting
> Affects Versions: 5.0, 5.1, 5.2, 5.2.1, 5.3, 5.3.1, 5.4
> Reporter: Jamie Johnson
> Assignee: Mikhail Khludnev
> Attachments: 8466.diff, SOLR-8466-failure.txt, SOLR-8466.patch,
> SOLR-8466.patch, SOLR-8466.patch, SOLR-8466.patch, SOLR-8466.patch
>
>
> The new JSON Faceting API supports building an UnInvertedField to do faceting
> which would be beneficial to add to Solr FacetComponent. This would provide
> additional options to implementors to choose the appropriate method of
> faceting for their particular use case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]