lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Binoy Dalal <binoydala...@gmail.com>
Subject Re: Querying data based on field type
Date Thu, 18 Feb 2016 08:30:44 GMT
My apologies. I thought you wanted to remove all the arr values.

On Thu, 18 Feb 2016, 13:55 Salman Ansari <salman.rahmat@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 <binoydalal93@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.rahmat@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message