[ 
https://issues.apache.org/jira/browse/SOLR-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koji Sekiguchi updated SOLR-2436:
---------------------------------

    Attachment: SOLR-2436.patch

Hi Tommaso,

bq. However I think it should be good if it was possible to alternatively get 
rid of the uimaConfig file defining each parameter inside the Processor with 
Solr elements (str/lst/int etc.) as well.

I've done this in the attached patch. Please review it. I'm not confident about 
the part:

{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}

the structure is appropriate or not.

> 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
>            Priority: Minor
>         Attachments: 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to