Hi Dave, Thanks for responding
I think that config setting is a pre-requisite for inplace updates as defined here https://solr.apache.org/guide/6_6/updating-parts-of-documents.html#UpdatingPartsofDocuments-Example.1 Here is from Solr documentation. An atomic update operation is performed using this approach only when the fields to be updated meet these three conditions: are non-indexed (indexed="false"), non-stored (stored="false"), single valued (multiValued="false") numeric docValues (docValues="true") fields; the _version_ field is also a non-indexed, non-stored single valued docValues field; and, copy targets of updated fields, if any, are also non-indexed, non-stored single valued numeric docValues fields. Thanks Nishanth -----Original Message----- From: Dave <hastings.recurs...@gmail.com> Sent: Tuesday, August 10, 2021 6:47 PM To: users@solr.apache.org Cc: Madhuluck Kumar <madhuluck.ku...@tadigital.com> Subject: Re: Field value feature returning only 0s - LTR feature engineering ***Caution: External Email*** This email originated from an external sender. Do not click on links or open attachments unless you were expecting this message from this sender. I’m confused. You don’t store it, nor index it? > On Aug 10, 2021, at 9:06 AM, Nishanth Nayakanti > <nishant...@tadigital.com.invalid> wrote: > > Hello everyone, > > We are using Solr 8.5 and facing the following issue. > > We want to use number of clicks of a documents/page as a feature in LTR > model. We are using in-place updates to set/upload the number of clicks for > each document. When I try to extract features from Solr, all the > documents/rows have values as 0 for clicks feature. > > Sample feature > { > "name":"pmetrics_its_nid-ga_metric1-sum", > "class":"org.apache.solr.ltr.feature.FieldValueFeature", > "params":{"field":"pmetrics_its_nid-ga_metric1-sum"}, > "store":"_DEFAULT_" > } > > Solr Config > > <dynamicField name="pmetrics_*" type="pfloat" indexed="false" stored="false" > docValues="true"/> > > > Am I missing something here ? > > Thanks for your answers > Nishanth. > Disclaimer: This message and any attachments are solely intended for the > addressee(s). It may also be TA DIGITAL confidential, privileged and / or > subject to copyright. Access to this email by anyone else is unauthorized. If > you are not the intended recipient, any disclosure, copying, distribution or > any action taken or omitted to be taken in reliance on it, is prohibited and > may be unlawful. If you have received this in error, please notify the sender > immediately by return e-mail and delete it from your computer. While all care > has been taken, TA DIGITAL management disclaims all liabilities for loss or > damages to person(s) or properties arising from misuse of any information > provided or the message being infected by computer virus or other > contamination. Disclaimer: This message and any attachments are solely intended for the addressee(s). It may also be TA DIGITAL confidential, privileged and / or subject to copyright. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you have received this in error, please notify the sender immediately by return e-mail and delete it from your computer. While all care has been taken, TA DIGITAL management disclaims all liabilities for loss or damages to person(s) or properties arising from misuse of any information provided or the message being infected by computer virus or other contamination.