Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for keywords (0.14 sec)

  1. 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)
  2. 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)
  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. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

                for (String keyword : query.split(" ")) {
                    if (keyword.equals("AND")) {
                        continue;
                    }
                    assertTrue(
                            doc.entrySet()
                                    .stream()
                                    .anyMatch(entry -> entry.getValue().toString().toLowerCase().contains(keyword.toLowerCase())),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. 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)
  6. src/main/resources/fess_indices/_aws/fess.json

            },
            "arabic_keywords": {
              "type":       "keyword_marker",
              "keywords": ["مرحباا", "عالم", "بحث"]
            },
            "arabic_stemmer": {
              "type":       "stemmer",
              "language":   "arabic"
            },
            "arabic_override": {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 14 00:36:40 UTC 2025
    - 117.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

            } catch (Exception e) {
                // Expected due to missing dependencies in test environment
                assertTrue(true);
                return;
            }
    
            // Should handle various keywords including empty string
            assertNotNull(functionBuilders);
            assertEquals(0, functionBuilders.size()); // No data loaded
        }
    
        public void test_buildQuery_withNullKeywordsInList() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/elevateword/CreateForm.java

    /**
     * Form class for creating new elevate word configuration entries.
     * This form handles the creation of elevate word rules that boost
     * specific documents in search results when certain keywords are matched.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
            // Default constructor
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/app/web/admin/elevateword/EditForm.java

     * including tracking information for optimistic locking and audit trails.
     * Elevate words are used to boost specific documents in search results when certain keywords are matched.
     *
     */
    public class EditForm extends CreateForm {
    
        /**
         * Creates a new EditForm instance.
         */
        public EditForm() {
            super();
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top