RE: Default value from another field?

2017-10-04 Thread jimi.hullegard
[...] /Jimi -Original Message- From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Sent: Tuesday, October 3, 2017 7:02 PM To: solr-user <solr-user@lucene.apache.org> Subject: Re: Default value from another field? I believe you should be able to use a combination of

Re: Default value from another field?

2017-10-03 Thread Alexandre Rafalovitch
> Sent: Tuesday, October 3, 2017 3:28 PM > To: solr-user@lucene.apache.org > Subject: Re: Default value from another field? > > Hi Jimi, > I don’t think that you can do it using schema, but you could do it using > custom update request processor chain. I quickly scanned to see if

RE: Default value from another field?

2017-10-03 Thread jimi.hullegard
side effects because of bugs etc). Regards /Jimi -Original Message- From: Emir Arnautović [mailto:emir.arnauto...@sematext.com] Sent: Tuesday, October 3, 2017 3:28 PM To: solr-user@lucene.apache.org Subject: Re: Default value from another field? Hi Jimi, I don’t think that you can do

Re: Default value from another field?

2017-10-03 Thread Emir Arnautović
Hi Jimi, I don’t think that you can do it using schema, but you could do it using custom update request processor chain. I quickly scanned to see if there is such processor and could not find one. The closest one is

Default value from another field?

2017-10-03 Thread jimi.hullegard
Hi, Is it possible using some Solr schema magic to make solr get the default value for a field from another field? Ie, if the value is specified in the document to be indexed, then that value is used. Otherwise it uses the value of another field. As far as I understand it, the field property