Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Query (0.01 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLogReader.java

    import java.io.Closeable;
    
    /**
     * The {@code QueryLogReader} interface provides methods to read query logs and close the reader.
     * It extends the {@code Closeable} interface, ensuring that resources can be released when no longer needed.
     */
    public interface QueryLogReader extends Closeable {
        /**
         * Reads a query log.
         * @return The query log.
         */
        QueryLog read();
    
        @Override
        void close();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java

            request.setSize(size);
            return this;
        }
    
        /**
         * Sets the query string for the request.
         * @param query The query string.
         * @return This builder instance.
         */
        public SuggestRequestBuilder setQuery(final String query) {
            request.setQuery(query);
            return this;
        }
    
        /**
         * Adds a tag to filter by.
         * @param tag The tag.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

                ReadingConverter readingConverter, Normalizer normalizer, SuggestAnalyzer analyzer, String[] langs);
    
        /**
         * Parses the given query log and returns a list of suggest items.
         *
         * @param queryLog the query log to parse
         * @param fields the fields to extract from the query log
         * @param tagFieldNames the names of the fields to use as tags
         * @param roleFieldName the name of the field to use for roles
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLog.java

    /**
     * The QueryLog class represents a log entry containing a query string and an optional filter query string.
     */
    public class QueryLog {
        private final String q;
        private final String fq;
    
        /**
         * Constructor for QueryLog.
         * @param queryString The query string.
         * @param filterQueryString The filter query string (can be null).
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

    import org.opensearch.core.action.ActionListener;
    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder;
    import org.opensearch.index.query.functionscore.ScoreFunctionBuilders;
    import org.opensearch.search.SearchHit;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java

        public PopularWordsRequestBuilder addExcludeWord(final String excludeWord) {
            request.addExcludeWord(excludeWord);
            return this;
        }
    
        /**
         * Sets the query frequency threshold.
         * @param queryFreqThreshold The query frequency threshold.
         * @return This builder instance.
         */
        public PopularWordsRequestBuilder setQueryFreqThreshold(final int queryFreqThreshold) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java

        /**
         * Deletes documents from the specified index based on the given query.
         *
         * @param client the OpenSearch client to use for the operation
         * @param settings the suggest settings to apply
         * @param index the name of the index from which documents will be deleted
         * @param queryBuilder the query that defines which documents to delete
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestBulkFileWriter.java

     */
    package org.codelibs.fess.suggest.index.writer;
    
    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.settings.SuggestSettings;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.transport.client.Client;
    
    /**
     * SuggestBulkFileWriter is an implementation of the SuggestWriter interface.
     * This class is responsible for writing and deleting suggest items in bulk.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

    import org.opensearch.action.index.IndexRequestBuilder;
    import org.opensearch.common.unit.TimeValue;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.transport.client.Client;
    
    /**
     * SuggestIndexWriter is an implementation of the SuggestWriter interface that provides methods to write, delete,
     * and delete by query suggest items in an OpenSearch index.
     */
    public class SuggestIndexWriter implements SuggestWriter {
        /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java

     * <li>{@link #TEXT} - The text content field.</li>
     * <li>{@link #READING_PREFIX} - The prefix for reading fields.</li>
     * <li>{@link #SCORE} - The score field.</li>
     * <li>{@link #QUERY_FREQ} - The query frequency field.</li>
     * <li>{@link #DOC_FREQ} - The document frequency field.</li>
     * <li>{@link #USER_BOOST} - The user boost field.</li>
     * <li>{@link #KINDS} - The kinds field.</li>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top