- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 337 for _context (0.05 sec)
-
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) -
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) -
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) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/ContextAwarePlatform.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.platform import android.content.Context interface ContextAwarePlatform { var applicationContext: Context?
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Dec 31 14:50:53 UTC 2024 - 737 bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformInitializer.kt
*/ package okhttp3.internal.platform import android.content.Context import androidx.startup.Initializer /** * Androidx Startup initializer to ensure that the AndroidPlatform has access to the application context. */ class PlatformInitializer : Initializer<Platform> { override fun create(context: Context): Platform { PlatformRegistry.applicationContext = context return Platform.get() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Dec 31 14:50:53 UTC 2024 - 1K bytes - Viewed (1) -
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) -
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) -
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) -
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) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
/** * Executes the query command and returns a QueryBuilder. * @param context The query context containing search parameters. * @param query The Lucene query to execute. * @param boost The boost factor to apply. * @return The executed QueryBuilder. */ public abstract QueryBuilder execute(final QueryContext context, final Query query, final float boost); /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.6K bytes - Viewed (0)