Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for SearchResult (0.16 sec)

  1. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

    import org.codelibs.fess.util.FacetResponse;
    
    public class SearchResult {
    
        protected final List<Map<String, Object>> documentList;
        protected final long allRecordCount;
        protected final String allRecordCountRelation;
        protected final long queryTime;
        protected final boolean partialResults;
        protected final FacetResponse facetResponse;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            final int pageSize = params.getPageSize();
            final SearchResult searchResult = searcher.search(query, params, userBean);
            return createResponseList(searchResult.getDocumentList(), searchResult.getAllRecordCount(),
                    searchResult.getAllRecordCountRelation(), searchResult.getQueryTime(), searchResult.isPartialResults(),
                    searchResult.getFacetResponse(), params.getStartPosition(), pageSize, 0);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

            return processResponse(searchResponseOpt);
        }
    
        protected SearchResult processResponse(final OptionalEntity<SearchResponse> searchResponseOpt) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SearchResultBuilder builder = SearchResult.create();
            searchResponseOpt.ifPresent(searchResponse -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                }
            });
        }
    
        protected void processSearchRoles(final List<SearchResult> result, final Consumer<String> consumer) throws NamingException {
            for (final SearchResult srcrslt : result) {
                final Attributes attrs = srcrslt.getAttributes();
    
                //get group attr
                final Attribute attr = attrs.get(fessConfig.getLdapMemberofAttribute());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

            }
    
            @Override
            protected SearchResult search(String query, SearchRequestParams params, OptionalThing<FessUserBean> userBean) {
                int start = params.getStartPosition();
                int size = params.getPageSize();
                SearchResultBuilder builder = SearchResult.create();
                for (int i = start; i < start + size && i < allRecordCount; i++) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/RankFusionSearcher.java

                name = StringUtil.decamelize(this.getClass().getSimpleName().replace("Searcher", StringUtil.EMPTY)).toLowerCase(Locale.ENGLISH);
            }
            return name;
        }
    
        protected abstract SearchResult search(String query, SearchRequestParams params, OptionalThing<FessUserBean> userBean);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            return searchResult.build(requestBuilder, execTime, OptionalEntity.ofNullable(response, () -> {}));
        }
    
        public <T> T search(final String index, final SearchCondition<SearchRequestBuilder> condition,
                final SearchResult<T, SearchRequestBuilder, SearchResponse> searchResult) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  8. internal/config/identity/ldap/ldap.go

    		searchRequest := ldap.NewSearchRequest(
    			dn,
    			ldap.ScopeBaseObject, ldap.NeverDerefAliases, 0, 0, false,
    			filter,
    			[]string{}, // only need DN, so pass no attributes here
    			nil,
    		)
    
    		searchResult, err := conn.Search(searchRequest)
    		if err != nil {
    			// Object does not exist error?
    			if ldap.IsErrorWithCode(err, 32) {
    				ndn, err := ldap.ParseDN(dn)
    				if err != nil {
    					return nil, err
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top