I am assuming that string
is defined as solr.StrField
in your schema.xml
.
Since you are having a blob of data, it would possibly be useful to use a field type that has the right set of tokenizers, analyzers and filters.
For example, adding a StandardTokenizerFactory keeps tokens to a meaningful value set.
An example of the fieldtype definition:
<fieldType name="text_general" class="solr.TextField" positionIncrementGap="100" omitNorms="true">
<analyzer type="index">
<tokenizer class="solr.StandardTokenizerFactory" />
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
<filter class="solr.LowerCaseFilterFactory" />
</analyzer>
</fieldtype>
You could try something like this and that should make a difference to the response time.