On Thu, Nov 21, 2019 at 8:04 AM Jason Gerlowski <gerlowsk...@gmail.com> wrote:
> Are these fields "string" or "text" fields? > > Text fields receive analysis that splits them into a series of terms. > That's why the query "Freeman" matches the document "A-1 Freeman". > "A-1 Freeman" gets split up into multiple terms, and the "Freeman" > query matches one of those terms. Text fields are what you use when > you want matches to have some wiggle room based on your analyzers. > > String fields are much more geared towards exact matches. No analysis > is done, so a query for "Freeman" would only match docs who have that > value identically. > > Thanks, this was the conclusion I came to too. When I asked, they decided that those matches were acceptable, and to keep the field a textField. Rhys