Looking for complex scripting examples using Painless / Is this possible?

(Patrick Kurowski) #1

Where is the best place to find good examples and documentation on painless (preferred) or java (if needed)? I am new to Elasticsearch and I am trying to find out if I am trying to do something possible?

I am trying to convert a very complex, multi-custom fuzzy logic search that was built and performed within SQL Server in TSQL using Stored Procedures. It works in SQL, but we need a TON more speed! The data that we are searching can be converted to json objects and stored.

The issue is, every painless example I see is some kind of one-liner. Can they be stored in separate files and referenced somehow? how to perform multiple lookups using different techniques and then score (Custom) all of the combined hits for the different fields and searches.

Is this even possible?

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.