All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fnklabs.draenei.analytics.search.ClusteringAlgorithm Maven / Gradle / Ivy

package com.fnklabs.draenei.analytics.search;

import org.jetbrains.annotations.NotNull;

import java.util.Set;

/**
 * Strategy that can create facet map from content
 */
public interface ClusteringAlgorithm {

    /**
     * Build facets from content
     *
     * @param content Content information from which will be build facets
     *
     * @return Set of facets
     */
    @NotNull
    Set build(@NotNull Object content);


    /**
     * @param document Content information from which will be build facets
     *
     * @return Set of facets
     */
    Set build(@NotNull Document document);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy