Re: (Solr-UIMA) Indexing problems with UIMA fields.

2011-07-14 Thread Tommaso Teofili
2011/7/13 Sowmya V.B. vbsow...@gmail.com Hello Tomasso Thanks for the reply. I did added uima chain to /javabin handler as you suggested. Now, I get an internal server error! Here is the stacktrace. request: http://localhost:8080/apache-solr-3.3.0/update/javabin?wt=javabinversion=2

Re: (Solr-UIMA) Indexing problems with UIMA fields.

2011-07-14 Thread Sowmya V.B.
Hi All I worked without integrating UIMA in to Solr but doing it seperately..and it worked now! I did not use the Solr-UIMA update processor this time. What I did is this: 1) Take the document, extract the static fields i need... and later send it in to the pipeline. 2) Take the output of the

(Solr-UIMA) Indexing problems with UIMA fields.

2011-07-13 Thread Sowmya V.B.
Hi All I have a problem making the indexer work with the UIMA fields. Here is what I did (With the help of this community): I compiled a Solr-UIMA-snapshot, using ant clean dist, by adding my own annotators there. It compiled without any errors. and i obtained a jar file. Now, following the

Re: (Solr-UIMA) Indexing problems with UIMA fields.

2011-07-13 Thread Erick Erickson
If I'm reading this right, you're labeling certain fields as required. All docs MUST have those fields (I admit the error message could be more informative). So it sounds like things are behaving as I'd expect, your documents just don't contain the required fields. Best Erick On Wed, Jul 13,

Re: (Solr-UIMA) Indexing problems with UIMA fields.

2011-07-13 Thread Sowmya V.B.
Hi Eric* If I'm reading this right, you're labeling certain fields as required. All docs MUST have those fields (I admit the error message could be more informative). So it sounds like things are behaving as I'd expect, your documents just don't contain the required fields.* - But, the UIMA

Re: (Solr-UIMA) Indexing problems with UIMA fields.

2011-07-13 Thread Erick Erickson
I'll have to punt here. I don't know the internals well enough to say. I suppose it's possible that the required fields check happens *before* the UIMA stuff happens, but since I know so little about UIMA that's a blind guess at best... Anyone with real knowledge want to chime in here? Erick On

Re: (Solr-UIMA) Indexing problems with UIMA fields.

2011-07-13 Thread Tommaso Teofili
Hello, I think the problem might be the following, if you defined the update request handlers like in the sample solrconfig : updateRequestProcessorChain name=uima processor class=org.apache.solr.uima.processor.UIMAUpdateRequestProcessorFactory lst name=uimaConfig

Re: (Solr-UIMA) Indexing problems with UIMA fields.

2011-07-13 Thread Sowmya V.B.
Hello Tomasso Thanks for the reply. I did added uima chain to /javabin handler as you suggested. Now, I get an internal server error! Here is the stacktrace. request: http://localhost:8080/apache-solr-3.3.0/update/javabin?wt=javabinversion=2 org.apache.solr.common.SolrException: Internal