Re: Custom scorer for modifying score per documents

2015-01-18 Thread Rishabh Maurya
Is it be possible to extract the `jcr:score`? Yes, I think in CustomScoreProvider - CustomScoreProvider.customScore(int doc, float subQueryScore, float[] valSrcScores) subQueryScore above should be same as jcr:score for lucene index. I will have to check once. Thanks On Fri, Jan 16, 2015

Re: Custom scorer for modifying score per documents

2015-01-16 Thread Davide Giannella
On 16/01/2015 06:16, Rishabh Maurya wrote: Hi Thomas, Right, its better not to use any scorer if there are orderby clause other then default jcr:score. Is it be possible to extract the `jcr:score`? Select [jcr:score], [jcr:path] from [...] If so we should use the custom scorer any time the

Re: Custom scorer for modifying score per documents

2015-01-15 Thread Thomas Mueller
Hi, I wonder, do we only need to use the (custom) scorer if the query orders by the pseudo-property jcr:score? I mean, it's probably faster not to use any scorer, right? Regards, Thomas On 15/01/15 08:17, Rishabh Kumar Maurya mau...@adobe.com wrote: Hi, We have search enhancements requests

Re: Custom scorer for modifying score per documents

2015-01-15 Thread Rishabh Maurya
Hi Thomas, Right, its better not to use any scorer if there are orderby clause other then default jcr:score. Thanks -Rishabh On Thu, Jan 15, 2015 at 8:44 PM, Thomas Mueller muel...@adobe.com wrote: Hi, I wonder, do we only need to use the (custom) scorer if the query orders by the

Custom scorer for modifying score per documents

2015-01-14 Thread Rishabh Kumar Maurya
Hi, We have search enhancements requests based on search results relevance like - 1. boosting score of recently modified documents. 2. boosting documents which are created/last updated by current session user.(OR boosting on basis specific docfield value). 3. boosting documents with a field