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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.