I'm curious: Using the delimited_payload_filter, how do you know which term
in delimited list was hit by query in script? From the "text scoring in
scripts" documentation, it seems you have to know the term:
_index['FIELD'].get('TERM', _PAYLOADS)
Is the matched term accessible in the script in some way?
On Monday, August 25, 2014 6:49:01 AM UTC-4, Clinton Gormley wrote:
>
>
> On 24 August 2014 19:46, Scott Decker <[email protected] <javascript:>
> > wrote:
>
>> Have you done this? any concerns to performance with this sort of
>> scoring, or, it is just as fast if you were doing base lucene scoring if we
>> override the score function and just use our own?
>> -- we will of course try it and run our own performance tests, just
>> looking to see if you all ready have any insights.
>>
>
> I haven't benchmarked it myself. Obviously accessing payloads is slower
> than not, and some further work could be done on the scripting side to
> cache some term statistics lookups, but I don't know how performance will
> compare to doing this natively.
>
> Would be interested in your feedback
>
> clint
>
--
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/ba060bc0-a9bc-4cfd-b0fd-29167022f249%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.