did you explore using SolrJ to index data?
http://wiki.apache.org/solr/Solrj

or DataImportHandler.
http://wiki.apache.org/solr/DataImportHandler

On Fri, Jan 9, 2009 at 3:49 AM, Otis Gospodnetic
<otis_gospodne...@yahoo.com> wrote:
> 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 <p...@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
>
>



-- 
--Noble Paul

Reply via email to