You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realized this issue while working on recreation script for #3881
It seems to me that the search_analyzer does not kick in in some cases, the following two recreation scripts are provided.
The first scripts shows a simple use case where the search_analyzer kicks in as expected. Everything looks ok to me here.
The second script (which is based on the original recreation scripts from #3881) shows that the search_analyzer does NOT kick in and yield correct results ONLY if stated explicitly. Not sure if I understand what it is fundamental difference between the use case in first script and use case in the second script. Both scripts have very similar structure and unless I made some typo there I do not understand why the search analyzer haven't been used automatically.
Both scripts were tested against the latest master:
I checked your second script and found an error in the index creation. In fact if you try and get the mapping for your type you'll see it's empty. The mappings object in your script is within the settings one, while it should be at its same level.
Once you fixed that everything should work as expected, the search analyzer is used and so on. Can you confirm?
I realized this issue while working on recreation script for #3881
It seems to me that the
search_analyzer
does not kick in in some cases, the following two recreation scripts are provided.The first scripts shows a simple use case where the
search_analyzer
kicks in as expected. Everything looks ok to me here.The second script (which is based on the original recreation scripts from #3881) shows that the
search_analyzer
does NOT kick in and yield correct results ONLY if stated explicitly. Not sure if I understand what it is fundamental difference between the use case in first script and use case in the second script. Both scripts have very similar structure and unless I made some typo there I do not understand why the search analyzer haven't been used automatically.Both scripts were tested against the latest master:
The text was updated successfully, but these errors were encountered: