Re: How to resuse FacetField in lucene

2017-01-17 Thread Michael McCandless
Can you open an issue and post a test case showing how you tried to re-use? E.g. you should be able to change the String[] path on the FacetField instance, re-build the document with FacetsConfig.build, and it should have worked, I believe. Mike McCandless http://blog.mikemccandless.com On Tue

How to resuse FacetField in lucene

2017-01-16 Thread Chellasamy G
Hi, I am trying to reuse Field and Document classes in lucene for fast indexing. I have used faceting in my application. So when trying to reuse FacetField by calling setStringValue() function, it is throwing NullPointerException. Please let me know how to reuse FacetField. Thanks