Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for tieBreaker (0.06 sec)

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

            if ("dismax".equals(fessConfig.getQueryDefaultQueryType())) {
                final DisMaxQueryBuilder disMaxQuery = QueryBuilders.disMaxQuery();
                disMaxQuery.tieBreaker(fessConfig.getQueryDismaxTieBreakerAsDecimal().floatValue());
                return new DefaultQueryBuilder(disMaxQuery);
            }
    
            final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

        private QueryBuilder simpleQuery(String query, float titleBoost, float contentBoost) {
            if ("dismax".equals(ComponentUtil.getFessConfig().getQueryDefaultQueryType())) {
                return QueryBuilders.disMaxQuery().tieBreaker(0.1f)//
                        .add(QueryBuilders.matchPhraseQuery("title", query).boost(titleBoost))//
                        .add(QueryBuilders.matchPhraseQuery("content", query).boost(contentBoost))//
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    	return true
    }
    
    // hasEC will return true if the version has erasure coding information.
    func (x xlMetaV2VersionHeader) hasEC() bool {
    	return x.EcM > 0 && x.EcN > 0
    }
    
    // sortsBefore can be used as a tiebreaker for stable sorting/selecting.
    // Returns false on ties.
    func (x xlMetaV2VersionHeader) sortsBefore(o xlMetaV2VersionHeader) bool {
    	if x == o {
    		return false
    	}
    	// Prefer newest modtime.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  4. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            }
        }
    
        public void test_convertTermQuery_dismax() throws Exception {
            setQueryType("dismax");
            assertQueryBuilder(DefaultQueryBuilder.class,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. src/main/resources/fess_config.properties

    query.boost.fuzzy.content.fuzziness=AUTO
    query.boost.fuzzy.content.expansions=10
    query.boost.fuzzy.content.prefix_length=0
    query.boost.fuzzy.content.transpositions=true
    
    query.default.query_type=bool
    query.dismax.tie_breaker=0.1
    query.bool.minimum_should_match=
    
    query.prefix.expansions=50
    query.prefix.slop=0
    query.fuzzy.prefix_length=0
    query.fuzzy.expansions=50
    query.fuzzy.transpositions=true
    
    # facet
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 01 14:13:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /**
         * Get the value for the key 'query.dismax.tie_breaker'. <br>
         * The value is, e.g. 0.1 <br>
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getQueryDismaxTieBreaker();
    
        /**
         * Get the value for the key 'query.dismax.tie_breaker' as {@link java.math.BigDecimal}. <br>
         * The value is, e.g. 0.1 <br>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 468.5K bytes
    - Viewed (1)
Back to top