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. <vbsow...@gmail.com> 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 am confused about some points in the readme file and hence the email.
>
> 2. modify your schema.xml adding the fields you want to be hold metadata 
> specifying proper values for type, indexed, stored and multiValued options:
>
> -I understood this line as: adding to my schema.xml, the new fields that
> will come as a result of a UIMA pipeline. For example, in my UIMA pipeline,
> post-processing, I get fields A,B,C in addition to fields X,Y,Z that I
> already added to the SolrInputDocument. So, does this mean I should add
> A,B,C to the schema.xml?
>
> 3. In SolrConfig.xml,
>
> inside,
>
> <uimaConfig>
>     <runtimeParameters>
>
> if iam not using any of those "alchemy api key..." etc, I think I can
> remove those lines. However, I plan to use the openNLP tagger & tokenizer,
> and an annotator I wrote for my task. Can I give my model file locations
> here as runtimeParameters?
>
> 4. I did not understand what "fieldMapping" tag does. The description said:
> "field mapping describes which features of which types should go in a
> field"--
> - For example, in this snippet from the link:
>
>  <type name="org.apache.uima.alchemy.ts.concept.ConceptFS">
>        <map feature="text" field="concept"/>
>       </type>
>
> -what does "feature" mean and what does "field" mean?
>
>
> I did not understand the fieldmapping tag right and did not find any help
> in previous mails. Hence, mailing the group. Sorry for the long mail!
>
> Regards
> Sowmya V.B.
> ----------------------------------------------------
> Losing optimism is blasphemy!
> http://vbsowmya.wordpress.com
> ----------------------------------------------------
>



-- 
Sowmya V.B.
----------------------------------------------------
Losing optimism is blasphemy!
http://vbsowmya.wordpress.com
----------------------------------------------------

Reply via email to