Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for decodeSimilarDocHash (0.29 sec)

  1. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

            assertEquals(hash, documentHelper.decodeSimilarDocHash(value));
    
            hash = "01010101010101010101010101010101";
            value = "01010101010101010101010101010101";
            assertEquals(hash, documentHelper.decodeSimilarDocHash(value));
            hash = "";
            value = "";
            assertEquals(hash, documentHelper.decodeSimilarDocHash(value));
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                }
                return null;
            } catch (final Exception e) {
                throw new CrawlingAccessException("Failed to parse " + url, e);
            }
        }
    
        public String decodeSimilarDocHash(final String hash) {
            if (hash != null && hash.startsWith(SIMILAR_DOC_HASH_PREFIX) && hash.length() > SIMILAR_DOC_HASH_PREFIX.length()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                        context.addQuery(boolQuery -> {
                            boolQuery.filter(QueryBuilders.termQuery(fessConfig.getIndexFieldContentMinhashBits(),
                                    documentHelper.decodeSimilarDocHash(similarDocHash)));
                        });
                    }
    
                    if (geoInfo != null && geoInfo.toQueryBuilder() != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
Back to top