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

[jira] [Commented] (LUCENE-5535) DrillDownQuery not working with AssociateFacetFields?

    [ https://issues.apache.org/jira/browse/LUCENE-5535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13937767#comment-13937767 ] 

Shai Erera commented on LUCENE-5535:
------------------------------------

Have you looked at AssociationsFacetsExample under lucene/demo? It has a drilldown() example too. Also, I ran the example code you attached and it produced:

{noformat}
Sum associations example:
-------------------------
tags: dim=tags path=[] value=-1 childCount=2
  lucene (4)
  solr (2)

genre: dim=genre path=[] value=-1.0 childCount=2
  computing (1.62)
  software (0.34)

Count withouth associations:
-------------------------
tags: dim=tags path=[] value=-1 childCount=2
  lucene (2)
  solr (1)
{noformat}

Where is the problem?

> DrillDownQuery not working with AssociateFacetFields?
> -----------------------------------------------------
>
>                 Key: LUCENE-5535
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5535
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/facet
>            Reporter: Rob Audenaerde
>         Attachments: AssociationsFacetsWithDrilldownExample.java
>
>
> I'm trying to use the FloatAssociationFacetField to store a float with each facet. Retrieving, summing etc. works fine for MatchAllDocumentQuery(). When I try to drilldown on one of the facets, the result is always empty. 
> See attached example.  



--
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