complex analyzer builder analyzer without requiring a custom jar addition#306
complex analyzer builder analyzer without requiring a custom jar addition#306rmannibucau wants to merge 1 commit intoStratio:masterfrom
Conversation
…analyzer without requiring a custom jar addition
|
Hi @rmannibucau: We need to admit that this is an awesome feature. It gives user the ability to create custom analyzers just like elastic. We definitely want this feature included in the project without any doubts. There are some things we want you to change before merging this pr:
I attach two pictures that would explain this better:
I have started to develop my own version (what images shows) of this feature in branch feature/build_custom_analyzer. I will upload it soon. I can continue with this but it is your decision. Looking forward your answer. |
|
Hmm, have to admit I dont know how you can achieve json validation and opening of the instantiated instance cause one of the goal was to ensure we have shortcuts for well know instances/types - where this fully makes sense to use inheritance - but also customs or evolutive ones - where you cant validate it anyway. What would be the plan for such support? Also not sure I get the versioning (that's surely why i used master): why 3.0 and not 3.10? If you are on that I guess you'll be faster than me so happy to close that otherwise I can give it a try in a few weeks probably (can't at the moment). |


Idea is to enable to configure through the json payload passed when creating the index/analyzers some more advanced and open configuration. Here is a sample:
And here is the equivalent java code: