On 12/5/06, Andrew Nagy <[EMAIL PROTECTED]> wrote:
Hello, I am new to SOLR but very excited for it's possibilities.
I am having some difficulties with my data import which I hope can be
solved very easily.
First I wrote an xslt to transform my xml into the solr schema and
modified the schema.xml to match the fields that I created. I then ran
the post.sh on my 492,000 records that I have. Near the end of the
process the records stopped being added due to a memory heap error. I
obviously maxed the allotted memory for the import. Next time I will
import less at a time!
Did you increase the JVM heap size?
I then posted a commit statement.
Correct operation of the server after an OOM exception isn't really
guaranteed (the excpetion may happen in any thread, in any library,
including that of the app server).
I went to my solr admin site and
looked at the statistics. It said 372,000 records (roughly) were stored
and 1 commit. I tried to do a search but no matter what I search for I
get 0 results. I even tried title:"the" (assuming it is not blocking
the stop word, it should return something!).
It appears to me that the search is not searching any records. Any idea
as to what I might need to do, or should I start over from scratch and
re-import my records in smaller chunks?
That might help, but may not be sufficient if you don't have enough heap memory.
-Yonik