I have been having some difficulty with Lucene and would appreciate any help.
I have a custom query which is manually written and parsed (this query) using QueryParser.Parse. I am using version LUCENE_29 and the StandardAnalyzer.
In my query I have a special character (colon) and need this to remain:
+(Name:"test\:word" OR Business:"test\:word hello")
The output after parsing the query text above is:
+(Name:"test word" OR Business:"test word hello")
Does anyone have any suggestions, I tried passing an empty stop words collection to the StandardAnalyzer constructor but that has no effect it still strips out the colon.
Thank you.
LUCENE_29
only tells us the version compatibility you have set, it doesn't tell us what lucene or lucene.net version you are using. – NightOwl888