Getting error while indexing XML files on Hadoop

2015-01-13 Thread celebis
electronics connector car power adapter for iPod, white 2 11.50 1 false 37.7752,-122.4232 2006-02-14T23:55:59Z -- View this message in context: http://lucene.472066.n3.nabble.com/Getting-error-while-indexing-XML-files-on-Hadoop-tp4179168.html Sent from the Solr - User

Re: [Indexing XML files in Solr with DataImportHandler]

2013-10-16 Thread Gora Mohanty
On 16 October 2013 13:06, kujta1 wrote: > it is not indexing, it is saying there are no files indexed If you expect answers on the mailing list it might be best to provide details here. From a quick glance at Stackoverflow, it looks like you need a FileListEntityProcessor. Searching Google turns

Re: [Indexing XML files in Solr with DataImportHandler]

2013-10-16 Thread kujta1
it is not indexing, it is saying there are no files indexed -- View this message in context: http://lucene.472066.n3.nabble.com/Indexing-XML-files-in-Solr-with-DataImportHandler-tp4095628p4095811.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: [Indexing XML files in Solr with DataImportHandler]

2013-10-15 Thread Shalin Shekhar Mangar
What is not working? Are you seeing any exceptions in the logs? On Tue, Oct 15, 2013 at 3:53 PM, kujta1 wrote: > hello i have problems wih indexing xml file format. my solrconfigdaa-config > and solr files are here > > http://stackoverflow.com/questions/19337979/indexing-xml-files-

[Indexing XML files in Solr with DataImportHandler]

2013-10-15 Thread kujta1
hello i have problems wih indexing xml file format. my solrconfigdaa-config and solr files are here http://stackoverflow.com/questions/19337979/indexing-xml-files-in-solr-with-dataimporthandlerCan sombody help me why thi is not working!!thank you -- View this message in context: http://lucene

Re: full-text indexing XML files

2009-12-11 Thread Lance Norskog
ks...@gmail.com] > Sent: Thursday, December 10, 2009 7:43 PM > To: solr-user@lucene.apache.org > Subject: Re: full-text indexing XML files > > Or CDATA (much easier to work with). > > On Wed, Dec 9, 2009 at 10:37 PM, Shalin Shekhar Mangar > wrote: >> On Thu, Dec 10, 2

Re: full-text indexing XML files

2009-12-11 Thread Walter Underwood
d by XML syntax)? > > -Original Message- > From: Walter Underwood [mailto:wun...@wunderwood.org] > Sent: Thursday, December 10, 2009 8:00 PM > To: solr-user@lucene.apache.org > Subject: Re: full-text indexing XML files > > What kind of searches do you want to do? Do you w

RE: full-text indexing XML files

2009-12-11 Thread Feroze Daud
Underwood [mailto:wun...@wunderwood.org] Sent: Thursday, December 10, 2009 8:00 PM To: solr-user@lucene.apache.org Subject: Re: full-text indexing XML files What kind of searches do you want to do? Do you want to do searches that match the XML tags? wunder On Dec 10, 2009, at 7:43 PM, Lance

RE: full-text indexing XML files

2009-12-11 Thread Feroze Daud
CDATA didn’t work either.It still complained about the input doc not being in correct format. -Original Message- From: Lance Norskog [mailto:goks...@gmail.com] Sent: Thursday, December 10, 2009 7:43 PM To: solr-user@lucene.apache.org Subject: Re: full-text indexing XML files Or CDATA

Re: full-text indexing XML files

2009-12-10 Thread Walter Underwood
What kind of searches do you want to do? Do you want to do searches that match the XML tags? wunder On Dec 10, 2009, at 7:43 PM, Lance Norskog wrote: > Or CDATA (much easier to work with). > > On Wed, Dec 9, 2009 at 10:37 PM, Shalin Shekhar Mangar > wrote: >> On Thu, Dec 10, 2009 at 5:13 AM,

Re: full-text indexing XML files

2009-12-10 Thread Lance Norskog
Or CDATA (much easier to work with). On Wed, Dec 9, 2009 at 10:37 PM, Shalin Shekhar Mangar wrote: > On Thu, Dec 10, 2009 at 5:13 AM, Feroze Daud wrote: > >> Hi! >> >> >> >> I am trying to full text index an XML file. For various reasons, I >> cannot use Tika or other technology to parse the XML

Re: full-text indexing XML files

2009-12-09 Thread Shalin Shekhar Mangar
On Thu, Dec 10, 2009 at 5:13 AM, Feroze Daud wrote: > Hi! > > > > I am trying to full text index an XML file. For various reasons, I > cannot use Tika or other technology to parse the XML file. The > requirement is to full-text index the XML file, including Tags and > everything. > > > > So, I cr

