Re: Query beginning with special characters

2013-01-13 Thread Hankyu Kim
essing IndexWriterConfig or IndexWriter is discarding the terms with leading special characters. I hope the above infromation helps. 2013/1/11 Ian Lea > QueryParser has a setAllowLeadingWildcard() method. Could that be > relevant? > > What version of lucene? Can you post some simple e

Re: Query beginning with special characters

2013-01-14 Thread Hankyu Kim
does your > > analyzer do - what is the full chain of tokenization? Are you saying > > that ':)a' and ')an' are not indexed? Surely that is correct given > > your input with a space after the :). And before as well so 's:)', is > > also suspe

Re: Query beginning with special characters

2013-01-14 Thread Hankyu Kim
p. 2013/1/14 Hankyu Kim > I did intend to ignore all the spaces, so that's not the problem. > > Here's the tokenization chain in customAnalyser class, extending Analyser > @Override > protected TokenStreamComponents createComponents(String fieldName, > Reader