Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-12 Thread Sowmya V.B.
Hi I've fixed the missing license issues by attaching a license.txt file to my jar files. Everything gets built now, with a single error. /Users/svajjala/Downloads/apache-solr-3.3.0/solr/contrib/uima/src/main/java/org/apache/solr/uima/processor/UIMAToSolrMapper.java:62: type org.apache.uima.cas.

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-12 Thread Sowmya V.B.
Hi Koji Yes, I do use SolrJ. I began recompiling the whole thing... since I thought the problem is the UIMA snapshot. Previously, I compiled files from eclipse and it worked fine. (Now I realize that eclipse compiled it because I added my jar files to its build path) I am now getting build error

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-12 Thread Koji Sekiguchi
Hmm, I'm bit confused. Do you really use SolrJ ? If so: > If I put it inside /update, the following is the stacktrace: > request: > http://localhost:8080/apache-solr-3.3.0/update/javabin?wt=javabin&version=2 > org.apache.solr.common.SolrException: Bad Request what did you mean by "it" and why d

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-12 Thread Sowmya V.B.
Yes, I do have an '/update/javabin' request handler in SolrConfig. But, should I remove that? I tried putting the UIMA update chain inside /update/javabin instead of /update request handler.. uima .and here is the stacktrace: request: http://localhost:8080/apache-solr-3.3.0/update

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-11 Thread Koji Sekiguchi
I don't think you have wrong setting in UIMA, but you may have the request handler named "/update/javabin" in solrconfig.xml is not correct? koji -- http://www.rondhuit.com/en/ (11/07/12 0:52), Sowmya V.B. wrote: Hi I just added the fields which are added to the index by one of the annotators

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-11 Thread Sowmya V.B.
Hi I just added the fields which are added to the index by one of the annotators to the index, in the fieldmappings section. I am not getting any compilation errors and still see the admin interface. However, when I index, i just get a SolrException, org.apache.solr.common.SolrException: Bad Requ

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-11 Thread Koji Sekiguchi
disclaimer: I'm not an expert of UIMA. I've just started using it when Solr 3.1 integrated UIMA! Thanks for the clarification. Now, I get it. Should section mention all the annotators, even if the annotators do not add any new fields? For example, if I have a pipeline, starting from "parser"

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-11 Thread Sowmya V.B.
Koji Thanks for the clarification. Now, I get it. Should section mention all the annotators, even if the annotators do not add any new fields? For example, if I have a pipeline, starting from "parser", "tokenizer" and "tagger", all of them operate on a field called "text"..which is the of the d

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-11 Thread Koji Sekiguchi
Sowmya, The combination of fieldNameFeature and dynamicField can be used when using, e.g. named entity extractor that tend to produce a lot of attributes, organization, location, country, building, spot, title,... If you are going to use such named entity extractor, you don't want to define each

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-11 Thread Sowmya V.B.
Hi Koji Thanks a lot for the examples. Now, I was able to compile a JAR snapshot, with my own UIMA pipeline. However, despite seeing the example solrconfig.xml, I am not able to figure out how to add mine. In the example: entity name *_sm I still don't understand wha

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-08 Thread Koji Sekiguchi
Now I've pasted sample solrconfig.xml to the project top page. Can you visit and look at it again? koji -- http://www.rondhuit.com/en/ (11/07/09 2:29), Sowmya V.B. wrote: Hi Koji Thanks. I have checked out the code and began looking at it. The code examples gave me an idea of what to do,though

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-08 Thread Sowmya V.B.
Hi Koji Thanks. I have checked out the code and began looking at it. The code examples gave me an idea of what to do,though I am not fully clear, since there are no comments there, to verify my understanding. Hence, mailing again for clarification. In NamedEntity.java, you add two fields "name",

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-08 Thread Sujit Pal
Hi Sowmya, I basically wrote an annotator and built a buffering tokenizer around it so I could include it in a Lucene analyzer pipeline. I've blogged about it, not sure if its good form to include links to blog posts in public forums, but here they are, apologies in advance if this is wrong (let m

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-08 Thread Koji Sekiguchi
(11/07/08 16:19), Sowmya V.B. wrote: Hi Koji Thanks for the mail. Thanks for all the clarifications. I am now using the version 3.3.. But, another query that I have about this is: How can I add an annotator that I wrote myself, in to Solr-UIMA? Here is what I did before I moved to Solr: I wrot

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-08 Thread Sowmya V.B.
Hi Koji Thanks for the mail. Thanks for all the clarifications. I am now using the version 3.3.. But, another query that I have about this is: How can I add an annotator that I wrote myself, in to Solr-UIMA? Here is what I did before I moved to Solr: I wrote an annotator (which worked when I use

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-07 Thread Koji Sekiguchi
(11/07/07 18:38), Sowmya V.B. wrote: Hi I am trying to add UIMA module in to Solr..and began with the readme file given here. https://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_3_1/solr/contrib/uima/README.txt I would recommend you to use Solr 3.3 rather than 3.1, as we have changed

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-07 Thread Sowmya V.B.
Can someone help me with this please? I am not able to understand from the readme.txt file provided in the trunk...how to plugin my own annotator in to solr. Sowmya. On Thu, Jul 7, 2011 at 11:38 AM, Sowmya V.B. wrote: > Hi > > I am trying to add UIMA module in to Solr..and began with the readm

(Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-07 Thread Sowmya V.B.
Hi I am trying to add UIMA module in to Solr..and began with the readme file given here. https://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_3_1/solr/contrib/uima/README.txt I am confused about some points in the readme file and hence the email. 2. modify your schema.xml adding the fiel