Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setDefaultOperator (0.09 sec)

  1. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

                if (req.getAttribute(Constants.DEFAULT_QUERY_OPERATOR) instanceof final String op) {
                    parser.setDefaultOperator(Operator.valueOf(op));
                } else {
                    parser.setDefaultOperator(defaultOperator);
                }
            }).orElse(() -> {
                parser.setDefaultOperator(defaultOperator);
            });
            return parser;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            final List<String> keywords = new ArrayList<>();
            final List<TermQuery> termQueryList;
            try {
                final StandardQueryParser parser = new StandardQueryParser();
                parser.setDefaultOperator(StandardQueryConfigHandler.Operator.AND);
    
                termQueryList = getTermQueryList(parser.parse(q, "default"), fields);
            } catch (final Exception e) {
                return keywords;
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top