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

Thomas Mueller updated OAK-9144:
--------------------------------
    Description: The implementation in OAK-8971 is not robust: it throws a NPE 
if the name or confidence are missing. It also fails if the properties are of 
the wrong type. Protection against weird cases is needed.  (was: The 
org.apache.jackrabbit.oak.plugins.index.lucene.spi.IndexFieldProvider is a 
callback that allows to change the behavior of indexing. There are multiple 
problems:

* (1) Not available using oak-run
* (2) Only available for Lucene indexes

Instead of a callback, a configuration option in the index property should be 
added, such that the most commonly used features are available in oak-run, and 
can be implemented in other indexes (e.g. Elastisearch, Solr).)

> Indexing: dynamic boost is not robust
> -------------------------------------
>
>                 Key: OAK-9144
>                 URL: https://issues.apache.org/jira/browse/OAK-9144
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: indexing
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Major
>             Fix For: 1.30.0
>
>
> The implementation in OAK-8971 is not robust: it throws a NPE if the name or 
> confidence are missing. It also fails if the properties are of the wrong 
> type. Protection against weird cases is needed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to