Re: Problems with DIH and missing fields.

2011-04-01 Thread Marcelo Iturbe
Solved it! commonField="true" should be commonField="false" mistakes that happen when copying source a sample proyect... Thanks for your help. On Fri, Apr 1, 2011 at 10:29 AM, Marcelo Iturbe wrote: > > Hello, > I was able to repeat this behaviour in So

Re: Problems with DIH and missing fields.

2011-04-01 Thread Marcelo Iturbe
Stefan Matheis < matheis.ste...@googlemail.com> wrote: > Marcelo, > > could you paste the relevant parts of your DIH config? > > Regards > Stefan > > On Thu, Mar 31, 2011 at 9:55 PM, Marcelo Iturbe > wrote: > > Hello, > > I have an XML which contains personal

Re: HTTP Status 500 - Severe errors in solr configuration change: false in null ------------------------------------------------------------- org

2011-03-31 Thread Marcelo Iturbe
Hello, The error message states: The markup in the document following the root element must be well-formed Which means that one of your XML files is broken (invalid). It might be the solrconfig.xml file. Check the structure of these files, open them in a browser which checks for XML structure (su

Re: Concatenate multivalued DIH fields

2011-03-31 Thread Marcelo Iturbe
Hello, In the schema.xml file you can contenate much easier. Hope this helps On Tue, Mar 29, 2011 at 3:01 PM, neha wrote: > I have two multivalued DIH fields "fname" and "lname". I want to > concatenate > each of the fname and lname pairs to get a third multivalued DIH field >

Problems with DIH and missing fields.

2011-03-31 Thread Marcelo Iturbe
Hello, I have an XML which contains personal contacts. Not all contacts have the same fields (email, phone, postal). The problem is that when certain fields are NOT present, SOLR is injecting the previous contacts data. For example, assume the following from the XML feed: Jane Doe

Re: Question regarding XSLT

2011-03-30 Thread Marcelo Iturbe
ot; > that might do the trick. > > See http://www.w3.org/TR/xslt#output for more info. > > Steve > > > -Original Message- > > From: Marcelo Iturbe [mailto:marc...@santiago.cl] > > Sent: Wednesday, March 30, 2011 1:24 PM > > To: solr-user@lucene.apach

Question regarding XSLT

2011-03-30 Thread Marcelo Iturbe
Hello, I currently have set up Solr working and I am doing tests with the XSL stylesheets. I had no problem in generating HTML files, but while trying to generate Json files I noticed something odd.. I am calling Solr with the following URL: http://172.16.0.30:8983/solr/gcontacts/select?q=apache*

DIH with XML question.

2011-03-29 Thread Marcelo Iturbe
Hello, I have an XML with multiple nodes with the same name. In the data-config.xml document, I have set up: But this only feeds the last email address into Solr (in the case bellow, mv...@yahoo.org appears in Solr). The XML for each entity is as follows: http://www.go

Newbie wants to index XML content.

2011-03-24 Thread Marcelo Iturbe
Hello, I've been reading up on how to index XML content but have a few questions. How is data in element attributes handled or defined? How are nested elements handled? In the following XML structure, I want to index the content of what is between the tags. In one XML document, there can be up t