femto-dev/femto

search for "note" returns a syntax error?

Closed this issue · 3 comments

# femto_search --matches index "note" -v
syntax error
Could not parse pattern note

Looks like a bug.
May be its getting confused for "not" ?

This is true for "and" as well.
Search for "andblah" returns syntax error.
Other boolean keywords seems to be fine.

mppf commented

You can do a workaround with

   femto_search --matches index '"note"' -v

I'll look into it.

mppf commented

The problem only comes up if the boolean keyword starts the pattern.