Ranking or position of a solr document in search results - Stack Overflow
well after digging the source code, I am now able to see dynamic positions for each different search.. I have simply added a position function to DocIterator and implemented in in subclasses. Then I have added a control block in ReturnFields for checking if fl has position in it. It is working in a similar way with score. and the last thing to do was adding a custom augmenter class like PositionAugmenter - similar to ScoreAugmenter. Then I am done :)
Read full article from Ranking or position of a solr document in search results - Stack Overflow
No comments:
Post a Comment