- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for getNum (0.06 sec)
-
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
assertEquals(1, response.getNum()); assertEquals("全文 検索", response.getWords().get(0)); response = suggester.suggest().addKind("query").execute().getResponse(); assertEquals(1, response.getNum()); SuggestResponse response2 = suggester.suggest().setSuggestDetail(true).execute().getResponse(); assertEquals(2, response2.getNum()); } @Test
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
public long getAllWordsNum() { return getNum(QueryBuilders.matchAllQuery()); } public long getDocumentWordsNum() { return getNum(QueryBuilders.rangeQuery(FieldNames.DOC_FREQ).gte(1)); } public long getQueryWordsNum() { return getNum(QueryBuilders.rangeQuery(FieldNames.QUERY_FREQ).gte(1)); } private long getNum(final QueryBuilder queryBuilder) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 14.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java
throws MavenExecutionException { if (request.getPom() == null) { return projects; } MavenProject requestPomProject = projects.stream() .filter(project -> request.getPom().equals(project.getFile())) .findFirst() .orElseThrow(() -> new MavenExecutionException(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.6K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java
project.setGroupId("org.apache.maven"); project.setArtifactId("maven-core"); project.setName("Maven"); project.setVersion("2.0-SNAPSHOT"); project.setScm(new Scm()); project.getScm().setConnection("scm-connection"); project.addDependency(dependency1); project.addDependency(dependency2); project.setBuild(new Build()); // Build up an artifactMap
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
Model out = interpolator.interpolateModel(model, new File("."), createModelBuildingRequest(context), collector); assertProblemFree(collector); assertEquals("${test}/somepath", out.getScm().getConnection()); } @Test public void testShouldThrowExceptionOnRecursiveScmConnectionReference() throws Exception { Scm scm = Scm.newBuilder()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
}).toArray(n -> new FsObj[n]); } private JvmObj getJvmObj() { final JvmObj jvmObj = new JvmObj(); final JvmStats jvmStats = JvmStats.jvmStats(); final Mem mem = jvmStats.getMem(); final JvmMemoryObj jvmMemoryObj = new JvmMemoryObj(); jvmObj.memory = jvmMemoryObj; final JvmMemoryHeapObj jvmMemoryHeapObj = new JvmMemoryHeapObj(); jvmMemoryObj.heap = jvmMemoryHeapObj;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
copy.setGoals(original.getGoals()); copy.setRecursive(original.isRecursive()); copy.setPom(original.getPom()); copy.setSystemProperties(original.getSystemProperties()); copy.setUserProperties(original.getUserProperties()); copy.setShowErrors(original.isShowErrors());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
// Recursive (really to just process the top-level POM) MavenExecutionRequest setRecursive(boolean recursive); boolean isRecursive(); MavenExecutionRequest setPom(File pom); File getPom(); // Errors MavenExecutionRequest setShowErrors(boolean showErrors); boolean isShowErrors(); // Transfer listeners
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTest.java
assertThat(stats.count()).isEqualTo(streamStats.getCount()); assertEquivalent(stats.mean(), streamStats.getAverage()); assertEquivalent(stats.sum(), streamStats.getSum()); assertEquivalent(stats.max(), streamStats.getMax()); assertEquivalent(stats.min(), streamStats.getMin()); } } private static void assertEquivalent(double actual, double expected) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 33.3K bytes - Viewed (0)