Problems using Solr with UIMA

2011-07-04 Thread Sowmya V.B.
Hi All I tried integrating UIMA in to Solr, following the instructions here: https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/contrib/uima/README.txt However, I set a solrconfig error, when I try to run Solr as a webapp, on Eclipse. org.apache.solr.common.SolrException: Error loading

Re: Problems using Solr with UIMA

2011-07-04 Thread Tommaso Teofili
Hello Sowmya, Is the problem a ClassNotFoundException? If so check there exist a lib element referencing the solr-uima jar. Otherwise it may be some configuration error. By the way, which version of Solr are you using ? I ask since you're seeing README for trunk but you may be using Solr jars with

Re: Problems using Solr with UIMA

2011-07-04 Thread Sowmya V.B.
Hi Tommaso, I am using: Solr 3.3, that got released last week. The Readme on the Solr version I have also had the same info as the read me on that link. There exists a lib element in my solrconfig.xml. lib dir=../../dist/ regex=apache-solr-uima-\d.*\.jar / Here is my trace: from this, it

Re: Problems using Solr with UIMA

2011-07-04 Thread Tommaso Teofili
Hello Sowmya, I've just made a fresh checkout from http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_3_3/ then I've done the following: 1. cd solr 2. ant example 3. cd solr/contrib/uima 4. ant dist 5. cd ../../example 6. edit solr/conf/solrconfig.xml 7. copied-pasted lib directives:

Re: Problems using Solr with UIMA

2011-07-04 Thread Sowmya V.B.
Hello Tomasso It was indeed a relative path issue inside eclipse. I key-ed in the total path instead of ../../ and it ran without throwing an error. However, when I gave the path for index as an old lucene index directory's path and modified schema.xml accordingly, it still says numDocs = 0,

Re: Problems using Solr with UIMA

2011-07-04 Thread Sowmya V.B.
Hello Tomasso I noticed that though I can see the Solr Admin interface, when I click on links schema and conf, its not taking me to the pages inside solr/conf/ folder of the webapp, again, I guess because of eclipse paths. This is the stack trace on console: INFO: Solr home set to 'solr/./' Jul