Reputation: 178
Following title, I want to add a new tokenizer method into Apache Solr
http://mim.hus.vnu.edu.vn/phuonglh/softwares/vnTokenizer
My problem is I can't found any document about it. Is it possible ?
Upvotes: 0
Views: 277
Reputation: 1042
I think the approach you can use is described here: Solr Plugins: section about Tokenizers / TokenFilters.
In a few words you need to extend Solr's org.apache.lucene.analysis.Tokenizer
and implement your logic there. Afterwards you need to declare your new field type with your own tokenizer / token-filter.
Upvotes: 1