A Field object contains information specific to a given field found within the Objects being text matched. Specifically, a Field object describes two distinct things:
- what the text is that identifies this Field when parsing the input text of the {@link #refilter(String) refilter} method
- what TextFilterator to use when extracting all values to text search when matching an Object
For example, the input text "city:Toronto" indicates that the text "Toronto" should only be matched against the values of the "city" field within the Objects being searched. As such, a Field object with "city" as its name and a TextFilterator that only returns the value of the "city" field from the Objects being text matched must be present in the Set of Field objects on the {@link SearchEngineTextMatcherEditor}.