Re: Difference between CategoryPath and Plain FacetFields with hierarchy

2015-03-06 Thread Michael McCandless
On Fri, Mar 6, 2015 at 2:04 AM, Gimantha Bandara wrote: > I am going to use FacetFields/FacetsConfig. So using FacetFields we can > define a hierarchy like below. > > doc.add(new FacetField("Publish Date", "2012", "1", "7")) > > Is it possible to use FacetFields like this, as we could do with > C

Re: Difference between CategoryPath and Plain FacetFields with hierarchy

2015-03-05 Thread Gimantha Bandara
Thanks Michael, I am going to use FacetFields/FacetsConfig. So using FacetFields we can define a hierarchy like below. doc.add(new FacetField("Publish Date", "2012", "1", "7")) Is it possible to use FacetFields like this, as we could do with CategoryPath? doc.add(new FacetField("Publish Date",

Re: Difference between CategoryPath and Plain FacetFields with hierarchy

2015-03-05 Thread Michael McCandless
The facets API changed in 5.0, from CategoryPath/FacetSearchParams to FacetFields/FacetsConfig. Mike McCandless http://blog.mikemccandless.com On Thu, Mar 5, 2015 at 2:13 AM, Gimantha Bandara wrote: > Hi, > > Any help on this? Or Can someone point me to Faceted User guide of 4.10.3. > I cannot

Re: Difference between CategoryPath and Plain FacetFields with hierarchy

2015-03-04 Thread Gimantha Bandara
Hi, Any help on this? Or Can someone point me to Faceted User guide of 4.10.3. I cannot find it. Is it only available for Older version? On Wed, Mar 4, 2015 at 2:38 PM, Gimantha Bandara wrote: > Hi, > > I am new to Lucene faceting and taxonomy. I saw few examples in some blogs > and in facets g

Difference between CategoryPath and Plain FacetFields with hierarchy

2015-03-04 Thread Gimantha Bandara
Hi, I am new to Lucene faceting and taxonomy. I saw few examples in some blogs and in facets guide. Some have used CategoryPath with TaxonomyWriters, TaxonomyReaders and FacetSearchParams. Some have used FacetFields without using taxonomyWriters and TaxonomyReaders. What is the difference between