Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for getIndex (0.16 sec)

  1. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.USER.toString()));
    
            SuggestUtil.deleteByQuery(ComponentUtil.getSearchEngineClient(), suggester.settings(), suggester.getIndex(), boolQueryBuilder);
        }
    
        public void purgeSearchlogSuggest(final LocalDateTime time) {
            final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
            boolQueryBuilder
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            final PropertyDesc idProp = beanDesc.getPropertyDesc(ID);
            idProp.setValue(target, id);
        }
    
        public String getIndex() {
            return index;
        }
    
        public void setIndex(final String index) {
            this.index = index;
        }
    
        public int getScrollTimeout() {
            return scrollTimeout;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            final List<SuggestItem> firstItems = new ArrayList<>();
            final List<SuggestItem> secondItems = new ArrayList<>();
    
            final String index;
            if (hits.length > 0) {
                index = hits[0].getIndex();
            } else {
                index = SuggestConstants.EMPTY_STRING;
            }
    
            final boolean singleWordQuery = isSingleWordQuery(query);
            final boolean hiraganaQuery = isHiraganaQuery(query);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/Suggester.java

            }
        }
    
        public SuggestRequestBuilder suggest() {
            return new SuggestRequestBuilder(client, readingConverter, normalizer).setIndex(getSearchAlias(index));
        }
    
        public PopularWordsRequestBuilder popularWords() {
            return new PopularWordsRequestBuilder(client).setIndex(getSearchAlias(index));
        }
    
        public RefreshResponse refresh() {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            int count = 0;
            for (String index : getIndexResponse.getIndices()) {
                if (index.startsWith(suggester.getIndex())) {
                    count++;
                }
            }
            assertEquals(2, count);
    
            suggester.removeDisableIndices();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                            SearchEngineUtil.scroll(alias, hit -> {
                                try {
                                    writer.write("{\"index\":{\"_index\":\"" + hit.getIndex() + "\",\"_id\":\""
                                            + StringEscapeUtils.escapeJson(hit.getId()) + "\"}}\n");
                                    writer.write(hit.getSourceAsString());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                        final BulkRequestBuilder bulkRequest = client.prepareBulk();
                        for (final SearchHit hit : hits) {
                            bulkRequest.add(client.prepareDelete().setIndex(hit.getIndex()).setId(hit.getId()));
                        }
                        return bulkRequest.execute();
                    });
                    if (bulkResponse.hasFailures()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

            final ParsePosition pos = new ParsePosition(0);
            final Date date = format.parse(str, pos);
            if (date == null) {
                return null;
            }
            final int index = pos.getIndex();
            if (index == 0) {
                return null;
            }
            if (index < str.length()) {
                return null;
            }
            return date;
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertTrue(interfaces.hasMoreElements());
        while (interfaces.hasMoreElements()) {
          NetworkInterface i = interfaces.nextElement();
          builder.add(i.getName()).add(String.valueOf(i.getIndex()));
        }
        return builder.build();
      }
    
      /** Checks that the IP converts to the big integer and the big integer converts to the IP. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  10. cmd/background-newdisks-heal-ops_gen.go

    				return
    			}
    		case "PoolIndex":
    			z.PoolIndex, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "PoolIndex")
    				return
    			}
    		case "SetIndex":
    			z.SetIndex, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "SetIndex")
    				return
    			}
    		case "DiskIndex":
    			z.DiskIndex, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "DiskIndex")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 15:42:49 UTC 2024
    - 24.6K bytes
    - Viewed (0)
Back to top