Re: concat 2 fields

2016-04-26 Thread vrajesh
Hi Jack, as per your explanation i made following changes: id title title title title

Re: concat 2 fields

2016-04-26 Thread Jack Krupansky
As I myself had commented on that grokbase thread so many months ago, there are examples of how to do this is my old Solr 4.x Deep Dive book. If you read the grokbase thread carefully, you will see that you left out the prefix "Custom" in front of "Concat" - this is not a standard Solr feature. C

Re: concat 2 fields

2016-04-26 Thread vrajesh
i have tried two methods to define as follow: 1) id id_title title id_title

Re: concat 2 fields

2016-04-26 Thread Reth RM
Check if you have added the 'concatFields' definition as well in solrconfig.xml... How are you indexing btw? On Tue, Apr 26, 2016 at 12:24 PM, vrajesh wrote: > Hi, > i have added it to /update request handler as per following in > solrconfig.xml: > > > application/json >

Re: concat 2 fields

2016-04-26 Thread vrajesh
Hi, i have added it to /update request handler as per following in solrconfig.xml: application/json concatFields application/csv concatFields but when i query it after indexing new files, i dont see

Re: concat 2 fields

2016-04-25 Thread Reth RM
It should be added to /update request handler. All the others that you have listed here are search request handlers, you should add this one to /update RH. On Mon, Apr 25, 2016 at 12:12 PM, vrajesh wrote: > in my solr config there are many requestHandler so i am confused in which > requestHandle

Re: concat 2 fields

2016-04-25 Thread vrajesh
in my solr config there are many requestHandler so i am confused in which requestHandler i should add it. i have some requestHandlers with names "/select", "/export","/query","/browse" and much more. i want to use this new processor chain for all type of file formats. -- View this message in con

Re: concat 2 fields

2016-04-22 Thread Reth RM
Have you added this new processor chain to update handler that you are using(as shown below)? myChain https://wiki.apache.org/solr/UpdateRequestProcessor#Selecting_the_UpdateChain_for_Your_Request On Thu, Apr 21, 2016 at 2:59 PM, vrajesh wrote: > to concatenating two fields to use it as one

Re: Concat 2 fields in another field

2013-08-27 Thread Alok Bhandari
Hi all, thanks for your replies. I have managed to do this by writing custom updateprocessor and configured it as bellow firstName lastName fullName _ . Federico Chiacchiaretta , I have tried the option mentioned by you but o

Re: Concat 2 fields in another field

2013-08-27 Thread Bill Bell
of my > book - variations on using the existing update processors. > > -- Jack Krupansky > > -Original Message- From: Federico Chiacchiaretta > Sent: Tuesday, August 27, 2013 8:39 AM > To: solr-user@lucene.apache.org > Subject: Re: Concat 2 fields in another field

Re: Concat 2 fields in another field

2013-08-27 Thread Jack Krupansky
: Re: Concat 2 fields in another field Hi, we do the same thing using an update request processor chain, this is the snippet from solrconfig.xml firstname concatfield class="solr.CloneFieldUpdateProcessorFactory"> lastname concatfield concatfield _ Regards, Federico C

Re: Concat 2 fields in another field

2013-08-27 Thread Federico Chiacchiaretta
the ConcatFieldUpdateProcessorFactory: > > http://lucene.apache.org/solr/4_1_0/solr-core/org/apache/solr/update/processor/ConcatFieldUpdateProcessorFactory.html > > > > -Original message- > > From:Alok Bhandari > > Sent: Tuesday 27th August 2013 14:05 > > To: solr-user@luce

RE: Concat 2 fields in another field

2013-08-27 Thread Markus Jelsma
solr-user@lucene.apache.org > Subject: Re: Concat 2 fields in another field > > Thanks for reply. > > But I don't want to introduce any scripting in my code so want to know is > there any Java component available for the same. > > > > -- > View this message in

Re: Concat 2 fields in another field

2013-08-27 Thread Alok Bhandari
Thanks for reply. But I don't want to introduce any scripting in my code so want to know is there any Java component available for the same. -- View this message in context: http://lucene.472066.n3.nabble.com/Concat-2-fields-in-another-field-tp4086786p4086791.html Sent from the Solr - User mai

Re: Concat 2 fields in another field

2013-08-27 Thread Rafał Kuć
Hello! You don't have to write custom component - you can use ScriptUpdateProcessor - http://wiki.apache.org/solr/ScriptUpdateProcessor -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch > Hello all , > I am using solr 4.x , I have a requirement where I n