[TYPO3-Solr] Overwrite defaultSearchField

Olivier Dobberkau olivier.dobberkau at dkd.de
Sat Feb 2 01:00:57 CET 2013


Am 01.02.13 14:47, schrieb Max Rösch:

> defType=edismax, 

as far as i remember we use the edismax query parser in EXT 2.8.

see solrconfig.xml

<requestHandler name="/select" class="solr.SearchHandler">
		<lst name="defaults">
			<str name="defType">edismax</str>
			<str name="echoParams">explicit</str>
			<str name="q.op">OR</str>
			<str name="qf">content^40.0 title^5.0 keywords^2.0 tagsH1^5.0
tagsH2H3^3.0 tagsH4H5H6^2.0 tagsInline^1.0</str>
			<str name="pf">content^2.0</str>
			<str name="df">content</str>
			<int name="ps">15</int>
	
			<str name="mm">2&lt;-35%</str>
	
			<str name="hl.fl">title,content</str>
			<int name="hl.snippets">3</int>
			<str name="hl.mergeContiguous">true</str>
			<str name="hl.requireFieldMatch">true</str>
	
			<str name="f.content.hl.alternateField">content</str>
			<str name="f.content.hl.maxAlternateFieldLength">200</str>
	
			<str name="spellcheck">false</str>
			<str name="spellcheck.onlyMorePopular">false</str>
			<str name="spellcheck.extendedResults">false</str>
			<str name="spellcheck.count">1</str>
		</lst>

Are you using an old version of the extension?

Olivier




More information about the TYPO3-project-solr mailing list