With apologies to Tom, I must disagree. If the search were designed this way, it would be a horrible design (unlike any other phrase search I've ever seen) and completely inconsistent with the documentation regarding phrase searches. I'm quite confident that the scripture search is not designed this way. In most cases I have tried, a search for a quoted phrase will only find the phrase.dmaynes wrote:Is this working the way that it is intended to work? The scriptures that are returned will have the words "be" and "one" but sometimes there are intervening words.tomw wrote:Yes, that is how it is designed.
I think some incorrect conclusions were drawn because of the results of the "be one" search. I would speculate that "be one" allows for intervening words because "be" is a very common word and is excluded from the normal search if you search for it by itself. So I could see how spurious results might be returned based on this unindexed word (not that it should do this, but it might be a less tested code path, or a compromise based on index size or performance). But if you search for "chain neck" you will indeed find no matches, because that phrase does not exist in the scriptures. That is the correct behavior; it is the "be one" search that has questionable results.
I also think there is some mishandling of AND with NOT. Continuing with the chain/neck example, if we search with "search all word forms" turned off, we have:
chain = 13
chain neck = 4
chain !neck = 9
This is exactly what one would expect. But with AND, we have:
chain = 13
chain & neck = 4
chain & !neck = 0
This last result is unexpected and seems to be a bug.