Hi, I am new in solr and i am trying to create the custom filter, to create that filter i just copied the lowercasefilter and making all the changes in the increment token, but to make sure that my changes are applying properly, i am also printing some debugging info in log.
public final boolean incrementToken() throws IOException { if (this.input.incrementToken()) { char[] inputChar = this.termAtt.buffer(); System.err.println("Token is "+new String(inputChar)); return true; } return false; } eg: Field Value: spellcheck for bags recieved : spellcheck for bags as expected. but when i am converting it into string i am getting unexpected results in logs. Token is spellcheck Token is forllcheck Token is bagslcheck Token is spellcheck Token is forllcheck Token is bagslcheck Please help me here. With Regards Aman Tandon