lundi 10 août 2015

How to use pattern tokenizer to index only words that start with capital letter in lucene

I'm using Lucene 5.1.0, I want my index writer to only index the terms that start with a capital letter. I looked into custom analyzers and pattern tokenizer, but I couldn't understand how to use those in order to index only the words that start (or all of the letters) with a capital letter. Any help would be appreciated

Aucun commentaire:

Enregistrer un commentaire