Class WordQueryType

  • All Implemented Interfaces:
    Serializable

    public class WordQueryType
    extends QueryType
    A query type which matches individual words in the query with words in indexed documents.
    See Also:
    Serialized Form
    • Constructor Detail

      • WordQueryType

        public WordQueryType​(Double boost)
    • Method Detail

      • getTypeQueryInternal

        protected String getTypeQueryInternal​(String query)
        Description copied from class: QueryType
        Get the original query formatted to result in the desired query type.
        Specified by:
        getTypeQueryInternal in class QueryType
        Parameters:
        query - the original query
        Returns:
        query formatted for the desired query type