BookmarkSubscribeRSS Feed
agesser
Obsidian | Level 7

hi ,
We have an account_number field with Index for search = YES

let's say field contains value 10000000123456
Client wants to search according 123456

The only way we found in : 1*123456
but they don't want to do this "1*" and asking how they can search 123456
and find: 10000000123456

Thanks!

2 REPLIES 2
susantrueman
SAS Employee

Hello,

 

The example query shared in the original post would return the expected results. Another way to perform this search would be to use a ‘leading wildcard’ search (i.e. *123456) however this search option is off by default because it has the potential to affect system performance. ElasticSearch guidelines also recommend not allowing this option because wildcard queries (especially leading wildcard searches) can use a lot of memory due to the number of terms they need to query.  

 

This setting can be enabled for Visual Investigator via SAS Environment Manager (textQueryLeadingWildcardAllowed) but should be used with caution as mentioned above – see the VI product documentation for details.

 

For further information and guidance please contact SAS Technical Support.

 

Thanks,

Susan

 

agesser
Obsidian | Level 7

Thanks a lot @susantrueman !

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Discussion stats
  • 2 replies
  • 6171 views
  • 1 like
  • 2 in conversation