Hello,
I'm working with Visual Investigator 10.7, and I experiment how the elasticsearch index works; I have a "person" entity with a "mail" variable "john.dow@gmail.com". When I search for "john" (typing "john" in the search bar), my entity doesn't show up. If I search for "john*", then it works and my person does show up; idem if I search for "john.dow". My conclusion is that the "@" works as a delimiter, but not the period.
So my question is: is "@" a separator for ES index, and is period a separator? More generally which are the separators for the index, and how (if possible) the administrator can parameter the list of separator?
Thank you for your help,
JD
Hi,
In general, search behaviour in VI depends on how the data is analyzed when it is indexed in Elasticsearch, which is configurable on a per field basis:
In the “Manage Investigate and Search” app, when editing the field properties for a field on an entity, there is an “Advanced Search” section. For String fields, this section contains the following options:
More specifically, it does indeed look like the english analyzer (which is the default as the default locale is en-US), tokenizes text on “@” (in addition to other word boundaries) but not on “.”. To achieve custom search behaviour beyond what’s available via the “Index Analyzer” option would require a custom analyzer. If you need to get help on defining a custom analyzer and configuring VI such that it appears as an option under “Index Analyzer”, it would be best to raise a Technical Support track.
Thank you for your response! I understand thath I can't have a custom index for the moment, and so I have to be very precise with my requests if I want the result to show up. That's a big problem for the end-user in our context, but I see no other choice available.
Regards,
JD
Nearly 200 sessions are now available on demand in the Innovate Hub.
Watch Now →