You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Rishabh Maurya (JIRA)" <ji...@apache.org> on 2014/11/03 12:44:34 UTC

[jira] [Comment Edited] (OAK-2178) Lucene index boosting on certain fields

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

Rishabh Maurya edited comment on OAK-2178 at 11/3/14 11:44 AM:
---------------------------------------------------------------

Patch contains fix for configuring field boosting from property definition node of lucene index.

Field boosting can be specified in following way - 
{code}
{
  "test": {
    "includePropertyNames": [
      "foo"
    ],
    "properties": {
      "foo": {
        "type": "Long",
        "fieldBoost": 2.0
      }
    }
  }
}
{code}
NOTE : Field Boosting currently applicable on fulltext fields only



was (Author: maurya):
Patch contains fix for configuring field boosting from property definition node of lucene index.

Field boosting can be specified in following way - 
{code}
{
  "test": {
    "includePropertyNames": [
      "foo"
    ],
    "properties": {
      "foo": {
        "type": "Long",
        "fieldBoosting": 2.0
      }
    }
  }
}
{code}
NOTE : Field Boosting currently applicable on fulltext fields only


> Lucene index boosting on certain fields
> ---------------------------------------
>
>                 Key: OAK-2178
>                 URL: https://issues.apache.org/jira/browse/OAK-2178
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-lucene
>    Affects Versions: 1.1.0
>            Reporter: Tommaso Teofili
>         Attachments: OAK-2178.patch
>
>
> In JR2 it was possible to manually set configuration specific boost factors at index time (see http://wiki.apache.org/jackrabbit/IndexingConfiguration) and it would be good to introduce the possibility of doing that in the query index configuration of the Oak Lucene index too.
> That would ease definition of a more accurate scoring mechanism, depending on the use case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)