Clause search with Boolean and proximity operators
As far as I can see Clause search does not allow Boolean or proximity operators, such as OR, ANDNOT, WITHIN, BEFORE and INTERSECTS. Is there a different syntax for these operators in Clause searches or are these features missing? This weakens an otherwise useful feature.
Comments
-
As far as I can see Clause search does not allow Boolean or proximity operators, such as OR, ANDNOT, WITHIN, BEFORE and INTERSECTS. Is there a different syntax for these operators in Clause searches or are these features missing? This weakens an otherwise useful feature.
Meanwhile, Jesus kept on growing wiser and more mature, and in favor with God and his fellow man.
International Standard Version. (2011). (Lk 2:52). Yorba Linda, CA: ISV Foundation.
MacBook Pro MacOS Sequoia 15.1 1TB SSD
0 -
As far as I can see Clause search does not allow Boolean or proximity operators, such as OR, ANDNOT, WITHIN, BEFORE and INTERSECTS. Is there a different syntax for these operators in Clause searches or are these features missing? This weakens an otherwise useful feature.
I was bitten by this limitation recently and agree with you that it is a weakness.
Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."
0 -
The Help resource does not say anything about which operators are available, although the examples on the Search panel do show some.
However, the examples for the ANDNOT have the wrong syntax. It says:
object:Holy Spirit AND NOT subject:God
This returns nothing. It should be:
object:Holy Spirit ANDNOT subject:God
This example also fails for the same reason:
subject:Jonah AND NOT agent:Jonah
What I could not get to work are any proximity operators, such as BEFORE, WITHIN, and INTERSECTS. The INTERSECTS operator would be particularly useful, but since these are Greek/Hebrew searches BEFORE X WORDS would also be handy.
Also some clause oriented data seems to be missing, such as Speaker and Addressee. So I find myself wanting to do Clause searches with some features from Clause searches and some from Bible and Morph searches.
It would be wonderful if the Clause searches had a consistent syntax with other Bible and Morph searches. I cannot see why morphological features or person/place/thing search terms should be entered in a different syntax than Bible and Morph searches. It is apparently completely different code under the hood.
Even better would be if the Clause search features were implemented within Bible and Morph searches, so that you could set search boundaries by clause rather than verse. I recognize, however, that Clause searches are limited to only a few original languages Bibles.
0 -
The Help resource does not say anything about which operators are available, although the examples on the Search panel do show some.
However, the examples for the ANDNOT have the wrong syntax. It says:
object:Holy Spirit AND NOT subject:God
This returns nothing. It should be:
object:Holy Spirit ANDNOT subject:God
This example also fails for the same reason:
subject:Jonah AND NOT agent:Jonah
What I could not get to work are any proximity operators, such as BEFORE, WITHIN, and INTERSECTS. The INTERSECTS operator would be particularly useful, but since these are Greek/Hebrew searches BEFORE X WORDS would also be handy.
Also some clause oriented data seems to be missing, such as Speaker and Addressee. So I find myself wanting to do Clause searches with some features from Clause searches and some from Bible and Morph searches.
It would be wonderful if the Clause searches had a consistent syntax with other Bible and Morph searches. I cannot see why morphological features or person/place/thing search terms should be entered in a different syntax than Bible and Morph searches. It is apparently completely different code under the hood.
Even better would be if the Clause search features were implemented within Bible and Morph searches, so that you could set search boundaries by clause rather than verse. I recognize, however, that Clause searches are limited to only a few original languages Bibles.
Meanwhile, Jesus kept on growing wiser and more mature, and in favor with God and his fellow man.
International Standard Version. (2011). (Lk 2:52). Yorba Linda, CA: ISV Foundation.
MacBook Pro MacOS Sequoia 15.1 1TB SSD
0 -
What I could not get to work are any proximity operators, such as BEFORE, WITHIN, and INTERSECTS. The INTERSECTS operator would be particularly useful, but since these are Greek/Hebrew searches BEFORE X WORDS would also be handy.
Not sure how you intend WITHIN and INTERSECTS to apply. Can you provide examples.
Dave
===Windows 11 & Android 13
0 -
One example is to use INTERSECTS to look at two characteristics of a word, such as:
verb-lemma:ἀγαπάω INTERSECTS verb-morph:VA?I
This search finds no results, although each search term finds something.
This would not be necessary if the Morph search syntax were possible: lemma:ἀναγγέλλω@VA?I.
Another example I want a specific Greek word order:
verb-lemma:ἀγαπάω BEFORE 3 WORDS subject:God
I know I can do these in Morph searches, but I often want to be able to limit a search to a clause. I had hoped that Morph Query would allow this, but it does not seem to have a clause or sentence range specifier.
0 -
verb-lemma:ἀγαπάω INTERSECTS verb-morph:VA?I
This search finds no results, although each search term finds something.
verb-lemma:ἀγαπάω verb-morph:VA?I
This works because you are looking at one clause with (normally) one verb.
Another example I want a specific Greek word order:
verb-lemma:ἀγαπάω BEFORE 3 WORDS subject:God
I know I can do these in Morph searches, but I often want to be able to limit a search to a clause.
verb-lemma:ἀγαπάω subject:God
The search is limited to a clause, but lacks the required word order. So
verb-lemma:ἀγαπάω BEFORE subject:God
would work if BEFORE was available.
I had hoped that Morph Query would allow this, but it does not seem to have a clause or sentence range specifier.
Correct - it is a Text search and not a Clause search.
Syntax Search will do what you want but it lacks referents i.e. <Person God>
Dave
===Windows 11 & Android 13
0