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 turns it into this:
+content:#* -content:# +content:[0 TO 9]

Effectively the QueryParser is splitting up the "#" and the "[0 TO 9]"

The same behavior occurs when I run this: #* -(#[0 TO 9])

Can anyone help me rewrite this query?

Thanks so much

-Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to