Re: Defining Document Transformers in Solr Configuration

2018-02-28 Thread Alexandre Rafalovitch
I am not sure I fully understood the desired transformation, but perhaps something from https://people.apache.org/~hossman/rev2016/ would help. I am specifically thinking of: *) f.person.qf example *) ${people} example Regards, Alex. On 27 February 2018 at 15:20, simon wrote: > We do quite c

Re: Defining Document Transformers in Solr Configuration

2018-02-28 Thread simon
Thanks Mikhail: I considered that, but not all queries would request that field, and there are in fact a couple more similar DocTransformer-generated aliased fields which we can optionally request, so it's not a general enough solution. -Simon On Wed, Feb 28, 2018 at 1:18 AM, Mikhail Khludnev w

Re: Defining Document Transformers in Solr Configuration

2018-02-27 Thread Mikhail Khludnev
Hello, Simon. You can define a search handler where have numcites:[subquery]&numcites.fl=pmid&numcites.q={!terms f=md_c_pmid v=$row.pmid}&numcites.rows=10&numcites.logParamsList=q or something like that. On Tue, Feb 27, 2018 at 11:20 PM, simon wrote: > We do quite complex data pulls from a So

Re: Defining Document Transformers in Solr Configuration

2018-02-27 Thread simon
On Tue, Feb 27, 2018 at 5:34 PM, Diego Ceccarelli (BLOOMBERG/ LONDON) < dceccarel...@bloomberg.net> wrote: > I don't think you can define docTrasformer in the SolrConfig at the > moment, I agree it would be a cool feature. > > Maybe one possibility could be to use the update request processors [1]