Solr tokenizer injection

As an example, I have a text box that can contain the following line:

"d7199 ^^ == ^^ 81 ^^ == ^^ A sentence or two!"

I want tokenize this data, but each token contains the first part of the string. So, I would like the markers to look like this:

"d7199 ^^ == ^^ 81 ^^ == ^^ A"

"d7199 ^^ == ^^ 81 ^^ == ^^ sentence"

"d7199 ^^ == ^^ 81 ^^ == ^^ or"

"d7199 ^^ == ^^ 81 ^^ == ^^ two"

How should I do it?

+5
source share
1 answer

Tokenizer Solr. Solr schema.xml solrconfig.xml

+1

All Articles