Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 384 for langs (0.04 sec)

  1. .github/workflows/build-docs.yml

          - name: Export Language Codes
            id: show-langs
            run: |
              echo "langs=$(python ./scripts/docs.py langs-json)" >> $GITHUB_OUTPUT
    
      build-docs:
        needs:
          - changes
          - langs
        if: ${{ needs.changes.outputs.docs == 'true' }}
        runs-on: ubuntu-latest
        strategy:
          matrix:
            lang: ${{ fromJson(needs.langs.outputs.langs) }}
        steps:
          - name: Dump GitHub context
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 12:27:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

            final ReadingConverter converter;
            if (langs == null || langs.length == 0) {
                converter = new LangAnayzerConverter(null);
            } else {
                final ReadingConverterChain chain = new ReadingConverterChain();
                for (final String lang : langs) {
                    chain.addConverter(new LangAnayzerConverter(lang));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

            final Normalizer normalizer;
            if (langs == null || langs.length == 0) {
                normalizer = new LangAnalyzerNormalizer(null);
            } else {
                final NormalizerChain chain = new NormalizerChain();
                for (final String lang : langs) {
                    chain.add(new LangAnalyzerNormalizer(lang));
                }
                normalizer = chain;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. scripts/docs.py

        """
        update_languages()
        shutil.rmtree(site_path, ignore_errors=True)
        langs = [lang.name for lang in get_lang_paths() if lang.is_dir()]
        cpu_count = os.cpu_count() or 1
        process_pool_size = cpu_count * 4
        typer.echo(f"Using process pool size: {process_pool_size}")
        with Pool(process_pool_size) as p:
            p.map(build_lang, langs)
    
    
    @app.command()
    def update_languages() -> None:
        """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 08 11:01:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/QueryCommand.java

            getQueryLanguages().ifPresent(langs -> stream(langs).of(stream -> stream.forEach(lang -> {
                defaultQuery.add(
                        builder.apply(fessConfig.getIndexFieldTitle() + "_" + lang, fessConfig.getQueryBoostTitleLangAsDecimal().floatValue()));
                defaultQuery.add(builder.apply(fessConfig.getIndexFieldContent() + "_" + lang,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                        + ", fields=" + Arrays.toString(fields)//
                        + ", tags=" + Arrays.toString(tags)//
                        + ", roles=" + Arrays.toString(roles)//
                        + ", langs=" + Arrays.toString(langs)//
                        + ", num=" + num;
                if (logger.isDebugEnabled()) {
                    logger.debug(msg, e);
                }
                throw new SuggestIndexException(msg, e);
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                String[] langs = (String[]) propMap.get(QUERY_DEFAULT_LANGUAGES);
                if (langs == null) {
                    langs = split(getQueryDefaultLanguages(), ",").get(stream -> stream.map(String::trim).toArray(n -> new String[n]));
                    propMap.put(QUERY_DEFAULT_LANGUAGES, langs);
    
                }
                return normalizeQueryLanguages(langs);
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

    import java.util.Map;
    import java.util.Set;
    import java.util.function.Consumer;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.lang.ThreadUtil;
    import org.codelibs.core.misc.Pair;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.es.client.SearchEngineClient;
    import org.codelibs.fess.es.config.exbhv.BadWordBhv;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java

        private static final char HANKAKU_KATAKANA_LAST_CHAR = HANKAKU_KATAKANA[HANKAKU_KATAKANA.length - 1];
    
        @Override
        public String normalize(final String s, final String field, final String... langs) {
            if (s.length() == 0) {
                return s;
            }
            if (s.length() == 1) {
                return hankakuKatakanaToZenkakuKatakana(s.charAt(0)) + "";
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

    import java.util.function.Supplier;
    
    import org.apache.commons.lang3.ArrayUtils;
    import org.apache.commons.lang3.StringUtils;
    import org.apache.commons.text.StringEscapeUtils;
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.CoreLibConstants;
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top