Re: Exception while updating a lucene document

2015-04-26 Thread Gimantha Bandara
Hi Shenq, I had already set multivalued to true. The problem was with how I used facetsConfig object. I was building the doc for each facet field using updateDocument and each time I build the document, I was using a new FacetConfig object. On Sun, Apr 26, 2015 at 6:12 AM, Sheng wrote: > seems

Re: Exception while updating a lucene document

2015-04-25 Thread Sheng
seems like you forgot to do facetsConfig.setMultiValued(`field`, true) too . On Sat, Apr 25, 2015 at 7:37 AM, Gimantha Bandara wrote: > Hi, > > I was able to fix the problem.. the issue was with my wrong usage of > FacetConfig class. I was creating Document using facetConfig.build per each > fac

Re: Exception while updating a lucene document

2015-04-25 Thread Gimantha Bandara
Hi, I was able to fix the problem.. the issue was with my wrong usage of FacetConfig class. I was creating Document using facetConfig.build per each facet field with new FacetConfig object per each facetfield. Solution was to use one global FacetConfig per document add the facetfields to the docu