BookmarkSubscribeRSS Feed
0 Likes

Context:


We are currently configuring the Detail View and snippet return behavior within SAS Visual Investigator for our entity object types. Based on our current implementation, when a fielded search is performed (i.e., one or more fields are specified in the search query), the returned snippet includes not only the matched term but also several lines of surrounding context. While this may be useful in general-purpose search scenarios, our use case requires a more concise output.

As per VI Admin Guide:

 

Detail View VI Admin Guide.png

 

Request / Suggestion:
We would like to restrict the snippet return in fielded searches to only the exact matched term, excluding any surrounding context or extra lines. In other words, we are looking for a configuration that returns:

  • The exact match only

  • No contextual preview or surrounding text

  • Matched term still highlighted (if possible), but no additional characters before or after

 

Clarification Noted in Documentation:
From the documentation (as shown in the attached screenshot), we understand that:

  • Snippet text is always returned with basic (free text) searches

  • The snippet text configuration in the Detail View applies only to fielded searches

Given this, we are seeking guidance or a configuration update on how to:

  • Disable or minimize the snippet text to return only the match itself for fielded searches

 Example: When we search "emails:

Current behavior:

"...claimed they check their emails during the night..."

Desired behavior:

emails

 

2 Comments
susantrueman
SAS Employee
Status changed to: Suggestion Closed

Thank you for submitting your request.  We appreciate and review all feedback we receive, but at this time we have decided not to move forward with this request.  Due to the volume of requests, we are unable to implement every request, and have to prioritize those that will have the most impact to our customers and business.  If you have additional details/information that was not originally part of the request that you believe should cause us to reconsider this decision, please resubmit. 

 

EDIT: Sorry, I forgot to add that you can change the "maximum character" setting for the snippet configuration to be a smaller number (minimum = 20) to reduce the amount of text returned. 

 

Thanks,

Susan

albgenius
Calcite | Level 5

Dear Susan,

Thank you for the clarification and for reviewing the enhancement request.

After additional testing, I confirmed that the “Show a text snippet if the search word is found in these fields” configuration only affects fielded searches and does not apply to free text searches. Regardless of whether no fields, minimum values, or maximum values are configured, free text search continues to display snippets using the default internal behavior.

I understand this is the current intended functionality, but the inability to control or disable snippets for free text search remains challenging in scenarios involving sensitive or large text fields. More granular control over snippet behavior in free text search would still be valuable for usability and data presentation purposes.

Thank you again for the clarification and consideration.