lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5535) DrillDownQuery not working with AssociateFacetFields?
Date Mon, 17 Mar 2014 13:05:44 GMT

    [ 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


Mime
View raw message