Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for FacetResponse (0.24 sec)

  1. src/main/java/org/codelibs/fess/util/FacetResponse.java

    import org.opensearch.search.aggregations.bucket.terms.Terms;
    
    import com.google.common.io.BaseEncoding;
    
    public class FacetResponse {
        protected Map<String, Long> queryCountMap = new LinkedHashMap<>();
    
        protected List<Field> fieldList = new ArrayList<>();
    
        public FacetResponse(final Aggregations aggregations) {
            aggregations.forEach(aggregation -> {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                RenderDataUtil.register(data, "queryId", queryId);
                RenderDataUtil.register(data, "documentItems", documentItems);
                RenderDataUtil.register(data, "facetResponse", facetResponse);
                RenderDataUtil.register(data, "appendHighlightParams", appendHighlightParams);
                RenderDataUtil.register(data, "execTime", execTime);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

                documentList.add(doc);
                return this;
            }
    
            public SearchResultBuilder facetResponse(final FacetResponse facetResponse) {
                this.facetResponse = facetResponse;
                return this;
            }
    
            public SearchResult build() {
                return new SearchResult(documentList, //
                        allRecordCount, //
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/QueryResponseList.java

                final int offset) {
            this(documentList, start, pageSize, offset);
            this.allRecordCount = allRecordCount;
            this.allRecordCountRelation = allRecordCountRelation;
            this.queryTime = queryTime;
            this.partialResults = partialResults;
            this.facetResponse = facetResponse;
            if (pageSize > 0) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ViewHelper.java

    import org.codelibs.fess.mylasta.action.FessUserBean;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.DocumentUtil;
    import org.codelibs.fess.util.FacetResponse;
    import org.codelibs.fess.util.ResourceUtil;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.taglib.function.LaFunctions;
    import org.lastaflute.web.response.ActionResponse;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  6. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

        public void setDocumentItems(final List<Map<String, Object>> documentItems) {
            this.documentItems = documentItems;
        }
    
        public void setFacetResponse(final FacetResponse facetResponse) {
            this.facetResponse = facetResponse;
        }
    
        public void setAppendHighlightParams(final String appendHighlightParams) {
            this.appendHighlightParams = appendHighlightParams;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

                RenderDataUtil.register(data, "queryId", queryId);
                RenderDataUtil.register(data, "documentItems", documentItems);
                RenderDataUtil.register(data, "facetResponse", facetResponse);
                RenderDataUtil.register(data, "appendHighlightParams", appendHighlightParams);
                RenderDataUtil.register(data, "execTime", execTime);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                buf.append(']');
                if (facetResponse != null && facetResponse.hasFacetResponse()) {
                    // facet field
                    buf.append(',');
                    buf.append("\"facet_field\":[");
                    if (facetResponse.getFieldList() != null) {
                        boolean first1 = true;
                        for (final Field field : facetResponse.getFieldList()) {
                            if (!first1) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                final String allRecordCountRelation, final long queryTime, final boolean partialResults, final FacetResponse facetResponse,
                final int start, final int pageSize, final int offset) {
            return new QueryResponseList(documentList, allRecordCount, allRecordCountRelation, queryTime, partialResults, facetResponse, start,
                    pageSize, offset);
        }
    
        protected float toFloat(final Object value) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/orig/view/searchResults.jsp

    					</c:if>
    				</div>
    			</li>
    		</c:forEach>
    	</ol>
    	<aside class="col-md-4 d-none d-md-block">
    		<%-- Side Content --%>
    		<c:if test="${facetResponse != null}">
    			<c:forEach var="fieldData" items="${facetResponse.fieldList}">
    				<c:if
    					test="${fieldData.name == 'label' && fieldData.valueCountMap.size() > 0}">
    					<ul class="list-group mb-2">
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Jun 09 04:29:42 GMT 2022
    - 9K bytes
    - Viewed (1)
Back to top