"literal.id" should contain a unique identifier for each document (assuming
that the unique identifier field in your solr schema is called "id"); see
http://wiki.apache.org/solr/ExtractingRequestHandler .

I'm guessing that the url for the ExtractinRequestHandler is incorrect, or
maybe you haven't even configured/enabled the ExtractingRequestHandler in
solr-config.xml. Further, from the url you show, I'm guessing that "$file"
and "$i" are references to shell variables that have been incorrectly
quoted (for example, by enclosing a constructed url in single quotes
instead of double quotes, if you're on a Unixoid platform.)


On Mon, Mar 10, 2014 at 2:51 PM, Priti Solanki <pritiatw...@gmail.com>wrote:

> Hi all,
>
> Following throw "The request resource is not available"
>
>
> curl "
>
> http://localhost:8080/solr/#/dev/update/extract?stream.file=/home/priti/$file&literal.id=document$i&commit=true
> "
>
> I don't understand what is literal.id ?? Is it mandatory. [Please share
> reading links if known]
>
>  </head><body><h1>HTTP Status 404 - /solr/#/dev/update/extract</h1><HR
> size="1" noshade="noshade"><p><b>type</b> Status
> report</p><p><b>*message*</b>
> <u>/solr/#dev/update/extract</u></p><p><b>description</b> <u>The requested
> resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache
> Tomcat/7.0.42</h3></bod
>
> Whats wrong?
>
> Regards,
> Priti
>

Reply via email to