lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vrajesh <vrajes...@gmail.com>
Subject Re: concat 2 fields
Date Wed, 27 Apr 2016 04:55:11 GMT
Hi Jack,
as per your explanation i made following changes:
    <updateRequestProcessorChain name="concatFields">
		<processor class="solr.CloneFieldUpdateProcessorFactory"> 
			<str name="source">id</str> 
			<str name="dest">title</str> 
		</processor> 
		<processor class="solr.CloneFieldUpdateProcessorFactory"> 
			<str name="source">title</str> 
			<str name="dest">title</str> 
		</processor> 
		<processor class="solr.ConcatFieldUpdateProcessorFactory"> 
		<str name="fieldName">title</str> 
		<str name="delimiter">_</str> 
		</processor>
		<processor class="solr.LogUpdateProcessorFactory" /> 
		<processor class="solr.RunUpdateProcessorFactory" />
	</updateRequestProcessorChain> 

i.e trying to copy value of Id to Title field and then appending actual
Title field to make Id_Title combination.

but still it is not working. please help me if it can be done this way. 



--
View this message in context: http://lucene.472066.n3.nabble.com/concat-2-fields-tp4271760p4273072.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message