Did you send a commit after you sent the document?

On Tue, Apr 17, 2018 at 8:23 AM, Alexey Ponomarenko <alex1989s...@gmail.com>
wrote:

> Hi once more I am trying to implement named entities extraction using this
> manual
> https://lucene.apache.org/solr/7_3_0//solr-analysis-
> extras/org/apache/solr/update/processor/OpenNLPExtractNamedEntitiesUpd
> ateProcessorFactory.html
>
> I am modified solrconfig.xml like this:
>
>  <updateRequestProcessorChain name="multiple-extract">
>    <processor class="solr.OpenNLPExtractNamedEntitiesUpd
> ateProcessorFactory">
>      <str name="modelFile">opennlp/en-ner-person.bin</str>
>      <str name="analyzerFieldType">text_opennlp</str>
>      <str name="source">description_en</str>
>      <str name="dest">content</str>
>    </processor>
>  </updateRequestProcessorChain>
>
> But when I was trying to add data using:
>
> *request:*
>
> POST
> http://localhost:8983/solr/numberplate/update?version=2.
> 2&wt=xml&update.chain=multiple-extract
>
> <add><doc><field name="description_en">This is Steve Jobs 2
> </field><field name="content_pos">This is text 2</field><field
> name="content">This is text for content 2</field></doc></add>
>
> *response*
>
> <?xml version="1.0" encoding="UTF-8"?>
> <response>
>     <lst name="responseHeader">
>         <int name="status">0</int>
>         <int name="QTime">3</int>
>     </lst>
> </response>
>
> But I don't see any data inserted to *content* field and in any other
> field.
>
> *If you need some additional data I can provide it.*
>
> Can you help me? What have I done wrong?
>

Reply via email to