[
https://issues.apache.org/jira/browse/LUCENE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jose Peleteiro updated LUCENE-5525:
-----------------------------------
Description:
DrillSideways.DrillSidewaysResult uses Facets when the query does not filter by
a facet, but it uses MultiFacets when it does, and MultiFacets implementation
is not complete.
See:
https://github.com/apache/lucene-solr/blob/0b0bc89932622f5bc2c4d74f978178b9ae15c700/lucene/facet/src/java/org/apache/lucene/facet/MultiFacets.java#L67
See http://pastebin.com/5eDbTM2v
This code works when DrillDownQuery.add is not called (when there is no facets
selected), but it fails with an UnsupportedOperationException.
Perhaps I'm not using Facets correctly, but I'm trying to figure it out to
upgrade from 4.61. by my self as I could not find a documentation other than
javadocs for facets.
was:
DrillSideways.DrillSidewaysResult uses Facets when the query does not filter by
a facet, but it uses MultiFacets when it does, and MultiFacets implementation
is not complete.
See:
https://github.com/apache/lucene-solr/blob/0b0bc89932622f5bc2c4d74f978178b9ae15c700/lucene/facet/src/java/org/apache/lucene/facet/MultiFacets.java#L67
See http://pastebin.com/5eDbTM2v
This code works when not DrillDownQuery.add is not called (when there is no
facets selected), but it fails with an UnsupportedOperationException.
Perhaps I'm not using Facets correctly, but I'm trying to figure it out to
upgrade from 4.61. by my self as I could not find a documentation other than
javadocs for facets.
> Implement MultiFacets.getAllDims
> --------------------------------
>
> Key: LUCENE-5525
> URL: https://issues.apache.org/jira/browse/LUCENE-5525
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/search
> Affects Versions: 4.7
> Reporter: Jose Peleteiro
> Assignee: Michael McCandless
>
> DrillSideways.DrillSidewaysResult uses Facets when the query does not filter
> by a facet, but it uses MultiFacets when it does, and MultiFacets
> implementation is not complete.
> See:
> https://github.com/apache/lucene-solr/blob/0b0bc89932622f5bc2c4d74f978178b9ae15c700/lucene/facet/src/java/org/apache/lucene/facet/MultiFacets.java#L67
> See http://pastebin.com/5eDbTM2v
> This code works when DrillDownQuery.add is not called (when there is no
> facets selected), but it fails with an UnsupportedOperationException.
> Perhaps I'm not using Facets correctly, but I'm trying to figure it out to
> upgrade from 4.61. by my self as I could not find a documentation other than
> javadocs for facets.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]