field name=popularity1/field
field name=inStockfalse/field
field name=store37.7752,-122.4232/field
field name=manufacturedate_dt2006-02-14T23:55:59Z/field
/doc
/add
--
View this message in context:
http://lucene.472066.n3.nabble.com/Getting-error-while-indexing-XML-files-on-Hadoop
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.
On 16 October 2013 13:06, kujta1 kujtim.rahm...@gmail.com 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.
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
-xml-files-in-solr-with-dataimporthandlerCan
sombody help me why thi is not working!!thank you
--
View this message in context:
http://lucene.472066.n3.nabble.com/Indexing-XML-files-in-Solr-with-DataImportHandler-tp4095628.html
Sent from the Solr - User mailing list archive at Nabble.com
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
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
)?
-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 want to do searches that
match the XML tags
...@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
shalinman...@gmail.com wrote:
On Thu, Dec 10, 2009 at 5:13 AM, Feroze
Or CDATA (much easier to work with).
On Wed, Dec 9, 2009 at 10:37 PM, Shalin Shekhar Mangar
shalinman...@gmail.com wrote:
On Thu, Dec 10, 2009 at 5:13 AM, Feroze Daud fero...@zillow.com wrote:
Hi!
I am trying to full text index an XML file. For various reasons, I
cannot use Tika or other
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
shalinman...@gmail.com wrote:
On Thu, Dec 10,
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:
add
doc
field
On Thu, Dec 10, 2009 at 5:13 AM, Feroze Daud fero...@zillow.com 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.
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 fer...@twig.me.uk wrote:
From: Fergus McMenemie fer...@twig.me.uk
Subject: Re: Error when indexing XML files
To: solr-user@lucene.apache.org
Date
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 fer...@twig.me.uk wrote:
From: Fergus McMenemie fer...@twig.me.uk
Subject: Re: Error when indexing XML files
To: solr-user@lucene.apache.org
Date
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.
entry
nameSOMETHING /name
facilitySOME_OTHER_THING/facility
/entry
I have added the elements name and facility in Schema.xml
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 fer...@twig.me.uk wrote:
From: Fergus McMenemie fer...@twig.me.uk
Subject: Re: Error when indexing XML files
To: solr-user@lucene.apache.org
Date
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.
entry
nameSOMETHING /name
facilitySOME_OTHER_THING/facility
/entry
I have added the elements name and facility in Schema.xml
On Thu, Oct 1, 2009 at 3:10 PM, Thung, Peter C CIV SPAWARSYSCEN-PACIFIC,
56340 peter.th...@navy.mil 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:
personpeter/person
collapses to the term
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:
personpeter/person
collapses to the term
personpeterperson
instead of
person
and
peter separately.
I realize I could try and do a search and replaces of
Hi Noble,
Thanks for the reply,
As advised I have changed the db-data-config.xml as below. But still the
str name=Indexing completed. Added/Updated: 0 documents. Deleted 0
documents./str
dataConfig
dataSource type=FileDataSource name =xmlindex/
document name=products
entity
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 mail2keer...@gmail.com wrote:
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
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
dataConfig
dataSource type=FileDataSource name =xmlindex/
document name=products
entity name=xmlfile processor=FileListEntityProcessor
If that is your complete input file then it looks like you are missing the
wrapping add/add element:
add
doc
field name=idF8V7067-APL-KIT/
field
field name=nameBelkin Mobile Power Cord for iPod w/ Dock/field
field name=manuBelkin/field
field name=catelectronics/field
field
Many thanks for the reply
The complete input xml file is below I missed to include this earlier.
add
doc
field name=idF8V7067-APL-KIT/field
field name=nameBelkin Mobile Power Cord for iPod w/ Dock/field
field name=manuBelkin/field
field name=catelectronics/field
field
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,
: 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
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
...you
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
Hi,
I am trying to index an xml file as a field in lucene, see example below:
add
doc
field name=titleAs You Like it/field
field name=authorShakespeare, William/field
field name=recordmyxmlhere goes the xml.../myxml/field
/doc
/add
I can index the title and author fields because they
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
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):
response
responseHeader
status0/status
QTime0/QTime
/responseHeader
result
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):
response
responseHeader
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
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 to
: 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
37 matches
Mail list logo