SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 65772: A search error occurs when synonym searching is enabled, and fields in two different entities have the same names

DetailsHotfixAboutRate It

When synonym searching is enabled in SAS® Visual Investigator 10.6, the use of a field with the same name in two different entities can cause the following error to occur:

The search could not be completed. The error(s) have been logged and the application administrators have been notified. Error Code: 95224

In the Elasticsearch log, the following type of error message is seen:

[2020-02-03T13:10:16,081][DEBUG][o.e.a.s.TransportSearchAction] [eyA462v] [55881] Failed to execute query phase
org.elasticsearch.transport.RemoteTransportException: [eyA462v][172.17.0.26:9300][indices:data/read/search[phase/query/id]]
Caused by: java.lang.IllegalArgumentException: the field [name] should be indexed with term vector with position offsets to be used with fast vector highlighter
        at org.elasticsearch.search.fetch.subphase.highlight.FastVectorHighlighter.highlight(FastVectorHighlighter.java:77) ~[elasticsearch-6.5.4.jar:6.5.4]
        at org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase.hitExecute(HighlightPhase.java:110) ~[elasticsearch-6.5.4.jar:6.5.4]

Here are the steps that can reproduce this issue:

  1. Create two entities (Entity A, Entity B) with two fields that have the same name (for example, Field A).
  2. For Entity A, configure Field A to be a highlighting field and available for synonym searches.
  3. Ensure that Entity B does not have either of those settings for its Field A.
  4. Perform a search that will gather data from both entities.


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Visual InvestigatorLinux for x6410.610.6ViyaViya
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.