Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 417 for nohost (0.32 seconds)

  1. docs/pt/docs/advanced/additional-status-codes.md

    Por exemplo, vamos dizer que você deseja ter uma *operação de rota* que permita atualizar itens, e retornar um código de status HTTP 200 "OK" quando for bem sucedido.
    
    Mas você também deseja aceitar novos itens. E quando os itens não existiam, ele os cria, e retorna o código de status HTTP 201 "Created".
    
    Para conseguir isso, importe `JSONResponse` e retorne o seu conteúdo diretamente, definindo o `status_code` que você deseja:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

         * @return The document frequency.
         */
        public long getDocFreq() {
            return docFreq;
        }
    
        /**
         * Returns the user boost of the suggest item.
         * @return The user boost.
         */
        public float getUserBoost() {
            return userBoost;
        }
    
        /**
         * Returns the timestamp of the suggest item.
         * @return The timestamp.
         */
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Thu Aug 07 02:41:28 GMT 2025
    - 25.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            // Test constructor with zero boost
            String word = "zero boost";
            float boost = 0.0f;
            List<String> readings = Arrays.asList("reading1");
            List<String> fields = Arrays.asList("field1");
            List<String> tags = Arrays.asList("tag1");
            List<String> roles = Arrays.asList("role1");
    
            elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            // created
            defaultDataMap.put(fessConfig.getIndexFieldCreated(), systemHelper.getCurrentTime());
            // boost
            defaultDataMap.put(fessConfig.getIndexFieldBoost(), config.getBoost().toString());
            // label: labelType
            // role: roleType
            final List<String> roleTypeList = new ArrayList<>();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

    /**
     * A matcher class for applying document boost values based on configurable expressions.
     * This class evaluates match and boost expressions against document data to determine
     * if a document should receive a boost and what boost value to apply. It supports
     * script-based expressions for flexible document scoring.
     *
     */
    public class DocBoostMatcher {
    
        /** The expression used to calculate the boost value (defaults to "0") */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final TermQuery termQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("TermQuery: query={}, boost={}", query, boost);
                }
                return convertTermQuery(context, termQuery, boost);
            }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final WildcardQuery wildcardQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("WildcardQuery: query={}, boost={}", query, boost);
                }
                return convertWildcardQuery(context, wildcardQuery, boost);
            }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/EditForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for editing boost document configurations in the admin interface.
     * This form extends CreateForm to include fields necessary for updating existing boost document entries,
     * including tracking information for optimistic locking and audit trails.
     * Boost documents are used to increase the relevance score of specific documents in search results.
     *
     */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

                    .status(Status.OK)
                    .result());
        }
    
        /**
         * Retrieves a specific boost document rule setting by ID.
         *
         * @param id the ID of the boost document rule to retrieve
         * @return JSON response containing the boost document rule configuration
         */
        // GET /api/admin/boostdoc/setting/{id}
        @Execute
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

        }
    
        /**
         * Returns the boost value.
         *
         * @return the boost value
         */
        @Override
        public float boost() {
            return queryBuilder.boost();
        }
    
        /**
         * Sets the boost value.
         *
         * @param boost the boost value to set
         * @return the query builder
         */
        @Override
        public QueryBuilder boost(final float boost) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top