- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 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/request/suggest/SuggestResponse.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 1.7K 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) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
}); th.start(); SuggestResponse response = deferred.promise().getResponse(10, TimeUnit.SECONDS); assertEquals(0, response.getNum()); } @Test public void test_getResponseAfterResolve() throws Exception { final Deferred<SuggestResponse> deferred = new Deferred<>(); Thread th = new Thread(() -> {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
stream(parameter.getSuggestFields()).of(stream -> stream.forEach(builder::addField)); roleQueryHelper.build(SearchRequestType.SUGGEST).stream().forEach(builder::addRole); builder.setSize(parameter.getNum()); stream(langs).of(stream -> stream.forEach(builder::addLang)); stream(parameter.getTags()).of(stream -> stream.forEach(builder::addTag));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 50.3K 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-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java
System.out.println( "Child SCM developer connection is: " + project1.getScm().getDeveloperConnection()); assertEquals(project1.getScm().getUrl(), project0.getScm().getUrl() + "/modules/p1"); assertEquals(project1.getScm().getConnection(), project0.getScm().getConnection() + "/modules/p1"); assertEquals(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; /** */ class ComplexActivationTest { private File getPom(String name) { return new File("src/test/resources/poms/factory/" + name + ".xml").getAbsoluteFile(); } @Test void testAndConditionInActivation() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
writer = new DefaultModelWriter(); assembler = new DefaultInheritanceAssembler(); } private File getPom(String name) { return new File("src/test/resources/poms/inheritance/" + name + ".xml"); } private Model getModel(String name) throws IOException { return reader.read(getPom(name), null).getDelegate(); } @Test void testPluginConfiguration() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.9K bytes - Viewed (0)