Re: boosting words from specific list

2014-09-30 Thread Ali Nazemian
-- http://soleami.com/blog/comparing-document-classification-functions-of- lucene-and-mahout.html (2014/09/29 4:25), Ali Nazemian wrote: Dear all, Hi, I was wondering how can I implement solr boosting words from specific list of important words? I mean I want to have a list of important

Re: boosting words from specific list

2014-09-30 Thread Ali Nazemian
. Then you can sort the query result on total_score field when you query. Koji -- http://soleami.com/blog/comparing-document-classification-functions-of- lucene-and-mahout.html (2014/09/29 4:25), Ali Nazemian wrote: Dear all, Hi, I was wondering how can I implement solr boosting words from

Re: boosting words from specific list

2014-09-30 Thread Manuel Le Normand
I have not tried it but I would check the option of using the synonymFilter to duplicate certain query words . Anothe opt - you can detect these word at index time (eg. UpdateProcessor) to give these documents a document boost in case it fits your logic. Or even make a copy field that contains a

Re: boosting words from specific list

2014-09-30 Thread Ahmet Arslan
Hi Ali, May be you can leverage filter class=solr.KeepWordFilterFactory words=words.txt ignoreCase=true/ Ahmet On Sunday, September 28, 2014 10:25 PM, Ali Nazemian alinazem...@gmail.com wrote: Dear all, Hi, I was wondering how can I implement solr boosting words from specific list

Re: boosting words from specific list

2014-09-29 Thread Koji Sekiguchi
. Then you can sort the query result on total_score field when you query. Koji -- http://soleami.com/blog/comparing-document-classification-functions-of-lucene-and-mahout.html (2014/09/29 4:25), Ali Nazemian wrote: Dear all, Hi, I was wondering how can I implement solr boosting words from specific

boosting words from specific list

2014-09-28 Thread Ali Nazemian
Dear all, Hi, I was wondering how can I implement solr boosting words from specific list of important words? I mean I want to have a list of important words and tell solr to score documents based on the weighted sum of these words. For example let word school has weight of 2 and word president has