Hello all, I was wondering if anyone could offer some feedback on whether there is a way to determine how a document matched in real time. I currently use custom analyzers at index time to allow a broad array of matches for a given text field. I try to match based on phrases, synonyms, substrings, stemming, etc of a given phrase, and I would like to be able to figure out at search time, which analyzer was attributed to causing the match.
Currently, I've gotten around this by creating child documents where the fields are fanned out to their respective analyzer types. So I have a child document where the field only applies stemming, another that uses only synonyms, etc. However, due to the growing number of fields that require analysis and the growth of my data set, I'd much prefer if I had less documents (and less complex too). I was hoping there would be a way to tag tokens at the analysis phase that could be used at the search phase to quickly determine my match level, but I was not able to find anything like this. Having said that, has anyone else ever tried to figure this out, or have an thoughts on how to leverage ES at a lower level to determine match? -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4222f994-d448-4b61-a71e-3dca03a5a0fc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
