Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for EmptyList (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

      }
    
      @SuppressWarnings("EmptyList") // We specifically want to test emptyList()
      public Test testsForEmptyList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return emptyList();
                  }
                })
            .named("emptyList")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            // Test with non-matching field
            String[] wrongFields = { "title" };
            List<TermQuery> emptyList = SuggestUtil.getTermQueryList(termQuery, wrongFields);
            assertNotNull(emptyList);
            assertEquals(0, emptyList.size());
        }
    
        @Test
        public void testGetTermQueryListWithBooleanQuery() {
            // Test with BooleanQuery
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            }
    
            @Override
            public List<String> convert(String text, String field, String... langs) throws IOException {
                if (text == null || text.isEmpty()) {
                    return Collections.emptyList();
                }
    
                List<String> readings = new ArrayList<>();
    
                if (langs == null || langs.length == 0) {
                    readings.add(text.toUpperCase());
                } else {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            String word = "empty lists";
            float boost = 1.0f;
            List<String> readings = Collections.emptyList();
            List<String> fields = Collections.emptyList();
            List<String> tags = Collections.emptyList();
            List<String> roles = Collections.emptyList();
    
            elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. README.md

        })
        .elevateWordSettings(elevateWordSettings -> {
            elevateWordSettings.setElevateWords(Collections.singletonList(
                new ElevateWord("priority", 2.0f, Collections.emptyList())
            ));
        })
        .build();
    ```
    
    ### Request Parameters
    
    ```java
    SuggestResponse response = suggester.suggest()
        .setQuery("search term")
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  6. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            }
    
            @Override
            public List<AnalyzeToken> analyze(String text, String field, String lang) {
                if (text == null || text.trim().isEmpty()) {
                    return Collections.emptyList();
                }
    
                List<AnalyzeToken> tokens = new ArrayList<>();
                String[] words = text.trim().split("[\\s@#$.,!?;:()\\[\\]{}\"']+");
    
                int position = 0;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/MultiChannelManager.java

                    }
                });
                return interfaces;
            } catch (Exception e) {
                log.warn("Failed to get network interfaces: {}", e.getMessage());
                return Collections.emptyList();
            }
        }
    
        private InetAddress getLocalAddressForInterface(NetworkInterface netInterface) {
            return netInterface.getInetAddresses().nextElement();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                        queryList.add(termQuery);
                        return queryList;
                    }
                }
            }
            return Collections.emptyList();
        }
    
        /**
         * Creates a bulk line for OpenSearch indexing from the given parameters.
         *
         * @param index the name of the OpenSearch index
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

         */
        protected void sendConfigFiles(final String index) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            configListMap.getOrDefault(index, Collections.emptyList()).forEach(path -> {
                String source = null;
                final String filePath = indexConfigPath + "/" + index + "/" + path;
                final String dictionaryPath;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (1)
Back to top