You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jose Peleteiro (JIRA)" <ji...@apache.org> on 2014/03/14 03:22:42 UTC

[jira] [Created] (LUCENE-5525) MultiFacets are not implemented and leads to miss behaviour

Jose Peleteiro created LUCENE-5525:
--------------------------------------

             Summary: MultiFacets are not implemented and leads to miss behaviour
                 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


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org