koursaros-ai/nboost

Integrate nboost with SOLR

Closed this issue · 2 comments

Hi,
Just came across your medium article. This sounds great. While this may not be issue just wondering
if this can be used with SOLR?

eltu commented

Hello @JnaneshPrabhu,
I tried to use Nboost with Solr and works very well. Because Nboost use json for rerank the documents, its not necessary integration with solr lib.
You can try use this command for up the proxy:

nboost                                  \ 
    --uhost localhost                   \
    --uport 8983                        \
    --search_route "/solr/travel/select"   \
    --query_path url.query.q        \
    --topk_path url.query.rows          \
    --default_topk 10                   \
    --choices_path body.response.docs       \
    --cvalues_path passage_t

I created a pull request to indexing document more easy:
#70

I hope that @koursaros-ai accept the pull request. =)

Merged! Thank you @eltu