Hi there!
I want to score document relevance by exact phrase frequency in a field. Some queries have multiple phrases for filtering. Is there any better way than scripting a custom score function?
UPD: My experiments with scripted score function and shingles http://lpaste.net/2853889383168212992. So far scripted solution works best. However I'm unsure about performance impact.
Thanks!