Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for addFieldLog (0.14 sec)

  1. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

        }
    
        protected QueryBuilder convertTextQuery(final FessConfig fessConfig, final QueryContext context, final TermQuery termQuery,
                final float boost, final String field, final String text) {
            context.addFieldLog(field, text);
            context.addHighlightedQuery(text);
            return buildMatchPhraseQuery(field, text).boost(boost);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

            if (Constants.DEFAULT_FIELD.equals(field)) {
                final String text = wildcardQuery.getTerm().text();
                context.addFieldLog(field, text);
                context.addHighlightedQuery(StringUtils.strip(text, "*"));
                return buildDefaultQueryBuilder(fessConfig, context,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

                final String origQuery = queryBuf.toString();
                context.addFieldLog(Constants.DEFAULT_FIELD, origQuery);
                context.addHighlightedQuery(origQuery);
                return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> QueryBuilders.matchPhraseQuery(f, origQuery).boost(b));
            }
    
            context.addFieldLog(field, termRangeQuery.toString(field));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

            final String field = getSearchField(context.getDefaultField(), term.field());
    
            if (Constants.DEFAULT_FIELD.equals(field)) {
                final String text = term.text();
                context.addFieldLog(field, text);
                context.addHighlightedQuery(text);
                return buildDefaultQueryBuilder(fessConfig, context,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java

            if (Constants.DEFAULT_FIELD.equals(field)) {
                context.addFieldLog(field, text);
                stream(texts).of(stream -> stream.forEach(t -> context.addHighlightedQuery(t)));
                return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> buildMatchPhraseQuery(f, text).boost(b * boost));
            }
    
            if (isSearchField(field)) {
                context.addFieldLog(field, text);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java

            final String text = prefixQuery.getPrefix().text();
    
            if (Constants.DEFAULT_FIELD.equals(field)) {
                context.addFieldLog(field, text + "*");
                context.addHighlightedQuery(text);
                return buildDefaultQueryBuilder(fessConfig, context,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/entity/QueryContext.java

        }
    
        public List<SortBuilder<?>> sortBuilders() {
            return sortBuilderList;
        }
    
        public QueryBuilder getQueryBuilder() {
            return queryBuilder;
        }
    
        public void addFieldLog(final String field, final String text) {
            if (fieldLogMap == null) {
                return;
            }
    
            List<String> list = fieldLogMap.get(field);
            if (list == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top