FilterSpec, how does it work

Hi, I cannot find an explanation on what to do when I want to implement/use a FilterSpec. I can’t see any documentation in source code, nor in the official documentation, except GetA12 , which is rather non-telling. It doesn’t explain anything, except, that it is there.

What Syntax does it follow exactly, and if it isn’t fully supported, which parts work, and which parts won’t work. Please tell me, I

Lucene/Solr doesn’t seem to be it, or I wrote it not correctly.

example data:

  1. Some.Path:a
  2. Some.Path:a-b
  3. Some-Path:a-bc

-Some.Path:a → worked, it filtered out 1.
-Some.Path:a-b → correction: did work
-Some.Path:*a-b* → did not work
-Some.Path:*a-b* → did not work
-Some.Path:*a\\-b* → did not work

Please explain, or point me to a documentation I can use.

I need to filter out everything with “a-”, how?

nvm a colleage found it

A link from FilterSpec to that page would’ve helped me. Searching for “filter” does not gave me that result.