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 "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2014/11/03 13:34:33 UTC

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

     [ https://issues.apache.org/jira/browse/OAK-2178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tommaso Teofili resolved OAK-2178.
----------------------------------
    Resolution: Fixed

thanks [~maurya], I've applied your patch in r1636336, I've only changed the property name to just 'boost' so the config should be :
{code}
{
  "test": {
    "includePropertyNames": [
      "foo"
    ],
    "properties": {
      "foo": {
        "type": "Long",
        "boost": 2.0
      }
    }
  }
}
{code}

> 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)