You still have a mismatch between what you think the schema is
(uniqueKey=title) and message of uniqueKey being id. Focus on that. Try to
get schema FROM Solr instead og looking at one you are providing. Or look
in Admin UI what it shows for field title and for field id.

Regards,
    Alex

On Mon, Nov 11, 2019, 2:30 PM Sthitaprajna, <iamonlyforu.frie...@gmail.com>
wrote:

>
> https://stackoverflow.com/questions/58763657/solr-missing-mandatory-uniquekey-field-id-or-unknown-field?noredirect=1#comment103816164_58763657
>
> May be this will help ? I added screenshots.
>
> On Fri, 8 Nov 2019, 22:57 Alexandre Rafalovitch, <arafa...@gmail.com>
> wrote:
>
> > Something does not make sense, because your schema defines "title" as
> > the uniqueKey field, but your message talks about "id". Are you
> > absolutely sure that the Solr/collection you get an error for is the
> > same Solr where you are checking the schema?
> >
> > Also, do you have a bit more of the error and stack trace. I find
> > "...or Unknown field" to be very puzzling. What are you trying to do
> > when you get this error?
> >
> > Regards,
> >   Alex.
> >
> > On Sat, 9 Nov 2019 at 01:05, Sthitaprajna <iamonlyforu.frie...@gmail.com
> >
> > wrote:
> > >
> > > Thanks,
> > >
> > > I did reload after solr configuration upload to zk
> > > Yes i push the config set to zk and i can see all my changes are on
> cloud
> > > I turned off the managed schema
> > > Yes it has, ypu could have seen it if the attachment are available. I
> > have attached again may be it will be available.
> > >
> > > On Fri, 8 Nov 2019, 21:13 Erick Erickson, <erickerick...@gmail.com>
> > wrote:
> > >>
> > >> Attachments are aggressively stripped by the mail server, so I can’t
> > see them.
> > >>
> > >> Possibilities
> > >> - you didn’t reload your core/collection
> > >> - you didn’t push the configset to Zookeeper if using SolrCloud
> > >> - you are using the managed schema, which uses a file called
> > “managed-schema” rather than classic, which uses schema.xml
> > >> - your input doesn’t really have a field “title”.
> > >> - the doc just doesn’t have a field called “title” in it when it’s
> sent
> > to Solr.
> > >>
> > >>
> > >> Best,
> > >> Erick
> > >>
> > >> > On Nov 8, 2019, at 4:41 AM, Sthitaprajna <
> > iamonlyforu.frie...@gmail.com> wrote:
> > >> >
> > >> > title
> > >>
> >
>

Reply via email to