You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Nicolas Alejandro Slavik <ni...@gmail.com> on 2022/07/12 14:06:18 UTC
Error indexing files(html, pdf) using SOLR Cell Tika
Hi - I am trying to index files such as html and pdf. I got the following
error related to unique id which is defined in the curl command. The unique
id is set with the literal.id parameter.
Can you please help? I read all the documentation of SOLR Cell and tika,
and I am doing the steps as its described.
Here is what I enter in the cmd.
C:\>*curl
"https://localhost:8984/solr/XP0_Slavik_web_index/update/extract?literal.id=doc1?commit=true
<https://localhost:8984/solr/XP0_Slavik_web_index/update/extract?literal.id=doc1?commit=true>"
-F "myfile=@example.pdf"*
{
"responseHeader":
{ "status":400, "QTime":55}
,
"error":{
"metadata":[
"error-class","org.apache.solr.common.SolrException",
"root-error-class","org.apache.solr.common.SolrException"],
"msg":"*Document is missing mandatory uniqueKey field: _uniqueid*",
"code":400}}
Re: Error indexing files(html, pdf) using SOLR Cell Tika
Posted by Gus Heck <gu...@gmail.com>.
Based on the error message I think you want to use "literal._uniqueid" not "
literal.id". Your schema which possibly no longer has a field named "id" is
requiring a field name "_uniqueid".
See
https://solr.apache.org/guide/8_11/uploading-data-with-solr-cell-using-apache-tika.html#using-literals-to-define-custom-metadata
for more details, but the basic point is that literal.foobar=baz will put
the field "foobar" in your document with the value "baz". Thus literal.id
is not special, it's just adding a field named "id" which is not sufficient
for your schema
-Gus
On Tue, Jul 12, 2022 at 4:22 PM Nicolas Alejandro Slavik <
nicolas.a.slavik@gmail.com> wrote:
> Hi - I am trying to index files such as html and pdf. I got the following
> error related to unique id which is defined in the curl command. The unique
> id is set with the literal.id parameter.
>
> Can you please help? I read all the documentation of SOLR Cell and tika,
> and I am doing the steps as its described.
>
> Here is what I enter in the cmd.
>
> C:\>*curl
> "
> https://localhost:8984/solr/XP0_Slavik_web_index/update/extract?literal.id=doc1?commit=true
> <
> https://localhost:8984/solr/XP0_Slavik_web_index/update/extract?literal.id=doc1?commit=true
> >"
> -F "myfile=@example.pdf"*
> {
> "responseHeader":
> { "status":400, "QTime":55}
>
> ,
> "error":{
> "metadata":[
> "error-class","org.apache.solr.common.SolrException",
> "root-error-class","org.apache.solr.common.SolrException"],
> "msg":"*Document is missing mandatory uniqueKey field: _uniqueid*",
> "code":400}}
>
--
http://www.needhamsoftware.com (work)
http://www.the111shift.com (play)
Re: Unsubscribe me
Posted by Dave <ha...@gmail.com>.
Can I unsubscribe anyone with a certain string in their email? Anything with hein should no longer be subscribed
> On Jul 12, 2022, at 6:23 PM, Gus Heck <gu...@gmail.com> wrote:
>
> Have you checked that the mails are actually going to the address you are
> unsubscribing from? If you are getting mails forwarded from a prior address
> you would need to send the unsubscribe from that address.
>
>> On Tue, Jul 12, 2022 at 5:57 PM Brad Burke <bb...@gmail.com> wrote:
>>
>> Ha. Same here. I have tried ever way I know how to send unsubscribe
>> messages. These emails never stop.
>>
>>> On Tue, Jul 12, 2022 at 4:36 PM Jeryl Cook <tw...@gmail.com> wrote:
>>>
>>> Good luck..Ive been trying to unsubscribe for years and cannot. But I've
>>> accepted my fate.
>>>
>>> -jeryl cook
>>>
>>> On Tue, Jul 12, 2022, 4:29 PM Nicolas Franck
>>> <Ni...@ugent.be.invalid> wrote:
>>>
>>>> Can someone unsubscribe me from this list?
>>>>
>>>>
>>>
>>
>
>
> --
> http://www.needhamsoftware.com (work)
> http://www.the111shift.com (play)
Re: Unsubscribe me
Posted by Thomas Corthals <th...@klascement.net>.
And if all else fails, set up a message rule to silently discard them.
Op wo 13 jul. 2022 om 08:44 schreef Michał Świątkowski
<mi...@stopzone.pl.invalid>:
> Hi,
>
> To remove address from the list, send a message to
> users-unsubscribe@solr.apache.org
>
> Regards,
> Michal
>
> On 7/13/22 04:22, Gus Heck wrote:
> > Have you checked that the mails are actually going to the address you are
> > unsubscribing from? If you are getting mails forwarded from a prior
> address
> > you would need to send the unsubscribe from that address.
> >
> > On Tue, Jul 12, 2022 at 5:57 PM Brad Burke <bb...@gmail.com> wrote:
> >
> >> Ha. Same here. I have tried ever way I know how to send unsubscribe
> >> messages. These emails never stop.
> >>
> >> On Tue, Jul 12, 2022 at 4:36 PM Jeryl Cook <tw...@gmail.com> wrote:
> >>
> >>> Good luck..Ive been trying to unsubscribe for years and cannot. But
> I've
> >>> accepted my fate.
> >>>
> >>> -jeryl cook
> >>>
> >>> On Tue, Jul 12, 2022, 4:29 PM Nicolas Franck
> >>> <Ni...@ugent.be.invalid> wrote:
> >>>
> >>>> Can someone unsubscribe me from this list?
> >>>>
> >>>>
> >
>
Re: Unsubscribe me
Posted by Michał Świątkowski <mi...@stopzone.pl.INVALID>.
Hi,
To remove address from the list, send a message to
users-unsubscribe@solr.apache.org
Regards,
Michal
On 7/13/22 04:22, Gus Heck wrote:
> Have you checked that the mails are actually going to the address you are
> unsubscribing from? If you are getting mails forwarded from a prior address
> you would need to send the unsubscribe from that address.
>
> On Tue, Jul 12, 2022 at 5:57 PM Brad Burke <bb...@gmail.com> wrote:
>
>> Ha. Same here. I have tried ever way I know how to send unsubscribe
>> messages. These emails never stop.
>>
>> On Tue, Jul 12, 2022 at 4:36 PM Jeryl Cook <tw...@gmail.com> wrote:
>>
>>> Good luck..Ive been trying to unsubscribe for years and cannot. But I've
>>> accepted my fate.
>>>
>>> -jeryl cook
>>>
>>> On Tue, Jul 12, 2022, 4:29 PM Nicolas Franck
>>> <Ni...@ugent.be.invalid> wrote:
>>>
>>>> Can someone unsubscribe me from this list?
>>>>
>>>>
>
Re: Unsubscribe me
Posted by Gus Heck <gu...@gmail.com>.
Have you checked that the mails are actually going to the address you are
unsubscribing from? If you are getting mails forwarded from a prior address
you would need to send the unsubscribe from that address.
On Tue, Jul 12, 2022 at 5:57 PM Brad Burke <bb...@gmail.com> wrote:
> Ha. Same here. I have tried ever way I know how to send unsubscribe
> messages. These emails never stop.
>
> On Tue, Jul 12, 2022 at 4:36 PM Jeryl Cook <tw...@gmail.com> wrote:
>
> > Good luck..Ive been trying to unsubscribe for years and cannot. But I've
> > accepted my fate.
> >
> > -jeryl cook
> >
> > On Tue, Jul 12, 2022, 4:29 PM Nicolas Franck
> > <Ni...@ugent.be.invalid> wrote:
> >
> > > Can someone unsubscribe me from this list?
> > >
> > >
> >
>
--
http://www.needhamsoftware.com (work)
http://www.the111shift.com (play)
Re: Unsubscribe me
Posted by Brad Burke <bb...@gmail.com>.
Ha. Same here. I have tried ever way I know how to send unsubscribe
messages. These emails never stop.
On Tue, Jul 12, 2022 at 4:36 PM Jeryl Cook <tw...@gmail.com> wrote:
> Good luck..Ive been trying to unsubscribe for years and cannot. But I've
> accepted my fate.
>
> -jeryl cook
>
> On Tue, Jul 12, 2022, 4:29 PM Nicolas Franck
> <Ni...@ugent.be.invalid> wrote:
>
> > Can someone unsubscribe me from this list?
> >
> >
>
Re: Unsubscribe me
Posted by Jeryl Cook <tw...@gmail.com>.
Good luck..Ive been trying to unsubscribe for years and cannot. But I've
accepted my fate.
-jeryl cook
On Tue, Jul 12, 2022, 4:29 PM Nicolas Franck
<Ni...@ugent.be.invalid> wrote:
> Can someone unsubscribe me from this list?
>
>
Re: Unsubscribe me
Posted by Purna Kanagala <pu...@gmail.com>.
Same here, I would also like to unsubscribe
On Tue, Jul 12, 2022 at 4:29 PM Nicolas Franck
<Ni...@ugent.be.invalid> wrote:
> Can someone unsubscribe me from this list?
>
> --
Sent from Gmail Mobile
Re: Unsubscribe me
Posted by Dave <ha...@gmail.com>.
To be clear I don’t want to unsubscribe
> On Jul 13, 2022, at 5:18 AM, Boitumelo Molekwa <Bo...@resbank.co.za.invalid> wrote:
>
> Also me please
>
> -----Original Message-----
> From: Nicolas Franck <Ni...@UGent.be.INVALID>
> Sent: 12 July 2022 10:29 PM
> To: users@solr.apache.org
> Subject: Unsubscribe me
>
>
> CAUTION: This email originates from outside of the organisation. Do not click on links or open attachments unless you recognise the sender and know that the content is safe.
>
>
> Can someone unsubscribe me from this list?
>
> --------------------------------------------------------- *** Disclaimer *** ---------------------------------------------------------
> Important Notice: This e-mail is subject to the e-mail disclaimer of the South African Reserve Bank, which can be viewed at:
> http://www.resbank.co.za/Disclaimer/Pages/SARB-Disclaimer.aspx
> Should you be unable to access the link provided,
> kindly send an email to BSTD-ICT-ServiceDesk@resbank.co.za
> --------------------------------------------------------- *** Disclaimer *** ---------------------------------------------------------
>
RE: Unsubscribe me
Posted by Boitumelo Molekwa <Bo...@resbank.co.za.INVALID>.
Also me please
-----Original Message-----
From: Nicolas Franck <Ni...@UGent.be.INVALID>
Sent: 12 July 2022 10:29 PM
To: users@solr.apache.org
Subject: Unsubscribe me
CAUTION: This email originates from outside of the organisation. Do not click on links or open attachments unless you recognise the sender and know that the content is safe.
Can someone unsubscribe me from this list?
--------------------------------------------------------- *** Disclaimer *** ---------------------------------------------------------
Important Notice: This e-mail is subject to the e-mail disclaimer of the South African Reserve Bank, which can be viewed at:
http://www.resbank.co.za/Disclaimer/Pages/SARB-Disclaimer.aspx
Should you be unable to access the link provided,
kindly send an email to BSTD-ICT-ServiceDesk@resbank.co.za
--------------------------------------------------------- *** Disclaimer *** ---------------------------------------------------------
Re: [EXT] Re: Unsubscribe me
Posted by "Bayer, Samuel" <sa...@mitre.org>.
Unsubscribe instructions are here:
https://solr.apache.org/community.html#mailing-lists-chat
Basically, send an email to users-unsubscribe@solr.apache.org from the email you're unsubscribing with the subject "unsubscribe".
On 7/12/22 5:35 PM, Jeryl Cook wrote:
> Good luck..Ive been trying to unsubscribe for years and cannot. But I've
> accepted my fate.
>
> -jeryl cook
>
> On Tue, Jul 12, 2022, 4:29 PM Nicolas Franck
> <Ni...@ugent.be.invalid> wrote:
>
>> Can someone unsubscribe me from this list?
>>
>>
>
Unsubscribe me
Posted by Nicolas Franck <Ni...@UGent.be.INVALID>.
Can someone unsubscribe me from this list?