lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: MoreLikeThis
Date Mon, 03 Feb 2014 00:49:05 GMT
Hi,

What are your mlt.qf and mlt.fl parameters? And their types? 

Try creating an author field using lowercase type and use this field in mlt.qf and mlt.fl
parameters.

 <!-- lowercases the entire field value, keeping it as a single token.  -->
    <fieldType name="lowercase" class="solr.TextField" positionIncrementGap="100">
      <analyzer>
        <tokenizer class="solr.KeywordTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory" />
        <filter class="solr.TrimFilterFactory" />

      </analyzer>
    </fieldType>



On Friday, January 31, 2014 1:08 PM, rubenboada <ruben.boada@csuc.cat> wrote:
Hi everybody,

I'm working on DSpace 3.2 and I want to change 'Related Documents'
functionality, which is based on Solr MoreLikeThis. Now when I open an item,
below his metadata appears 'Related Documents' where would have to show
other items of actual item's author, but appears items of another authors. I
have observed that if name or surname matchs with actual author's name or
surname, DSpace shows wrong items. For example, if item's author called
Jorge Perez Diaz and DSpace have another author called Marta Fernandez
Perez, first surname of Jorge matchs with second surname of Marta, and
DSpace shows Marta Fernandez Perez item in Related Documents of Jorge Perez
Diaz item. 

I readed http://wiki.apache.org/solr/MoreLikeThis and I tried to modify
values of mindf and mintf but I didn't resolve succesfully this problem.

Anyone knows the solution?

Thanks in advance



--
View this message in context: http://lucene.472066.n3.nabble.com/MoreLikeThis-tp4114605.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message