05-12-2015 12:45 AM
Hi
Can DA search content using a NEAR bolean syntax?
I'm interested in search for content that has "Word 1" within 2 words of "word 2"
eg "DOGS will chase CATS" will return a hit whereas "DOGS will not chase CATS" will not return a hit
kind regards
Solved! Go to Solution.
05-15-2015 07:16 AM
You are correct. We only have the pseudo proximity search in DA at this time where the use of the '*' wild card will allow for separation between words. Your own example of "dogs * * cats" is exactly right for finding the word cats separated by 2 words from the word dogs, with cats being after dogs in the line.
05-12-2015 01:27 AM
Check the below article
https://support.symantec.com/en_US/article.HOWTO107856.html#v26889260
With the NEAR operator, Search match items where the words that you specify are within 50
words of each other.
05-12-2015 02:27 AM
Many thanks - 50 words is that 'near' really :o(
Is there a way to effectively find a string of text with two words that are only separated by no more than 2 other words
Can the NEAR value of 50 be changed to 2?
05-12-2015 02:40 AM
I don't think this value is configurable.
However someone has already logged an idea to make it configurable.
https://www-secure.symantec.com/connect/ideas/near-operator-discovery-accelerator
05-12-2015 03:03 AM
Ah - so is it simply a proximity search I need...
Would I just need to search for "DOGS * * CATS" to find a string with dogs and cats within 2 words of each other? and search for "dogs * cats" to find strings of text within 1 word of each other?
the below indicates exactly that:
http://www.symantec.com/docs/TECH214854
05-15-2015 07:16 AM
You are correct. We only have the pseudo proximity search in DA at this time where the use of the '*' wild card will allow for separation between words. Your own example of "dogs * * cats" is exactly right for finding the word cats separated by 2 words from the word dogs, with cats being after dogs in the line.
05-19-2015 01:09 PM
many thanks