Cannot perform langid work in Solr 4.0

I just installed Solr, and now I'm experimenting to find out how to use it. I would like to use Solr Cell and langid functions, so I followed related tutorials. Solr Cell works, but I can't get anything done.

In solrconfig.xmlI have this:

<updateRequestProcessorChain name="langid">
  <processor class="org.apache.solr.update.processor.LangDetectLanguageIdentifierUpdateProcessorFactory">
    <str name="langid.fl">text,title,subject,description</str>
    <str name="langid.langField">language_s</str>
    <str name="langid.fallback">en</str>
    <bool name="langid.map">true</bool>
  </processor>
  <processor class="solr.LogUpdateProcessorFactory" />
  <processor class="solr.RunUpdateProcessorFactory" />
</updateRequestProcessorChain>

(I also tried with Tika) and I am sending a document using

curl "http://localhost:8983/solr/update/extract?literal.id=test&commit=true" -F "myfile=@test.xml"

But when I request, it text:[* TO *]returns my document to me, but it text_en:[* TO *]does not work; language_s, even if I declare it saved, is stubbornly absent; *:wordfinds nothing, even if there "words", so that it does not work out; and I can’t find anything in the magazine. My best guess is langid is not working and I have no idea why.

EDIT: : docs: p

langid , ( ). , :

curl "http://localhost:8983/solr/update/extract?literal.id=test&commit=true&update.chain=langid" -F "myfile=@test.xml"
+5
1

: docs: p

langid , ( ). , :

curl "http://localhost:8983/solr/update/extract?literal.id=test&commit=true&update.chain=langid" -F "myfile=@test.xml"
0

All Articles