Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for keyword2 (0.04 sec)

  1. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            defaultList.add("keyword1");
            defaultList.add("keyword2");
            fieldLogMap.put(Constants.DEFAULT_FIELD, defaultList);
            getMockRequest().setAttribute(Constants.FIELD_LOGS, fieldLogMap);
    
            queryContext = new QueryContext("test", true);
            List<String> keywords = queryContext.getDefaultKeyword();
            assertEquals(2, keywords.size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            final List<String> keywords = getKeywords(q, new String[] { field });
            if (MAX_QUERY_TERM_NUM < keywords.size()) {
                return new String[0];
            }
            for (final String k : keywords) {
                if (MAX_QUERY_TERM_LENGTH < k.length()) {
                    return new String[0];
                }
            }
            return keywords.toArray(new String[keywords.size()]);
        }
    
        /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/extra-models.md

    So, we get a Pydantic model from the data in another Pydantic model.
    
    #### Unpacking a `dict` and extra keywords { #unpacking-a-dict-and-extra-keywords }
    
    And then adding the extra keyword argument `hashed_password=hashed_password`, like in:
    
    ```Python
    UserInDB(**user_in.dict(), hashed_password=hashed_password)
    ```
    
    ...ends up being like:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            // Test normal query
            String query = "test query";
            String field = "content";
            String[] keywords = SuggestUtil.parseQuery(query, field);
            assertNotNull(keywords);
            assertEquals(2, keywords.length);
            assertEquals("test", keywords[0]);
            assertEquals("query", keywords[1]);
    
            // Test empty query
            String[] emptyKeywords = SuggestUtil.parseQuery("", field);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/QueryContext.java

                list = new ArrayList<>();
                fieldLogMap.put(field, list);
            }
            list.add(text);
        }
    
        /**
         * Gets the default field keywords from the field log.
         * @return List of keywords for the default field, or empty list if none.
         */
        public List<String> getDefaultKeyword() {
            if (fieldLogMap != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

                    .put("analysis.analyzer.test_reading_analyzer_ja.tokenizer", "keyword")
                    .put("analysis.analyzer.test_reading_term_analyzer_ja.type", "custom")
                    .put("analysis.analyzer.test_reading_term_analyzer_ja.tokenizer", "keyword")
                    .build();
    
            CreateIndexResponse createIndexResponse =
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-fields.md

    ///
    
    ## Recap { #recap }
    
    You can use Pydantic's `Field` to declare extra validations and metadata for model attributes.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/path-params-numeric-validations.md

    ...Python has a little special syntax for that.
    
    Pass `*`, as the first parameter of the function.
    
    Python won't do anything with that `*`, but it will know that all the following parameters should be called as keyword arguments (key-value pairs), also known as <abbr title="From: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>. Even if they don't have a default value.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial003.py hl[7] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/background-tasks.md

    `.add_task()` receives as arguments:
    
    * A task function to be run in the background (`write_notification`).
    * Any sequence of arguments that should be passed to the task function in order (`email`).
    * Any keyword arguments that should be passed to the task function (`message="some notification"`).
    
    ## Dependency Injection { #dependency-injection }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. README.md

        })
        .analyzerSettings(analyzerSettings -> {
            analyzerSettings.setReadingAnalyzer("kuromoji_reading");
            analyzerSettings.setNormalizeAnalyzer("keyword");
        })
        .badWordSettings(badWordSettings -> {
            badWordSettings.setList(new String[]{"blocked", "terms"});
        })
        .elevateWordSettings(elevateWordSettings -> {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
Back to top