jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-3367) Boosting fields not working as expected
Date Mon, 28 Sep 2015 05:24:05 GMT

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

Chetan Mehrotra updated OAK-3367:
---------------------------------
    Fix Version/s: 1.0.22

> Boosting fields not working as expected
> ---------------------------------------
>
>                 Key: OAK-3367
>                 URL: https://issues.apache.org/jira/browse/OAK-3367
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.3.6, 1.2.6, 1.0.22
>
>         Attachments: OAK-3367.patch
>
>
> When the boost support was added the intention was to support a usecase like 
> {quote}
> For the fulltext search on a node where the fulltext content is derived from multiple
field it should be possible to boost specific text contributed by individual field. Meaning
that if a title field is boosted more than description, the title (part) in the fulltext field
will mean more than the description (part) in the fulltext field.
> {quote}
> This would enable a user to perform a search like _/jcr:root/content/geometrixx-outdoors/en//element(*,
cq:Page)\[jcr:contains(., 'Keyword')\]_ and get a result where pages having 'Keyword' in title
come above in search result compared to those where Keyword is found in description.
> Current implementation just sets the boost while add the field value to fulltext field
with the intention that Lucene would use the boost as explained above. However it does not
work like that and boost value gets multiplies with other field and hence boosting does not
work as expected



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

Mime
View raw message