jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rishabh Maurya (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-2399) Custom scorer for modifying score per documents
Date Tue, 24 Mar 2015 15:43:53 GMT

    [ https://issues.apache.org/jira/browse/OAK-2399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14378041#comment-14378041

Rishabh Maurya commented on OAK-2399:

Following points needs to be considered - 
1. Only ordered properties are stored as DocValues, so if scorer requires reading DocValues
for a field, then its property definition must be set as ordered. So we can have a enhancement
to configure field type as DocValues as a part of property definition.

2. DocValue field names are prefixed with {{:dv}}, [~chetanm] suggested to expose [FieldNames.java|https://github.com/apache/jackrabbit-oak/blob/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/FieldNames.java],
as naming convention is implementation detail.

> Custom scorer for modifying score per documents
> -----------------------------------------------
>                 Key: OAK-2399
>                 URL: https://issues.apache.org/jira/browse/OAK-2399
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: oak-lucene
>            Reporter: Rishabh Maurya
>            Assignee: Thomas Mueller
>             Fix For: 1.1.8, 1.2
>         Attachments: OAK-2399_1.patch, OAK-2399_scorer.patch
> 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 field value).
> 3. boosting documents with a field value in certain range.

This message was sent by Atlassian JIRA

View raw message