com.s24.search.solr.analyzers.StemmingBufferAttribute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of solr-analyzers Show documentation
Show all versions of solr-analyzers Show documentation
A repository for all open sourced tokenizers and filters from shopping24.
The newest version!
package com.s24.search.solr.analyzers;
import org.apache.lucene.util.Attribute;
/**
* @see StemmingBufferAttributeImpl
*
* @author Shopping24 GmbH
*/
public interface StemmingBufferAttribute extends Attribute {
public void setOriginalToken(char[] buffer, int length);
public char[] getOriginalToken();
public int getOriginalTokenLength();
public void setStemmedToken(char[] buffer, int length);
public char[] getStemmedToken();
public int getStemmedTokenLength();
boolean isStemmedTokenHasBeenEmitted();
void setStemmedTokenHasBeenEmitted(boolean stemmedTokenHasBeenEmitted);
void clear();
}