Open kstamatis opened 2 years ago
Regarding this, I am getting different errors depending on small variations on the query.
First:
Second:
Interestingly, Keynes and austérité alone go through without a problem - so something happens in the boolean part of the code
.
@fedenanni While checking why the following query
Keynes ANDNOT "austérité", fr, concept, Boolean Search
is not working, I found in the code (file: nlp.py, method: build_query_vector) the comment: # handling only AND for now.In the aforementioned query, one of the two vectors (I do not actually know what it means :) ) is None and thus the response of the method is None leading to a message "There is an issue with your query: maybe this is not a boolean search?".
This makes me think that the boolean operators work only if both parts of the boolean query are found in the corpus (not sure about that).