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

2015-10-09 Thread Gimantha Bandara
any help on this please? On 10/6/15, Gimantha Bandara 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 > recursiv

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

2015-10-06 Thread Gimantha Bandara
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