add whatsNew Flag for matcher
@@ -11,6 +11,7 @@ public class HasFlagQueryFactory extends SolrQueryFactory {
public enum FLAGS {
WHATS_AROUND,
+ WHATS_NEW,
NO_HINT_FOR_COUNTERPART,
NO_HINT_FOR_ME
}
@@ -19,6 +20,7 @@ public class HasFlagQueryFactory extends SolrQueryFactory {
static {
Map<FLAGS, String> myMap = new HashMap<>();
myMap.put(FLAGS.WHATS_AROUND, "http\\://purl.org/webofneeds/model#WhatsAround");
+ myMap.put(FLAGS.WHATS_NEW, "http\\://purl.org/webofneeds/model#WhatsNew");
myMap.put(FLAGS.NO_HINT_FOR_COUNTERPART, "http\\://purl.org/webofneeds/model#NoHintForCounterpart");
myMap.put(FLAGS.NO_HINT_FOR_ME, "http\\://purl.org/webofneeds/model#NoHintForMe");
flagMap = Collections.unmodifiableMap(myMap);
