Reputation: 7665
I'm looking for a solr filter that can convert an input like
"This is a sentence"
in following tokens
"This", "This is", "This is a", "This is a sentence"
Is there such a filter?
Upvotes: 1
Views: 96
Reputation: 52789
Lucene provides a filter, however it would generate Shingles
solr.ShingleFilterFactory
This will generate Shingles e.g. "This is a sentence" -> This is, is a, a sentence
else, you need to Extend or Implement your own.
Upvotes: 3