- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 247 for ngquery (0.06 sec)
-
QueryStringBuilder.java
sConfig(); L66: final int maxQueryLength = fessConfig.getQueryMaxLengthAsInteger(); L67: final StringBuilder queryBuf = new StringBuilder(255); L68: L69: final String query = buildBaseQuery(); L70: if (StringUtil.isNotBlank(query)) { L71: queryBuf.append(escapeQuery(query)); L72: } L73: L74: stream(params.getExtraQueries()) L75: .of(stream -> stream.filter(q -> StringUtil.isNotBlank(q) && q.length() <= maxQueryLength).forEach(q ->...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 8.7K bytes -
FailureUrlService.java
if (StringUtil.isNotBlank(failureUrlPager.url)) { L109: cb.query().setUrl_Wildcard(failureUrlPager.url); L110: } L111: L112: if (StringUtil.isNotBlank(failureUrlPager.errorCountMax)) { L113: cb.query().setErrorCount_LessEqual(Integer.parseInt(failureUrlPager.errorCountMax)); L114: } L115: if (StringUtil.isNotBlank(failureUrlPager.errorCountMin)) { L116: cb.query().setErrorCount_GreaterEqual(Integer.parseInt(failureUrlPager.errorCountMin));...github.com/codelibs/fess/src/main/java/org/code...Mon Jun 24 01:20:42 UTC 2024 6.3K bytes -
TermQueryCommand.java
L48: return TermQuery.class.getSimpleName(); L49: } L50: L51: @Override L52: public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { L53: if (query instanceof final TermQuery termQuery) { L54: if (logger.isDebugEnabled()) { L55: logger.debug("{}:{}", query, boost); L56: } L57: return convertTermQuery(context, termQuery, boost); L58: } L59: throw new InvalidQueryException(messages...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:15 UTC 2024 10K bytes -
QueryProcessor.java
Messages.GLOBAL_PROPERTY_KEY), L85: "Unknown q: " + query.getClass() + " => " + query); L86: }; L87: } L88: L89: public interface Filter { L90: QueryBuilder execute(final QueryContext context, final Query query, final float boost, final FilterChain chain); L91: } L92: L93: public interface FilterChain { L94: QueryBuilder execute(final QueryContext context, final Query query, final float boost); L95: } L96:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.3K bytes -
QueryParserTest.java
assertEquals(TermQuery.class, query.getClass()); L39: assertEquals("_default:fess", ((TermQuery) query).getTerm().toString()); L40: L41: query = queryParser.createDefaultFilterChain().parse("title:fess"); L42: assertEquals(TermQuery.class, query.getClass()); L43: assertEquals("title:fess", ((TermQuery) query).getTerm().toString()); L44: L45: query = queryParser.createDefaultFilterChain().parse("fess*"); L46: assertEquals(PrefixQuery.class, query.getClass()); L47: ...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 5.7K bytes -
TermQueryCommandTest.java
org.codelibs.fess.mylasta.direction.FessConfig; L28:import org.codelibs.fess.query.parser.QueryParser; L29:import org.codelibs.fess.unit.UnitFessTestCase; L30:import org.codelibs.fess.util.ComponentUtil; L31:import org.dbflute.util.DfTypeUtil; L32:import org.opensearch.index.query.BoolQueryBuilder; L33:import org.opensearch.index.query.MatchPhraseQueryBuilder; L34:import org.opensearch.index.query.PrefixQueryBuilder; L35:import org.opensearch.index.query.QueryBuilder; L36:import org.opensearch.index.query.TermQueryBuilder;...github.com/codelibs/fess/src/test/java/org/code...Thu Jul 11 08:26:36 UTC 2024 9.2K bytes -
fess_query.xml
L3: "http://dbflute.org/meta/lastadi10.dtd"> L4:<components> L5: <component name="queryFieldConfig" L6: class="org.codelibs.fess.query.QueryFieldConfig"> L7: </component> L8: L9: <component name="queryProcessor" L10: class="org.codelibs.fess.query.QueryProcessor"> L11: </component> L12: L13: <component name="booleanQueryCommand" L14: class="org.codelibs.fess.query.BooleanQueryCommand"> L15: <postConstruct name="register"></postConstruct> L16: </component> L17: <component name="boostQueryCommand"...github.com/codelibs/fess/src/main/resources/fes...Sat Mar 19 03:54:52 UTC 2022 1.8K bytes -
FuzzyQueryCommand.java
L38: return FuzzyQuery.class.getSimpleName(); L39: } L40: L41: @Override L42: public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { L43: if (query instanceof final FuzzyQuery fuzzyQuery) { L44: if (logger.isDebugEnabled()) { L45: logger.debug("{}:{}", query, boost); L46: } L47: return convertFuzzyQuery(context, fuzzyQuery, boost); L48: } L49: throw new InvalidQueryException(messages...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.3K bytes -
PhraseQueryCommand.java
return PhraseQuery.class.getSimpleName(); L39: } L40: L41: @Override L42: public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { L43: if (query instanceof final PhraseQuery phraseQuery) { L44: if (logger.isDebugEnabled()) { L45: logger.debug("{}:{}", query, boost); L46: } L47: return convertPhraseQuery(context, phraseQuery, boost); L48: } L49: throw new InvalidQueryException(messages...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.8K bytes -
ElevateWordService.java
L247: .get(stream -> stream.map(l -> labelTypeBhv.selectEntity(cb -> cb.query().setValue_Equal(l)).map(e -> { L248: final List<ElevateWordToLabel> mList = elevateWordToLabelBhv.selectList(cb -> { L249: cb.query().setElevateWordId_Equal(id); L250: cb.query().setLabelTypeId_Equal(e.getId()); L251: }); L252: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 15.5K bytes