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
If you can, while in debug mode try to note the instance ID of the
FacetsConfig, and assert it is indeed the same (i.e. indexConfig ==
searchConfig).
Shai
On Sat, Jun 21, 2014 at 8:26 PM, Michael McCandless <
luc...@mikemccandless.com> wrote:
> Are you sure it's the same FacetsConfig at search
Are you sure it's the same FacetsConfig at search time? Because the
exception implies your CITY field didn't have
config.setIndexFieldName("CITY", "city") called.
Or, can you try commenting out 'config.setIndexFieldName("CITY",
"city")' at index time and see if the exception still happens?
Mike
Hi Ravikumar,
On Fri, Jun 20, 2014 at 12:14 PM, Ravikumar Govindarajan
wrote:
> If my "numDocsToCollect" = 50 and no.of. segments = 15, then
> collector.collect() will be called 750 times.
That is the worst-case indeed. However if some of your segments have
less than 50 matches, `collect` will o