Re: generation of SOLR XML

2007-03-07 Thread netaji . k

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 field name=catsoftware/field

and standerd xml writers have xml generated as the same start and end tags.

in SOLR xml
start tag = field name=cat
end tag =  /field

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

2007-03-07 Thread netaji . k

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 field name=catsoftware/field

 and standerd xml writers have xml generated as the same start and end
 tags

 IIUC you have something that generates XML like

   somefieldsomedata/somefield

 And to index it with Solr you'll need something like

   field name=somefieldsomedata/field

 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