full-text indexing XML files

2009-12-09 Thread Feroze Daud
Hi! I am trying to full text index an XML file. For various reasons, I cannot use Tika or other technology to parse the XML file. The requirement is to full-text index the XML file, including Tags and everything. So, I created a input index spec like this: 1001 NASA Advanced Researc

Re: Error when indexing XML files

2009-10-15 Thread Fergus McMenemie
>Hi, > >Please find the schema file attached. Please let me know what I am doing wrong. > >Regards >Chaitali > >--- On Wed, 10/14/09, Fergus McMenemie wrote: > > >From: Fergus McMenemie >Subject: Re: Error when indexing XML files >To: solr-user@lucene.

Re: Error when indexing XML files

2009-10-15 Thread Fergus McMenemie
Hi, Please find the schema file attached. Please let me know what I am doing wrong. Regards Chaitali --- On Wed, 10/14/09, Fergus McMenemie wrote: From: Fergus McMenemie Subject: Re: Error when indexing XML files To: solr-user@lucene.apache.org Date: Wednesday, October 14, 2009, 2:25 AM

Re: Error when indexing XML files

2009-10-14 Thread Chaitali Gupta
Hi, Please find the schema file attached. Please let me know what I am doing wrong. Regards Chaitali --- On Wed, 10/14/09, Fergus McMenemie wrote: From: Fergus McMenemie Subject: Re: Error when indexing XML files To: solr-user@lucene.apache.org Date: Wednesday, October 14, 2009, 2:25 AM

Re: Error when indexing XML files

2009-10-13 Thread Fergus McMenemie
>Hi, > >I am trying to index XML files using SolrJ. The original XML file contains >nested elements. For example, the following is the snippet of the XML file. > > >  SOMETHING >  SOME_OTHER_THING >  > >I have added the elements "name" and "facility" in Schema.xml file to make >these e

Error when indexing XML files

2009-10-13 Thread Chaitali Gupta
Hi, I am trying to index XML files using SolrJ. The original XML file contains nested elements. For example, the following is the snippet of the XML file.   SOMETHING   SOME_OTHER_THING   I have added the elements "name" and "facility" in Schema.xml file to make these elements inde

Re: Question on modifying solr behavior on indexing xml files..

2009-10-02 Thread Shalin Shekhar Mangar
On Thu, Oct 1, 2009 at 3:10 PM, Thung, Peter C CIV SPAWARSYSCEN-PACIFIC, 56340 wrote: > 1. In my playing around with > sending in an XML document within a an XML CDATA tag, > with termVectors="true" > > I noticed the following behavior: > peter > collapses to the term > personpeterperson > inste

Question on modifying solr behavior on indexing xml files..

2009-10-01 Thread Thung, Peter C CIV SPAWARSYSCEN-PACIFIC, 56340
1. In my playing around with sending in an XML document within a an XML CDATA tag, with termVectors="true" I noticed the following behavior: peter collapses to the term personpeterperson instead of person and peter separately. I realize I could try and do a search and replaces of characters

Re: query regarding Indexing xml files -db-data-config.xml

2009-05-18 Thread jayakeerthi s
Hi Noble, Thanks for the reply, As advised I have changed the db-data-config.xml as below. But still the Indexing completed. Added/Updated: 0 documents. Deleted 0 documents. Got error as below when baseDir is removed INFO:

Re: query regarding Indexing xml files -db-data-config.xml

2009-05-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
hi , u may not need that enclosing entity , if you only wish to index one file. baseDir is not required if you give absolute path in the fileName. no need to mention forEach or fields if you set useSolrAddSchema="true" On Sat, May 16, 2009 at 1:23 AM, jayakeerthi s wrote: > Hi All, > > I am try

Re: query regarding Indexing xml files -db-data-config.xml

2009-05-16 Thread Fergus McMenemie
Hmmm, I thought that if you were using the XPathEntityProcessor that you have to specify an xpath for each of the fields you want to populate. Unless you are using XPathEntityProcessor's use useSolrAddSchema mode? Fergus. >If that is your complete input file then it looks like you are missing

Re: query regarding Indexing xml files -db-data-config.xml

2009-05-15 Thread jayakeerthi s
Many thanks for the reply The complete input xml file is below I missed to include this earlier. F8V7067-APL-KIT Belkin Mobile Power Cord for iPod w/ Dock Belkin electronics connector car power adapter, white 4 19.95 1 false IW-02 iPod & iPod Mini USB 2.0 Cable Belk

Re: query regarding Indexing xml files -db-data-config.xml

