Hi Ahmet, thanks for your reply. Adding &update.chain=langid to my query doesn't work: IP:8080/solr/select/?q=*%3A*&update.chain=langid Regarding defining the chain in an UpdateRequestHandler... sorry for the lame question but shall I paste those three lines to solrconfig.xml, or shall I add them somewhere else?
There is not UpdateRequestHandler in my solrconfig. Thanks! On Tue, Apr 29, 2014 at 3:13 PM, Ahmet Arslan <iori...@yahoo.com> wrote: > Hi, > > Did you attach your chain to a UpdateRequestHandler? > > You can do it by adding &update.chain=langid to the URL or defining it in > a defaults section as follows > > <lst name="defaults"> > <str name="update.chain">langid</str> > </lst> > > > > On Tuesday, April 29, 2014 3:18 PM, Victor Pascual < > vic...@mobilemediacontent.com> wrote: > Dear all, > > I'm a new user of Solr. I've managed to index a bunch of documents (in > fact, they are tweets) and everything works quite smoothly. > > Nevertheless it looks like Solr doesn't detect the language of my documents > nor remove stopwords accordingly so I can extract the most frequent terms. > > I've added this piece of XML to my solrconfig.xml as well as the Tika lib > jars. > > <updateRequestProcessorChain name="langid"> > <processor > > class="org.apache.solr.update.processor.LangDetectLanguageIdentifierUpdateProcessorFactory"> > <lst name="defaults"> > <str name="langid.fl">text</str> > <str name="langid.langField">lang</str> > </lst> > </processor> > <processor class="solr.LogUpdateProcessorFactory" /> > <processor class="solr.RunUpdateProcessorFactory" /> > </updateRequestProcessorChain> > > There is no error in the tomcat log file, so I have no clue of why this > isn't working. > Any hint on how to solve this problem will be much appreciated! >