Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Implementing Lucene Boosting Strategy module with current atlas-sdk

Deleted user February 21, 2018

Hi, I'm trying to implement a Lucene Boosting Strategy module with atlas-sdk, and it seems to be newer dependencies are downloaded than in the example. 

 

Especially 

 String[] fieldcaches = FieldCache.DEFAULT.getStrings(reader, MODIFIED_FIELD);

cannot be found.

Since I'm new to all this any help implementing Lucene Boosting Strategy in newer Confluence versions would be very appreciated. 

1 answer

1 vote
Andreas Purde
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 2, 2018

Dear Daniel,

getStrings is not existing any more. You should use getTerms instead. The modified field however is a long field. You may want to check the Confluence source code and there BoostByModificationDateStrategy.java.

Kind regards

Andreas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events