Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 161 for getJquery (0.1 sec)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            assertTrue(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "sessionId")).setSize(0)
                    .execute().actionGet().getHits().getTotalHits().value > 0);
    
            urlQueueService.delete("sessionId");
            assertFalse(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "sessionId")).setSize(0)
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. cmd/http-tracer_test.go

    		},
    		{
    			"?x=y&a=b",
    			"?x=y&a=b",
    		},
    	}
    	for i, test := range testCases {
    		gotQuery := redactLDAPPwd(test.query)
    		if gotQuery != test.expectedQuery {
    			t.Fatalf("test %d: expected %s got %s", i+1, test.expectedQuery, gotQuery)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/user/cbean/cq/bs/BsRoleCQ.java

                    RoleCQ cf = new RoleCQ();
                    cqLambda.callback(cf);
                    list.add(new FilterFunctionBuilder(cf.getQuery(), scoreFunctionBuilder));
                });
            }
            final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery(), list);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java

            return this;
        }
    
        public SuggestRequestBuilder setSize(final int size) {
            request.setSize(size);
            return this;
        }
    
        public SuggestRequestBuilder setQuery(final String query) {
            request.setQuery(query);
            return this;
        }
    
        public SuggestRequestBuilder addTag(final String tag) {
            request.addTag(tag);
            return this;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. README.md

    Suggester suggester = Suggester.builder().build(client, suggestId);
    
    ```
    
    ### Suggest
    
    ```java
    SuggestResponse response = suggester.suggest().setQuery("kensaku").execute().getResponse();
    ```
    
    ### Suggest async
    
    ```
    suggester.suggest().setQuery("kensaku").execute()
      .done(
        response -> {}
      ).error(
        t -> {}
      );
    ```
    
    ### Add suggest document
    
    ```java
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Jan 19 03:33:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/BoostQueryCommand.java

                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return getQueryProcessor().execute(context, boostQuery.getQuery(), boostQuery.getBoost());
            }
            throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY),
                    "Unknown q: " + query.getClass() + " => " + query);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

            insertAll(accessResultList, OpType.INDEX);
        }
    
        @Override
        public int getCount(final String sessionId) {
            return getCount(builder -> builder.setQuery(QueryBuilders.termQuery(SESSION_ID, sessionId)));
        }
    
        @Override
        public void delete(final String sessionId) {
            deleteBySessionId(sessionId);
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                boolQueryBuilder.must(queryBuilder);
                filterList.forEach(boolQueryBuilder::filter);
                builder.setQuery(boolQueryBuilder);
            } else {
                builder.setQuery(queryBuilder);
            }
    
            builder.execute(new ActionListener<SearchResponse>() {
                @Override
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            if (logger.isInfoEnabled()) {
                logger.info("Set document limit: {}", limitOfDocumentSize);
            }
            this.limitOfDocumentSize = limitOfDocumentSize;
        }
    
        public void setQuery(final QueryBuilder queryBuilder) {
            this.queryBuilder = queryBuilder;
        }
    
        public void addSort(final SortBuilder<?> sortBuilder) {
            sortList.add(sortBuilder);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

            final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
            for (final BooleanClause clause : booleanQuery.clauses()) {
                final QueryBuilder queryBuilder = getQueryProcessor().execute(context, clause.getQuery(), boost);
                if (queryBuilder != null) {
                    switch (clause.getOccur()) {
                    case MUST:
                        boolQuery.must(queryBuilder);
                        break;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top