Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for boost (0.02 sec)

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

            }
    
            if (isSearchField(field)) {
                final String text = wildcardQuery.getTerm().text();
                context.addFieldLog(field, text);
                context.addHighlightedQuery(StringUtils.strip(text, "*"));
                return QueryBuilders.wildcardQuery(field, toLowercaseWildcard(text)).boost(boost);
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

                    "aaa");
            assertQueryBuilder(MatchPhraseQueryBuilder.class,
                    "{\"match_phrase\":{\"title\":{\"query\":\"aaa\",\"slop\":0,\"zero_terms_query\":\"NONE\",\"boost\":1.0}}}", //
                    "title:aaa");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final TermRangeQuery termRangeQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return convertTermRangeQuery(context, termRangeQuery, boost);
            }
    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/test/java/org/codelibs/fess/query/QueryProcessorTest.java

                @Override
                public QueryBuilder execute(QueryContext context, Query query, float boost, FilterChain chain) {
                    calledFirst.set(true);
                    assertFalse(called.get());
                    QueryBuilder builder = chain.execute(context, query, boost);
                    assertTrue(called.get());
                    return builder;
                }
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java

            if (getQueryFieldConfig().notAnalyzedFieldSet.contains(field)) {
                return QueryBuilders.prefixQuery(field, toLowercaseWildcard(text)).boost(boost);
            }
            return QueryBuilders.matchPhrasePrefixQuery(field, toLowercaseWildcard(text)).boost(boost)
                    .maxExpansions(fessConfig.getQueryPrefixExpansionsAsInteger()).slop(fessConfig.getQueryPrefixSlopAsInteger());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

        @Override
        public String queryName() {
            return queryBuilder.queryName();
        }
    
        @Override
        public float boost() {
            return queryBuilder.boost();
        }
    
        @Override
        public QueryBuilder boost(final float boost) {
            return queryBuilder.boost(boost);
        }
    
        @Override
        public String getName() {
            return queryBuilder.getName();
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/GeoInfoTest.java

            assertEquals(result, geoInfo.toQueryBuilder().toString().replaceAll("[ \n]", ""));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

    public class ElevateWord {
    
        protected final String elevateWord;
        protected final float boost;
        protected final List<String> readings;
        protected final List<String> fields;
        protected final List<String> tags;
        protected final List<String> roles;
    
        public ElevateWord(final String elevateWord, final float boost, final List<String> readings, final List<String> fields,
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/BsKeyMatch.java

        //                                                                            ========
        public Float getBoost() {
            checkSpecifiedProperty("boost");
            return boost;
        }
    
        public void setBoost(Float value) {
            registerModifiedProperty("boost");
            this.boost = value;
        }
    
        public String getCreatedBy() {
            checkSpecifiedProperty("createdBy");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/QueryProcessor.java

            return (context, query, boost) -> filter.execute(context, query, boost, chain);
        }
    
        protected FilterChain createDefaultFilterChain() {
            return (context, query, boost) -> {
                final QueryCommand queryCommand = queryCommandMap.get(query.getClass().getSimpleName());
                if (queryCommand != null) {
                    return queryCommand.execute(context, query, boost);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top