Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for test_query (0.05 sec)

  1. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

            assertNotNull(result);
            assertTrue(result.contains("Test exception"));
            assertFalse(result.contains("docs"));
        }
    
        // Test query() method
        public void test_query() {
            QueryBuilder queryBuilder = QueryBuilders.matchAllQuery();
            UpdateLabelJob returnedJob = updateLabelJob.query(queryBuilder);
    
            assertSame(updateLabelJob, returnedJob); // Method chaining
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

    import org.codelibs.fess.entity.SearchRequestParams;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class QueryStringBuilderTest extends UnitFessTestCase {
    
        public void test_query() {
            assertEquals("", getQuery("", new String[0], Collections.emptyMap(), Collections.emptyMap(), false));
        }
    
        public void test_conditions_q() {
            final String k = "q";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/dependencies/sub-dependencies.md

        * Она зависит от `query_extractor` и присваивает возвращаемое ей значение параметру `q`.
    * Она также объявляет необязательный куки-параметр `last_query` в виде строки.
        * Если пользователь не указал параметр `q` в запросе, то мы используем последний использованный запрос, который мы ранее сохранили в куки-параметре `last_query`.
    
    ## Использование зависимости
    
    Затем мы можем использовать зависимость вместе с:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/dependencies/sub-dependencies.md

    {* ../../docs_src/dependencies/tutorial005.py hl[13] *}
    
    ➡️ 🎯 🔛 🔢 📣:
    
    * ✋️ 👉 🔢 🔗 ("☑") ⚫️, ⚫️ 📣 ➕1️⃣ 🔗 (⚫️ "🪀" 🔛 🕳 🙆).
        * ⚫️ 🪀 🔛 `query_extractor`, & 🛠️ 💲 📨 ⚫️ 🔢 `q`.
    * ⚫️ 📣 📦 `last_query` 🍪, `str`.
        * 🚥 👩‍💻 🚫 🚚 🙆 🔢 `q`, 👥 ⚙️ 🏁 🔢 ⚙️, ❔ 👥 🖊 🍪 ⏭.
    
    ## ⚙️ 🔗
    
    ⤴️ 👥 💪 ⚙️ 🔗 ⏮️:
    
    {* ../../docs_src/dependencies/tutorial005.py hl[22] *}
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/dependencies/sub-dependencies.md

    * Aunque esta función es una dependencia ("dependable") en sí misma, también declara otra dependencia (depende de algo más).
        * Depende del `query_extractor`, y asigna el valor que devuelve al parámetro `q`.
    * También declara una `last_query` cookie opcional, como un `str`.
        * Si el usuario no proporcionó ningún query `q`, usamos el último query utilizado, que guardamos previamente en una cookie.
    
    ## Usa la dependencia
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/sub-dependencies.md

        * It depends on the `query_extractor`, and assigns the value returned by it to the parameter `q`.
    * It also declares an optional `last_query` cookie, as a `str`.
        * If the user didn't provide any query `q`, we use the last query used, which we saved to a cookie before.
    
    ## Use the dependency { #use-the-dependency }
    
    Then we can use the dependency with:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/dependencies/sub-dependencies.md

        * Sie hängt von `query_extractor` ab und weist den von diesem zurückgegebenen Wert dem Parameter `q` zu.
    * Sie deklariert außerdem ein optionales `last_query`-Cookie, ein `str`.
        * Wenn der Benutzer keine Query `q` übermittelt hat, verwenden wir die zuletzt übermittelte Query, die wir zuvor in einem Cookie gespeichert haben.
    
    ## Die Abhängigkeit verwenden
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/background-tasks.md

    Если бы в запрос был передан query-параметр `q`, он бы первыми записался в `log.txt` фоновой задачей (потому что вызывается в зависимости `get_query`).
    
    После другая фоновая задача, которая была сгенерирована в функции, запишет сообщение из параметра `email`.
    
    ## Технические детали
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

        * Ela depende do `query_extractor`, e atribui o valor retornado pela função ao parâmetro `q`.
    * Ela também declara um cookie opcional `last_query`, do tipo `str`.
        * Se o usuário não passou nenhuma consulta `q`, a última consulta é utilizada, que foi salva em um cookie anteriormente.
    
    ## Utilizando a dependência
    
    Então podemos utilizar a dependência com:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/dependencies/sub-dependencies.md

    {* ../../docs_src/dependencies/tutorial005.py hl[13] *}
    
    宣言されたパラメータに注目してみましょう:
    
    * この関数は依存関係(「依存可能なもの」)そのものであるにもかかわらず、別の依存関係を宣言しています(何か他のものに「依存」しています)。
        * これは`query_extractor`に依存しており、それが返す値をパラメータ`q`に代入します。
    * また、オプショナルの`last_query`クッキーを`str`として宣言します。
        * ユーザーがクエリ`q`を提供しなかった場合、クッキーに保存していた最後に使用したクエリを使用します。
    
    ### 依存関係の使用
    
    以下のように依存関係を使用することができます:
    
    {* ../../docs_src/dependencies/tutorial005.py hl[21] *}
    
    /// info | 情報
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top