Re: generation of SOLR XML
In the future, please send questions about "using" solr to the "solr-user" list. : in SOLR xml : start tag = : end tag = : : can you adivise anything on this please. if i'm understanding correctly, the fact that the "field" tag requires an "attribute" of name is what is confusing you ... check the documentation for what ever librabry you use to generate XML on how to create "attributes" for tags and you should be good to go. -Hoss
Re: generation of SOLR XML
I understand, i will post it to that group thank you very much aditya > On 3/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >> ...Yes the Xml formats is understood but there is an to generate these >> xmls >> from a data source. These XML feild tags doesnot contain the smae start >> tags and end tags. >> >> like software >> >> and standerd xml writers have xml generated as the same start and end >> tags > > IIUC you have "something" that generates XML like > > somedata > > And to index it with Solr you'll need something like > > somedata > > If this is what you mean, it's a basic XML generation problem, not a > Solr problem. You'll have to work with your "something" to either > configure it to generate a format that Solr can accept, or insert some > transformation in between, using XSLT or a similar tool. > > -Bertrand > > P.S. such questions really belong to the solr-user list, not solr-dev >
Re: generation of SOLR XML
On 3/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: ...Yes the Xml formats is understood but there is an to generate these xmls from a data source. These XML feild tags doesnot contain the smae start tags and end tags. like software and standerd xml writers have xml generated as the same start and end tags IIUC you have "something" that generates XML like somedata And to index it with Solr you'll need something like somedata If this is what you mean, it's a basic XML generation problem, not a Solr problem. You'll have to work with your "something" to either configure it to generate a format that Solr can accept, or insert some transformation in between, using XSLT or a similar tool. -Bertrand P.S. such questions really belong to the solr-user list, not solr-dev
Re: generation of SOLR XML
hai, Yes the Xml formats is understood but there is an to generate these xmls from a data source. These XML feild tags doesnot contain the smae start tags and end tags. like software and standerd xml writers have xml generated as the same start and end tags. in SOLR xml start tag = end tag = can you adivise anything on this please. regards, aditya > On 3/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >> ...can any one guide me on this XML generation, which SOLR will accepts >> for >> indexing... > > I'm not sure if I understand your question...the XML documents that > Solr accepts for indexing are similar to those found in > http://svn.apache.org/viewvc/lucene/solr/trunk/example/exampledocs/ , > and must use the field names defined in your schema.xml. > > -Bertrand >
Re: generation of SOLR XML
On 3/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: ...can any one guide me on this XML generation, which SOLR will accepts for indexing... I'm not sure if I understand your question...the XML documents that Solr accepts for indexing are similar to those found in http://svn.apache.org/viewvc/lucene/solr/trunk/example/exampledocs/ , and must use the field names defined in your schema.xml. -Bertrand
generation of SOLR XML
Hello, The XML that solr accepts is of the following structure SOLR1000 Solr, the Enterprise Search Server Apache Software Foundation In this XML the field tag, the start tag is not the same as the end tag can any one guide me on this XML generation, which SOLR will accepts for indexing. thanks and regards, Aditya.