Hi,

 

i've got two virtual machines in the same subnet at the same
hostingprovider. On one machine my webapplication is running, on the second
a solr instance. In solr I use the following



<fieldType name="text_auto" class="solr.TextField">

<analyzer type="index">

<!--<tokenizer class="solr.KeywordTokenizerFactory"/>-->

<tokenizer class="solr.StandardTokenizerFactory"/>

<filter class="solr.EdgeNGramFilterFactory" minGramSize="2" maxGramSize="25"
/>

 

<filter class="solr.LowerCaseFilterFactory"/>

<!--<filter class="solr.EdgeNGramFilterFactory" minGramSize="1"
maxGramSize="25" />-->

</analyzer>

<analyzer type="query">

<!--<tokenizer class="solr.KeywordTokenizerFactory" />-->

<tokenizer class="solr.StandardTokenizerFactory"/>

<filter class="solr.LowerCaseFilterFactory"/>

<filter class="solr.EdgeNGramFilterFactory" minGramSize="2" maxGramSize="25"
/>

</analyzer>

</fieldType>

 

 

<fieldType name="text" class="solr.TextField" positionIncrementGap="100">

<analyzer>

  <tokenizer class="solr.WhitespaceTokenizerFactory"/>

  <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1"
generateNumberParts="1" catenateWords="1" catenateNumbers="1"
catenateAll="0" splitOnCaseChange="1"/>

  <filter class="solr.LowerCaseFilterFactory"/>

</analyzer>

</fieldType> 

 

 

 

If I search from my webapplication in my autosuggest box, I get response
times of ~500ms per request. Is it possible to "tune" solr, so that I get
faster results?

I have no special cache configuration, nor I don't know what to configure
here.

 

Thanks,

Ramo

Reply via email to