lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Sekiguchi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2436) move uimaConfig to under the uima's update processor in solrconfig.xml
Date Sat, 07 May 2011 02:17:03 GMT

    [ 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


Mime
View raw message