lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Beginner: importing own data
Date Thu, 08 Jan 2009 22:19:18 GMT
Phil,

The easiest thing to do at this stage in Solr learning experience is to restart Solr (servlet
container) and redo the search.  Results shouls start showing up then because this will effectively
reopen the index.


Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: phil cryer <phil@cryer.us>
> To: solr-user@lucene.apache.org
> Sent: Thursday, January 8, 2009 5:00:29 PM
> Subject: Beginner: importing own data
> 
> So I have Solr running, I've run through the tutorials online, can
> import data from the example xml and see the results, so it works!
> Now, I take some xml data I have, convert it over to the add / doc
> type that the demo ones are, run it and find out which fields aren't
> defined in schema.xml, I add them there until they're all there and I
> can finally import my own xml into solr w/o error.  But, when I go to
> query solr, it's not there.  Again, I'm using the same procedure that
> I used on the example xml files, and they did the 'commit' at the end,
> so I'm doing something wrong.
> 
> Is that all I need to do, define my fields in schema.xml and then
> import via post.jar?  It seems to work, but no results are ever found
> by solr.  I'm open to trying any debugging or whatever, I need to
> figure this out before I can start learning solr.
> 
> Thanks
> 
> P


Mime
View raw message