Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

            assertEquals("keyword2", keywords.get(1));
        }
    
        // Test getDefaultKeyword with no default field
        public void test_getDefaultKeyword_noDefaultField() {
            getMockRequest().setAttribute(Constants.FIELD_LOGS, new HashMap<String, List<String>>());
    
            queryContext = new QueryContext("test", true);
            List<String> keywords = queryContext.getDefaultKeyword();
            assertNotNull(keywords);
    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/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            List<String> keywords = SuggestUtil.getKeywords(query, fields);
            assertNotNull(keywords);
            assertEquals(2, keywords.size());
            assertTrue(keywords.contains("test"));
            assertTrue(keywords.contains("query"));
    
            // Test with OR operator
            List<String> orKeywords = SuggestUtil.getKeywords("test OR query", fields);
            assertNotNull(orKeywords);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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. RELEASE.md

    and with different keywords. In particular, we now match NumPy order as
    `tf.split(value, num_or_size_splits, axis)`. * `tf.sparse_split` now takes
    arguments in reversed order and with different keywords. In particular we now
    match NumPy order as `tf.sparse_split(sp_input, num_split, axis)`. NOTE: we have
    temporarily made `tf.sparse_split` require keyword arguments. * `tf.concat` now
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (2)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top