Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 362 for _context (0.04 sec)

  1. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

    import org.opensearch.core.xcontent.MediaType;
    import org.opensearch.core.xcontent.ToXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.core.xcontent.XContentHelper;
    import org.opensearch.search.SearchHit;
    
    /**
     * Utility class for search engine operations and content formatting.
     * Provides helper methods for working with XContent builders, scrolling through search results,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

            // Test with search field (content)
            PhraseQuery.Builder builder = new PhraseQuery.Builder();
            builder.add(new Term("content", "test"));
            PhraseQuery phraseQuery = builder.build();
    
            QueryContext context = new QueryContext("test", false);
            QueryBuilder result = queryCommand.convertPhraseQuery(context, phraseQuery, 1.0f);
    
            assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

     */
    @RunWith(AndroidJUnit4::class)
    @SdkSuppress(minSdkVersion = 34)
    class AndroidHttpEngineTest {
      val context = InstrumentationRegistry.getInstrumentation().context
    
      val cacheDir =
        context.cacheDir.resolve("httpEngine").also {
          it.mkdirs()
        }
      val engine =
        HttpEngine
          .Builder(context)
          .setEnableBrotli(true)
          .setStoragePath(cacheDir.path)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        }
    
        /**
         * Formats code content with syntax highlighting and line numbers.
         *
         * @param prefix the line number prefix pattern
         * @param style the CSS class name for styling
         * @param mimetype the MIME type of the content (currently unused)
         * @param input the code content to format
         * @return HTML formatted code with line numbers and styling
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            TermQuery termQuery = new TermQuery(term);
            BoostQuery boostQuery = new BoostQuery(termQuery, 2.5f);
    
            QueryContext context = new QueryContext("test", false);
            QueryBuilder result = queryProcessor.execute(context, boostQuery, 1.0f);
    
            assertNotNull(result);
            // The result could be either a TermQueryBuilder or DefaultQueryBuilder depending on field configuration
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java

            QueryBuilder result = fuzzyQueryCommand.convertFuzzyQuery(context, fuzzyQuery, 1.0f);
            assertNotNull(result);
    
        }
    
        // Test with various field names
        public void test_convertFuzzyQuery_withVariousFields() {
            QueryContext context = new QueryContext("test", false);
            String[] fields = { "title", "content", "url", "site", "host", "mimetype" };
    
            for (String field : fields) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt

       * a robolectric test.
       *
       * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but
       * may expand in the future.
       */
      fun initialize(applicationContext: Context) {
        if (PlatformRegistry.applicationContext == null) {
          // Make sure we aren't using an Activity or Service Context
          PlatformRegistry.applicationContext = applicationContext.applicationContext
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

        /**
         * Creates a Lucene Query from this query builder.
         *
         * @param context the query shard context
         * @return the Lucene Query
         * @throws IOException if an I/O error occurs
         */
        @Override
        public Query toQuery(final QueryShardContext context) throws IOException {
            return queryBuilder.toQuery(context);
        }
    
        /**
         * Returns whether this query builder is a fragment.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import android.content.Context
    import android.os.Build
    import java.lang.IllegalStateException
    import okhttp3.internal.platform.android.AndroidLog
    
    actual object PlatformRegistry {
      actual fun findPlatform(): Platform {
        AndroidLog.enable()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

    import org.codelibs.fess.util.SearchEngineUtil.XContentBuilderCallback;
    import org.lastaflute.di.exception.IORuntimeException;
    import org.opensearch.common.xcontent.XContentType;
    import org.opensearch.core.xcontent.MediaType;
    import org.opensearch.core.xcontent.ToXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.search.SearchHit;
    
    public class SearchEngineUtilTest extends UnitFessTestCase {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top