V
V
Vlad Nevlad2018-07-06 10:27:31
Solr
Vlad Nevlad, 2018-07-06 10:27:31

How to include solr.NGramTokenizerFactory in schema.xml - SOLR 7?

Hello. I'm trying to include schema.xml in SOLR 7 according to this manual:
https://lucene.apache.org/solr/guide/7_0/schema-fa...
Everything seems to work, but after that I do full-import for core and solr stops searching. Even *:* doesn't return anything...
I needed to include schema.xml to use it for the field
<tokenizer class="solr.NGramTokenizerFactory"/>
But even without including it, the search breaks.
Tell me, please, where else to dig. Maybe you can enable grams for a certain field somehow without leaving the automatic scheme?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlad Nevlad, 2018-07-09
@vladnevlad

decided.
turn off autoscheme.
edit schema.xml as needed.
enable autoscheme.
profit.
hmm.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question