Ken Han Posted March 14, 2014 Share Posted March 14, 2014 (edited) When I want to find, e.g. "man" and "god" appearing in the same verse with search scope set to verse I can search for: man <and> god which returns any verses where the words "man" and "god" are found together, in any order. This is expected. But if I want to find a verse, e.g. that twice mentions "man" man <and> man will not return what I expect, as the returned results show verses with single occurrence of "man". Searching, instead, for man <followed by> man will return what I expect, displaying verses that have "man" twice. I tend to think of <and> as a condition that is satisfied only when what is left of it and right of it are both true. And that is how Accordance Help explains it. From Help: "X <AND> Z finds verses whereX and Z are both present." But when what is to the left and to the right of <and> are the **same**, then the operating logic seems inconsistent, treating "man <and> man" as equivalent to a simple string search of "man", but that is not what <and> operator implies. I wonder if the <and> logic can be adjusted so that when what is to its left and its right are the same, <and> returns expected results of ...man...man... Edited March 14, 2014 by Ken Han 1 Link to comment Share on other sites More sharing options...
Nicholous Rogers Posted March 14, 2014 Share Posted March 14, 2014 (edited) well, I should have read your post more closely and I would have seen that you've already done that Hi Ken, you might try <FOLLOWED BY> I think that will get you the results you're looking for. Nicholous Edited March 14, 2014 by Nicholous Rogers Link to comment Share on other sites More sharing options...
Steve King Posted March 14, 2014 Share Posted March 14, 2014 I can see why you are thinking along those lines but it does not match the standard use of AND in computing. In computing terms the left and right of the <AND> are treated separately. So the comparison of the left 'man' is made against the scope then the right 'man' is made against the scope. The <AND> says nothing about the relationship between the two words other than they are both found in the scope. To be honest that is why there are other commands that are are more specific (e.g. FOLLOWED BY). It includes a relationship between the two words which must also be true. Link to comment Share on other sites More sharing options...
Helen Brown Posted March 15, 2014 Share Posted March 15, 2014 The Construct window is much more accurate for defining searches like this, even three occurrences or more in a scope. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now