lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reth RM <reth.ik...@gmail.com>
Subject Re: concat 2 fields
Date Fri, 22 Apr 2016 15:35:14 GMT
Have you added this new processor chain to update handler that you are
using(as shown below)?
 <str name="update.chain">myChain</str>

https://wiki.apache.org/solr/UpdateRequestProcessor#Selecting_the_UpdateChain_for_Your_Request



On Thu, Apr 21, 2016 at 2:59 PM, vrajesh <vrajeshlm@gmail.com> wrote:

> to concatenating two fields to use it as one field from
>
> http://grokbase.com/t/lucene/solr-user/138vr75hvj/concat-2-fields-in-another-field
> ,
> but the solution whichever is given i tried but its not working. please
> help
> me on it.
>  i am trying to concat latitude and longitude fields to make it as single
> unit using following:
>  <processor class="solr.ConcatFieldUpdateProcessorFactory"
>                    <str name="field"attr_geo_lat</str>
>                    <str name="field"attr_geo_long</str>
>                     <str name="dest"geo_location</str>
>                    <str name="delimiter",</str>
>  </processor>
>  i added it to solrconfig.xml.
>
>  some of my doubts are :
>  - should we define destination field (geo_location) in schema.xml?
>
>  - i want to make this combined field  (geo_location) as field facet so i
> have to add <str name="facet.field"geo_location</str>  in
>
>  - any specific tag in which i should add above process script to make it
> working.
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/concat-2-fields-tp4271760.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message