You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Gimantha Bandara <gi...@wso2.com> on 2015/10/06 09:24:08 UTC

Equivalent API in Lucene 5.x.x for ResultMode.setResultMode and ResultMode.setDepth

Hi,

I want to get the top categories (all the categories) recursively in one
call. I know that in Lucene 4.x.x we can simply set the ResultMode to
PER_NODE_IN_TREE [1] and set the depth, so we can get the categories
recursively to the level we want in the tree. How do I achieve the same in
Lucene 5.2.1?

[1] http://shaierera.blogspot.com/2012/12/lucene-facets-under-hood.html
Thanks,

Re: Equivalent API in Lucene 5.x.x for ResultMode.setResultMode and ResultMode.setDepth

Posted by Gimantha Bandara <gi...@wso2.com>.
any help on this please?

On 10/6/15, Gimantha Bandara <gi...@wso2.com> wrote:
> Hi,
>
> I want to get the top categories (all the categories) recursively in one
> call. I know that in Lucene 4.x.x we can simply set the ResultMode to
> PER_NODE_IN_TREE [1] and set the depth, so we can get the categories
> recursively to the level we want in the tree. How do I achieve the same in
> Lucene 5.2.1?
>
> [1] http://shaierera.blogspot.com/2012/12/lucene-facets-under-hood.html
> Thanks,
>


-- 
Gimantha Bandara
Software Engineer
WSO2. Inc : http://wso2.com
Mobile : +94714961919

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