You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Sara Amato <sa...@willamette.edu> on 2013/10/18 23:11:44 UTC

loading djvu xml into solr

Does anyone have a schema they'd be willing to share for loading djvu xml into solr?  
 

Re: loading djvu xml into solr

Posted by sara amato <sa...@willamette.edu>.
Ah, thanks for the clarification - I was having a serious misunderstanding!  (As you can tell I'm newly off the tutorial and blundering ahead...)

On Oct 18, 2013, at 2:22 PM, Upayavira wrote:

> 
> 
> On Fri, Oct 18, 2013, at 10:11 PM, Sara Amato wrote:
>> Does anyone have a schema they'd be willing to share for loading djvu xml
>> into solr?  
> 
> I assume that djvu XML is a particular XML format? In which case, there
> is no schema that can do it. That's not how Solr works.
> 
> You need to use the XML format expected by Solr. Or, you can add
> tr=xxxx.xsl to the URL, and use an XSL stylesheet to transform your XML
> into Solr's XML format.
> 
> The schema defines the fields that are present in the index, not the
> format of the XML used.
> 
> Upayavira


Re: loading djvu xml into solr

Posted by Upayavira <uv...@odoko.co.uk>.

On Fri, Oct 18, 2013, at 10:11 PM, Sara Amato wrote:
> Does anyone have a schema they'd be willing to share for loading djvu xml
> into solr?  

I assume that djvu XML is a particular XML format? In which case, there
is no schema that can do it. That's not how Solr works.

You need to use the XML format expected by Solr. Or, you can add
tr=xxxx.xsl to the URL, and use an XSL stylesheet to transform your XML
into Solr's XML format.

The schema defines the fields that are present in the index, not the
format of the XML used.

Upayavira