Re: A question about FacetField constructor, Solved

2014-07-14 Thread west suhanic
On Sun, Jun 22, 2014 at 1:15 PM, Shai Erera wrote: Can you post an example which demonstrates the problem? It's also > interesting how you count the facets, eg do you use a TaxonomyFacets object > or something else? > > Have you looked at the facet demo code? It contains examples for using > hier

Re: A question about FacetField constructor, Solved

2014-06-24 Thread west suhanic
On Sun, Jun 22, 2014 at 1:15 PM, Shai Erera wrote: Can you post an example which demonstrates the problem? It's also > interesting how you count the facets, eg do you use a TaxonomyFacets object > or something else? > > Have you looked at the facet demo code? It contains examples for using > hier

Re: A question about FacetField constructor

2014-06-22 Thread Shai Erera
Reply wasn't sent to the list. On Jun 22, 2014 8:15 PM, "Shai Erera" wrote: > Can you post an example which demonstrates the problem? It's also > interesting how you count the facets, eg do you use a TaxonomyFacets object > or something else? > > Have you looked at the facet demo code? It contain

Re: A question about FacetField constructor

2014-06-22 Thread west suhanic
Hello: >What do you mean by does not index anything? When I do a search the value returned for the "dim" set to "Publish Date" is null. If I pass through value[0] the publish date year is returned by the search. setHierarchical was called. When a String[] with more than one element is passed an

Re: A question about FacetField constructor

2014-06-22 Thread Shai Erera
What do you mean by does not index anything? Do you get an exception when you add a String[] with more than one element? You should probably call conf.setHierarchical(dimension), but if you don't do that you should receive an IllegalArgumentException telling you to do that... Shai On Sun, Jun 2

A question about FacetField constructor

2014-06-21 Thread west suhanic
Hello All: I am building sample code using lucene v4.8.1 to explore the new facet API. The problem I am having is that if I pass a populated string array nothing gets indexed while if I pass only the first element of the string array that value gets indexed. The code found below shows the case tha