QueryParser has a setAllowLeadingWildcard() method. Could that be relevant?
What version of lucene? Can you post some simple examples of what does/doesn't work? Post the smallest possible, but complete, code that demonstrates the problem? With any question that mentions a custom version of something, that custom version has to be the prime suspect for any problems. -- Ian. On Thu, Jan 10, 2013 at 12:08 PM, Hankyu Kim <gksr...@gmail.com> wrote: > Hi. > > I've created a custom analyzer that treats special characters just like any > other. The index works fine all the time even when the query includes > special characters, except when the special characters come to the begining > of the query. > > I'm using spanTermQuery and wildCardQuery, and they both seem to suffer the > same issue with queries begining with special characters. Is it a > limitation of Lucene or am I missing something? > > Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org