Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 670 for field2 (0.12 seconds)

  1. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            reader.setScrollSize(1000);
            reader.addSort(SortBuilders.fieldSort("field2"));
            int count = 0;
            int prev = -1;
            Map<String, Object> source;
            while ((source = reader.read()) != null) {
                int current = Integer.parseInt(source.get("field2").toString());
                assertTrue(prev < current);
                prev = current;
                count++;
            }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 13:04:17 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemMergerTest.java

            SuggestItem item1 = createItemWithFields("text", "field1", "field2");
            SuggestItem item2 = createItemWithFields("text", "field2", "field3");
    
            SuggestItem merged = SuggestItemMerger.merge(item1, item2);
    
            String[] fields = merged.getFields();
            Set<String> fieldSet = new HashSet<>(Arrays.asList(fields));
    
            assertEquals(3, fieldSet.size());
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLogTest.java

            assertEquals("", queryLog.getQueryString());
            assertEquals("", queryLog.getFilterQueryString());
        }
    
        @Test
        public void test_complexQuery() throws Exception {
            String query = "field1:value1 AND field2:value2";
            String filterQuery = "category:electronics";
            QueryLog queryLog = new QueryLog(query, filterQuery);
    
            assertEquals(query, queryLog.getQueryString());
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            emptyGenerator = new EmptyGenerator();
    
            // Test adding conditions - this should work without container
            emptyGenerator.addCondition("field1", "pattern1");
            emptyGenerator.addCondition("field1", "pattern2");
            emptyGenerator.addCondition("field2", "pattern.*");
    
            // We can't test isTarget properly without container,
            // but we can verify conditions are added
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  5. schema/index_test.go

    				// Note: Duplicate Columns
    				{Field: &schema.Field{Name: "FieldD"}},
    			},
    		},
    		{
    			Name:  "uniq_field_e1_e2",
    			Class: "UNIQUE",
    			Fields: []schema.IndexOption{
    				{Field: &schema.Field{Name: "FieldE1"}},
    				{Field: &schema.Field{Name: "FieldE2"}},
    			},
    		},
    		{
    			Name:  "uniq_field_f1_f2",
    			Class: "UNIQUE",
    			Fields: []schema.IndexOption{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Dec 06 02:27:44 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/body-fields.md

    # Body - Fields { #body-fields }
    
    The same way you can declare additional validation and metadata in *path operation function* parameters with `Query`, `Path` and `Body`, you can declare validation and metadata inside of Pydantic models using Pydantic's `Field`.
    
    ## Import `Field` { #import-field }
    
    First, you have to import it:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. docs/ru/docs/tutorial/body-fields.md

    # Body - Поля { #body-fields }
    
    Таким же способом, как вы объявляете дополнительную валидацию и метаданные в параметрах *функции обработки пути* с помощью функций `Query`, `Path` и `Body`, вы можете объявлять валидацию и метаданные внутри Pydantic моделей, используя функцию `Field` из Pydantic.
    
    ## Импорт `Field` { #import-field }
    
    Сначала вы должны импортировать его:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning | Внимание
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/body-fields.md

    # 请求体 - 字段 { #body-fields }
    
    与在*路径操作函数*中使用 `Query`、`Path` 、`Body` 声明校验与元数据的方式一样,可以使用 Pydantic 的 `Field` 在 Pydantic 模型内部声明校验和元数据。
    
    ## 导入 `Field` { #import-field }
    
    首先,从 Pydantic 中导入 `Field`:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning | 警告
    
    注意,与从 `fastapi` 导入 `Query`,`Path`、`Body` 不同,要直接从 `pydantic` 导入 `Field` 。
    
    ///
    
    ## 声明模型属性 { #declare-model-attributes }
    
    然后,使用 `Field` 定义模型的属性:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:39:41 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/body-fields.md

    # Body - Alanlar { #body-fields }
    
    `Query`, `Path` ve `Body` ile *path operation function* parametrelerinde ek doğrulama ve metadata tanımlayabildiğiniz gibi, Pydantic modellerinin içinde de Pydantic'in `Field`'ını kullanarak doğrulama ve metadata tanımlayabilirsiniz.
    
    ## `Field`'ı import edin { #import-field }
    
    Önce import etmeniz gerekir:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning | Uyarı
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 15:43:38 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/body-fields.md

    # Body - 欄位 { #body-fields }
    
    就像你可以在「路徑操作函式 (path operation function)」的參數中用 `Query`、`Path` 和 `Body` 宣告額外的驗證與中繼資料一樣,你也可以在 Pydantic 模型中使用 Pydantic 的 `Field` 來宣告驗證與中繼資料。
    
    ## 匯入 `Field` { #import-field }
    
    首先,你需要匯入它:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning
    
    請注意,`Field` 是直接從 `pydantic` 匯入的,不像其他(如 `Query`、`Path`、`Body` 等)是從 `fastapi` 匯入。
    
    ///
    
    ## 宣告模型屬性 { #declare-model-attributes }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 2.3K bytes
    - Click Count (0)
Back to Top