You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2011/05/07 04:17:03 UTC

[jira] [Commented] (SOLR-2436) move uimaConfig to under the uima's update processor in solrconfig.xml

    [ https://issues.apache.org/jira/browse/SOLR-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030256#comment-13030256 ] 

Koji Sekiguchi commented on SOLR-2436:
--------------------------------------

While I was reviewing my requirement:

http://www.lucidimagination.com/search/document/983a059d6d370ce/uima_fieldmappings_and_solr_dynamicfield

I found a bug that's been introduced in this ticket. I'd mentioned it at above in this thread, but not corrected at the time.

Because a type can have multiple features, the mapping definition:

{code}
<lst name="fieldMappings">
  <lst name="mapping">
    <str name="type">org.apache.uima.SentenceAnnotation</str>
    <str name="feature">coveredText</str>
    <str name="field">sentence</str>
  </lst>
</lst>
{code}

should be:

{code}
<lst name="fieldMappings">
  <lst name="type">
    <str name="name">org.apache.uima.SentenceAnnotation</str>
    <lst name="mapping">
      <str name="feature">coveredText</str>
      <str name="field">sentence</str>
    </lst>
  </lst>
</lst>
{code}



> move uimaConfig to under the uima's update processor in solrconfig.xml
> ----------------------------------------------------------------------
>
>                 Key: SOLR-2436
>                 URL: https://issues.apache.org/jira/browse/SOLR-2436
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 3.1
>            Reporter: Koji Sekiguchi
>            Assignee: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.2, 4.0
>
>         Attachments: SOLR-2436-3.patch, SOLR-2436.patch, SOLR-2436.patch, SOLR-2436.patch, SOLR-2436.patch, SOLR-2436_2.patch
>
>
> Solr contrib UIMA has its config just beneath <config>. I think it should move to uima's update processor tag.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org