lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vitaly bulgakov <bulgako...@yahoo.com>
Subject What kind of field function !boost can be applied to?
Date Fri, 20 May 2016 21:05:18 GMT
Let's say I want to boost location. Can I apply boost function to the field
of this type:

		<fieldtype name="city" class="solr.TextField" positionIncrementGap="100">
			<analyzer>
				<tokenizer class="solr.WhitespaceTokenizerFactory"/>
				<filter class="solr.LowerCaseFilterFactory" />
				<filter class="solr.SynonymFilterFactory" synonyms="city_synonyms.txt" 
					ignoreCase="true" expand="false"
tokenizerFactory="solr.WhitespaceTokenizerFactory"/>
			</analyzer>
		</fieldtype> 

If yes, could you give an example. 



--
View this message in context: http://lucene.472066.n3.nabble.com/What-kind-of-field-function-boost-can-be-applied-to-tp4278130.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message