git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-search-improvements@725526
13f79535-47bb-0310-9956-
ffa450edef68
import org.apache.maven.archiva.indexer.lucene.analyzers.GroupIdTokenizer;
import java.io.Reader;
+import org.apache.maven.archiva.indexer.lucene.analyzers.VersionTokenizer;
/**
* FileContentAnalyzer
return new GroupIdTokenizer(reader);
}
+ if ( FileContentKeys.VERSION.equals( field ))
+ {
+ return new VersionTokenizer(reader);
+ }
+
return STANDARD.tokenStream( field, reader );
}
}