0

I am looking for a tokenizer that splits text based on case change. eg. indexing this text: "HandMade" will index hand and made so searching for hand or made will return results.

1

1 Answer 1

1

The WordDelimiterFilterFactory is what you want to use. It allows you to split on case change (as well as things like intra-word delimiters and numbers, depending on the arguments you use). See the docs here: https://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.WordDelimiterFilterFactory

In your case, you should use splitOnCaseChange="1" to get what you want.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.