Created
December 4, 2013 16:08
-
-
Save kraftb/7790234 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In other solr plugins I saw the following code to add/reset the current term: | |
Stem stem = buffer.remove(0); | |
termAtt.copyBuffer(stem.getStem(), 0, stem.getStemLength()); | |
termAtt.setLength(stem.getStemLength()); | |
I use something the following code: | |
charTermAttr.setEmpty().append(compounds.remove()); | |
do you think this can cause problems? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment