Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for QueryLog (0.08 sec)

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

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.index.contents.querylog;
    
    import org.opensearch.common.Nullable;
    
    public class QueryLog {
        private final String q;
        private final String fq;
    
        public QueryLog(final String queryString, @Nullable final String filterQueryString) {
            q = queryString;
            fq = filterQueryString;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

        String roleFieldName = "role";
    
        public void test_parseQueryLog() throws Exception {
    
            QueryLog queryLog = new QueryLog("content:検索エンジン", null);
            List<SuggestItem> items = defaultContentsParser.parseQueryLog(queryLog, supportedFields, tagFieldNames, roleFieldName,
                    createDefaultReadingConverter(), createDefaultNormalizer());
            SuggestItem item = items.get(0);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

        }
    
        public SuggestIndexResponse indexFromQueryLog(final QueryLog queryLog) {
            return indexFromQueryLog(new QueryLog[] { queryLog });
        }
    
        public SuggestIndexResponse indexFromQueryLog(final QueryLog[] queryLogs) {
            if (logger.isInfoEnabled()) {
                logger.info("Index from querylog. num: {}", queryLogs.length);
            }
            try {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. README.md

        "contentIndexName",
        "contentTypeName");
    suggester.indexer().indexFromDocument(reader, 2, 100).getResponse();
    ```
    
    ### Add suggest document from queryLog
    
    ```java
    QueryLog queryLog = new QueryLog("field1:value1", null);
    suggester.indexer().indexFromQueryLog(queryLog);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Jan 19 03:33:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

    import org.codelibs.fess.suggest.analysis.SuggestAnalyzer;
    import org.codelibs.fess.suggest.converter.ReadingConverter;
    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.index.contents.querylog.QueryLog;
    import org.codelibs.fess.suggest.normalizer.Normalizer;
    
    public interface ContentsParser {
        SuggestItem parseSearchWords(String[] words, String[][] readings, String[] fields, String[] tags, String roles[], long score,
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLogReader.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.index.contents.querylog;
    
    import java.io.Closeable;
    
    public interface QueryLogReader extends Closeable {
        QueryLog read();
    
        @Override
        void close();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 816 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            }
        }
    
        @Override
        public List<SuggestItem> parseQueryLog(final QueryLog queryLog, final String[] fields, final String[] tagFieldNames,
                final String roleFieldName, final ReadingConverter readingConverter, final Normalizer normalizer) {
            final String queryString = queryLog.getQueryString();
            final String filterQueryString = queryLog.getFilterQueryString();
    
            final List<String> tagList = new ArrayList<>();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

    import org.codelibs.fess.suggest.index.SuggestIndexResponse;
    import org.codelibs.fess.suggest.index.contents.document.ESSourceReader;
    import org.codelibs.fess.suggest.index.contents.querylog.QueryLog;
    import org.codelibs.fess.suggest.index.contents.querylog.QueryLogReader;
    import org.codelibs.fess.suggest.request.popularwords.PopularWordsResponse;
    import org.codelibs.fess.suggest.request.suggest.SuggestResponse;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top