I think you'll have to build the query up in code. RegexQuery in the
contrib queries package should be able to take care of #[0-9].
BooleanQuery bq = new BooleanQuery();
PrefixQuery pq = new PrefixQuery(...) // #
RegexQuery rq = new RegexQuery(...) // #[0-9]
bq.add(pq, );
bq.add(rq, ...);
an
Hello,
I'm interested in searching a MemoryIndex to find occurrences of HashTags.
To do this I'm trying to use the following query:
#* -#[0 TO 9]
My goal with this query is to look for any word starting with "#" except
for words like "#1".
However, when I parse this query, the query parser turn