You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
When running the script below, i expect the LuceneCheck to report no error as the query is (as far as I can tell) supported by the lucene standard.
I couldn't find any check_phrase function in the LueceneCheck class in the check.py file. Is this intended or how could this be fixed? My guess would be to add something like the following to allow phrases but I'm really not sure about this. Any recommendations or ideas?
defcheck_phrase(self, item, parents):
ifnotitem.value.endswith('"') ornotitem.value.startswith('"'):
yield"Phrase value must start and end with double quote"
The text was updated successfully, but these errors were encountered:
Hi,
When running the script below, i expect the LuceneCheck to report no error as the query is (as far as I can tell) supported by the lucene standard.
But I am presented with the following error
['Unknown item type Phrase : "Foo Bar"']
I couldn't find any check_phrase function in the LueceneCheck class in the
check.py
file. Is this intended or how could this be fixed? My guess would be to add something like the following to allow phrases but I'm really not sure about this. Any recommendations or ideas?The text was updated successfully, but these errors were encountered: