Yes, It's true that we could do it in index time if we had a way to know. I was thinking in some solution in search time, maybe measuring the % of stopwords of each document. Normally, a document of another language won't have any stopword of its main language.
If you know some external software to detect the language of a source text, it would be useful too. Thanks, Raimon Bosch. Ahmet Arslan wrote: > > >> In our indexes, sometimes we have some documents written in >> other languages >> different to the most common index's language. Is there any >> way to give less >> boosting to this documents? > > If you are aware of those documents, at index time you can boost those > documents with a value less than 1.0: > > <add> > <doc boost="0.5"> > // document written in other languages > <field name="...">...</field> > <field name="...">...</field> > </doc> > </add> > > http://wiki.apache.org/solr/UpdateXmlMessages#Optional_attributes_on_.22doc.22 > > > > > > -- View this message in context: http://old.nabble.com/Is-it-posible-to-exclude-results-from-other-languages--tp27455759p27457165.html Sent from the Solr - User mailing list archive at Nabble.com.