My apologies. I thought you wanted to remove all the arr values.

On Thu, 18 Feb 2016, 13:55 Salman Ansari <salman.rah...@gmail.com> wrote:

> Not sure if I am getting this but I am not interested in updating
> documents. I am interested in getting documents that has the field type of
> a specific field as array <arr></arr>.
>
> Regards,
> Salman
>
> On Thu, Feb 18, 2016 at 11:13 AM, Binoy Dalal <binoydala...@gmail.com>
> wrote:
>
> > Take a look at atomic updates and remove regex.
> >
> >
> https://cwiki.apache.org/confluence/display/solr/Updating+Parts+of+Documents
> >
> > On Thu, 18 Feb 2016, 13:07 Salman Ansari <salman.rah...@gmail.com>
> wrote:
> >
> > > Hi,
> > >
> > > Due to some mis-configuration issues, I have a field that has values as
> > > single string and an array of strings. Looks like there are some old
> > values
> > > that got indexed as an array of strings while anything new are single
> > > valued string. I have checked the configuration and multivalued for
> that
> > > field is set to false. What I want is to remove all the occurrences of
> > the
> > > field as an array (multi-valued) where it shows as <arr></arr> instead
> of
> > > <str></str>. Is there a way to query the field so it returns only those
> > > documents that have field as an array and not as a single string?
> > >
> > > Appreciate your comments/feedback.
> > >
> > > Regards,
> > > Salman
> > >
> > --
> > Regards,
> > Binoy Dalal
> >
>
-- 
Regards,
Binoy Dalal

Reply via email to