Re: Solr does not recognize language

2014-05-06 Thread Frankcis
> > > wrote: > > > > > > > >> Hi, > > > >> > > > >> Did you attach your chain to a UpdateRequestHandler? > > > >> > > > >> You can do it by adding &update.chain

Re: Solr does not recognize language

2014-05-06 Thread Victor Pascual
Thank you very much Ahmet for your help. It finally worked! For anyone interested, all your hints where more than useful. I basically had two problems: - Didn't have my language detection chain in the update/json requestHandler - Didn't create the field where the detected language should be stored

Re: Solr does not recognize language

2014-05-05 Thread Frankcis
gt; > >> > > >> > > >> langid > > >> > > >> > > >> > > >> > > >> On Tuesday, April 29, 2014 3:18 PM, Victor Pascual < > > >> [hidden email] <http://user/SendEmail.jtp?type=node&

Re: Solr does not recognize language

2014-05-05 Thread Ahmet Arslan
Hi Victor, I don't know mysolr, I assume you are using /update/json, lets add your chain to defaults section.                    application/json          langid           On Monday, May 5, 2014 4:06 PM, Victor Pascual wrote: Hi there, I'm indexing my documents using mysolr. I mainly

Re: Solr does not recognize language

2014-05-05 Thread Victor Pascual
Hi there, I'm indexing my documents using mysolr. I mainly generate a lost of json objects and the run: solr.update(documents_array,'json') On Mon, May 5, 2014 at 1:08 PM, Ahmet Arslan wrote: > Hi Victor, > > How do you index your documents? Your last config looks correct. However > for exampl

Re: Solr does not recognize language

2014-05-05 Thread Ahmet Arslan
Hi Victor, How do you index your documents? Your last config looks correct. However for example if you use data import handler you need to add update.chain there too. Same as extraction request hadler if you are using sole-cell.           /home/username/data-config.xml       langid       B

Re: Solr does not recognize language

2014-05-05 Thread Frankcis
because if your encoding format doesn't both utf-8, building index will lead to messy code, of course, you will not get the expected result. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-does-not-recognize-language-tp4133711p4134647.html Sent from the Solr -

Re: Solr does not recognize language

2014-05-05 Thread Victor Pascual
Why this should be a problem? Both files start with On Mon, May 5, 2014 at 11:44 AM, Frankcis wrote: > i think you should check your scheme.xml and solrconfig.xml encoding > format = > utf-8。 > > > > -- > View this message in context: > http://lucene.472066.

Re: Solr does not recognize language

2014-05-05 Thread Frankcis
i think you should check your scheme.xml and solrconfig.xml encoding format = utf-8。 -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-does-not-recognize-language-tp4133711p4134643.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr does not recognize language

2014-05-05 Thread Victor Pascual
Thank you very much for you help Ahmet. However the language detection is still not workin. :( My solrconfig.xml didn't contain that lst section inside the update requestHandler. That's the content I added: class="solr.XmlUpdateRequestHandler"> > > langid >

Re: Solr does not recognize language

2014-04-29 Thread Ahmet Arslan
Hi, solr/update should be used, not /solr/select curl 'http://localhost:8983/solr/update?commit=true&update.chain=langid'  By the way don't you have following definition in your solrconfig.xml?                      langid                 On Tuesday, April 29, 2014 4:50 PM, Victor Pascual

Re: Solr does not recognize language

2014-04-29 Thread Victor Pascual
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

Re: Solr does not recognize language

2014-04-29 Thread Ahmet Arslan
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      langid     On Tuesday, April 29, 2014 3:18 PM, Victor Pascual wrote: Dear all, I'm a new user of Solr. I've managed to ind

Solr does not recognize language

2014-04-29 Thread Victor Pascual
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