Re: Facet count incorrect

2019-05-23 Thread Erick Erickson
You’ll have subtle, or not so subtle problems. String types are a single token, so a document with “my dog has fleas” will not be returned when searching for any of those 4 words. My definition there’s no position information in stored with the string type, so no phrases will work against docs i

Re: Facet count incorrect

2019-05-23 Thread John Davis
Reindexing to alias is not always easy if it requires 2x resources. Just to be clear the issues you mentioned are mostly around faceting because we haven't seen any other search/retrieval issues. Or is that not accurate? On Wed, May 22, 2019 at 5:12 PM Erick Erickson wrote: > 1> I strongly recom

Re: Facet count incorrect

2019-05-22 Thread Erick Erickson
1> I strongly recommend you re-index into a new collection and switch to it with a collection alias rather than try to re-index all the docs. Segment merging with the same field with dissimilar definitions is not guaranteed to do the right thing. 2> No. There a few (very few) things that don’t

Facet count incorrect

2019-05-22 Thread John Davis
Hi there - Our facet counts are incorrect for a particular field and I suspect it is because we changed the type of the field from StrField to TextField. Two questions: 1. If we do re-index all the documents in the index, would these counts get fixed? 2. Is there a "safe" way of changing field typ