Re: How to load all document fields, together with facet fields?

2017-09-01 Thread Vjeran Marcinko
Hmmm, dunno what you mean... I currently store my simple document like this: doc.add(new StringField("name", name, Field.Store.YES)); doc.add(new TextField("category", category, Field.Store.YES)); doc.add(new SortedSetDocValuesFacetField("category", category)); Document finalDoc = facetConfig.buil

Re: How to load all document fields, together with facet fields?

2017-09-01 Thread Michael McCandless
You should separately add those fields to your document, using StoredField, if you want to retrieve their values at search time. Mike McCandless http://blog.mikemccandless.com On Thu, Aug 31, 2017 at 1:29 PM, Vjeran Marcinko wrote: > I zeroed in the problem with my updating documents having fa

Re: ArrayIndexOutOfBoundsException: -65536 during full-import from old index

2017-09-01 Thread Michael McCandless
Is it possible that exception is thrown when trying to index an extremely large document? Mike McCandless http://blog.mikemccandless.com On Fri, Sep 1, 2017 at 12:07 AM, bebe1437 wrote: > My solr version is 5.5.4, > I set docValues="true" to some old fields, > and I use dataimport to reindex,