2009-05-15 Thread Jay Hill
If that is your complete input file then it looks like you are missing the wrapping element: F8V7067-APL-KIT > field> > Belkin Mobile Power Cord for iPod w/ Dock > Belkin > electronics > connector > car power adapter, white > 4 > 19.95 > 1 > false > Is it possible you just forgot

query regarding Indexing xml files -db-data-config.xml

2009-05-15 Thread jayakeerthi s
Hi All, I am trying to index the fileds from the xml files, here is the configuration that I am using. db-data-config.xml Schema.xml has the field "manu" The input xml file used to import the field is F8V7067-APL-KIT Belkin Mo

Re: Indexing XML files

2006-12-07 Thread Chris Hostetter
: I looked at the XSD and there is one thing I don't understand: : : If the desired way is to conform to the XSD (and hence the types used in XSD), : then how would it possible to use user-defined fieldtypes as plugins? Wouldn't : they violate the same principle? The XSD is intended to match th

Re: Indexing XML files

2006-12-07 Thread mirko
Thank you all for the quick responses. They were very helpful. My XML is well-formed, so I ended up implementing my own FieldType: public class XMLField extends TextField { public void write(XMLWriter xmlWriter, String name, Fieldable f) throws IOException { xmlWriter.writePrim("xml", name

Re: Indexing XML files

2006-12-06 Thread Yonik Seeley
On 12/6/06, Graham O'Regan <[EMAIL PROTECTED]> wrote: couldn't you use a cdata section? That's just another form of escaping. Mirko actually want's the XML field value to be part of the XML of Solr's response, not encapsulated by it. -Yonik

Re: Indexing XML files

2006-12-06 Thread Graham O'Regan
couldn't you use a cdata section? Chris Hostetter wrote: Since XML is the transport for sending data to Solr, you need to make sure all field values are XML escaped. If you wanted to index a plain text "title" and that tile contained an ampersand character Sense & Sensability ...y

Re: Indexing XML files

2006-12-05 Thread Chris Hostetter
: At some point, it would be simpler to write a custom response handler : and generate the output in your desired XML format. I think Walters got the right idea ... as a general rule, we want to make the XmlResponseWriter "bullet proof" so that no matter waht data you put into your index, it is g

Re: Indexing XML files

2006-12-05 Thread Walter Underwood
At some point, it would be simpler to write a custom response handler and generate the output in your desired XML format. wunder On 12/5/06 1:52 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > the idea is to apply XSLT transformation on the result. But it seems that > I would have

Re: Indexing XML files

2006-12-05 Thread mirko
Hi, the idea is to apply XSLT transformation on the result. But it seems that I would have to apply two transformations in a row, one which unescapes the escaped node and a second which performs the actual transformation... mirko Quoting Yonik Seeley <[EMAIL PROTECTED]>: > On 12/5/06, [EMAIL

Re: Indexing XML files

2006-12-05 Thread mirko
You are right, it is escaped. But my question is: (how) can I make it unescaped? mirko Quoting Yonik Seeley <[EMAIL PROTECTED]>: ... > > I bet it is escaped, but your browser has helpfully displayed it as > unescaped. > Try doing CTRL-U in firefox to see the real source for the reply. > > > -Y

Re: Indexing XML files

2006-12-05 Thread Yonik Seeley
On 12/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Thanks for the quick response. Now, I have one more question. Is it possible to get the result for a query back in the following form (considering the input is the escaped xml, what you mentioned before): 0 0 As You Like

Re: Indexing XML files

2006-12-05 Thread mirko
Hi, Thanks for the quick response. Now, I have one more question. Is it possible to get the result for a query back in the following form (considering the input is the escaped xml, what you mentioned before): 0 0 As You Like It (Promptbook of McVicars 1860)Shakespeare, William,

Re: Indexing XML files

2006-12-05 Thread Mike Klaas
On 12/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: You are right, it is escaped. But my question is: (how) can I make it unescaped? I don't think solr will support such functionality. The xml that solr uses to return data is completely orthogonal to the xml embedded in the data, and mix

Re: Indexing XML files

2006-12-05 Thread Yonik Seeley
On 12/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: You are right, it is escaped. But my question is: (how) can I make it unescaped? For what purpose? If you use an XML parser, the values it gives back to you will be unescaped. -Yonik

Re: Indexing XML files

2006-12-05 Thread Chris Hostetter
Since XML is the transport for sending data to Solr, you need to make sure all field values are XML escaped. If you wanted to index a plain text "title" and that tile contained an ampersand character Sense & Sensability ...you would need to XML escape that as... Sense & Sen

Indexing XML files

2006-12-05 Thread mirko
Hi, I am trying to index an xml file as a field in lucene, see example below: As You Like it Shakespeare, William here goes the xml... I can index the title and author fields because they are strings, but the record field is an xml itself and I bump into some problems as I cannot dir