Open iTarek opened 3 years ago
can you use:
أصحاب + سورة:الكهف
can you use:
أصحاب + سورة:الكهف
Yes + works fine but not و
Just a question on the logical relations
AND, +, و OR, |, أو ANDNOT, -
But I can not find Arabic keyword for ANDNOT, is there one?
@iTarek وليس
is the equivalent for ANDNOT
and it has same problem you reported mentioned in this thread.
I tried this and it is working: أصحاب وليس (سورة:الكهف)
By the way, the code in github is searchable. Searching for ANDNOT in Alfanous repository pointed to where all token are declared. See src/alfanous/query_processing.py
Example search query أصحاب و سورة:الكهف
Link
This error not happen if I put the sura name first like سورة:الكهف و أصحاب
Or put () (أصحاب و (سورة:الكهف