Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events