Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for normalizeUrl (0.07 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            this.readingConverter = readingConverter;
            return this;
        }
    
        public SuggestIndexer setNormalizer(final Normalizer normalizer) {
            this.normalizer = normalizer;
            return this;
        }
    
        public SuggestIndexer setAnalyzer(final SuggestAnalyzer analyzer) {
            this.analyzer = analyzer;
            return this;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/normalizer/DefaultNormalizerTest.java

            runner.close();
            runner.clean();
        }
    
        @Test
        public void test_normalize() throws Exception {
            Normalizer normalizer = SuggestUtil.createDefaultNormalizer(runner.client(), suggester.settings());
            assertEquals("12345,.*[]「」abcケンサクabcdけんさくガギグゲゴ", normalizer.normalize("12345,.*[]「」ABCケンサクabcdけんさくガギグゲゴ", null));
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java

    import org.codelibs.fess.suggest.normalizer.Normalizer;
    import org.codelibs.fess.suggest.request.RequestBuilder;
    import org.opensearch.client.Client;
    
    public class SuggestRequestBuilder extends RequestBuilder<SuggestRequest, SuggestResponse> {
        public SuggestRequestBuilder(final Client client, final ReadingConverter readingConverter, final Normalizer normalizer) {
            super(client, new SuggestRequest());
    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. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

        }
    
        public void setReadingConverter(final ReadingConverter readingConverter) {
            this.readingConverter = readingConverter;
        }
    
        public void setNormalizer(final Normalizer normalizer) {
            this.normalizer = normalizer;
        }
    
        public void setPrefixMatchWeight(final float prefixMatchWeight) {
            this.prefixMatchWeight = prefixMatchWeight;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.index.contents.querylog.QueryLog;
    import org.codelibs.fess.suggest.normalizer.Normalizer;
    import org.codelibs.fess.suggest.normalizer.NormalizerChain;
    
    import junit.framework.TestCase;
    
    public class DefaultContentsParserTest extends TestCase {
        DefaultContentsParser defaultContentsParser = new DefaultContentsParser();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/UrlNormalizingPostProcessor.java

            URL_EXPRESSIONS = expressions;
        }
    
        private UrlNormalizer normalizer;
    
        UrlNormalizingPostProcessor(UrlNormalizer normalizer) {
            this.normalizer = normalizer;
        }
    
        @Override
        public Object execute(String expression, Object value) {
            if (value != null && URL_EXPRESSIONS.contains(expression)) {
                return normalizer.normalize(value.toString());
            }
    
            return null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.codelibs.fess.suggest.normalizer.AnalyzerNormalizer;
    import org.codelibs.fess.suggest.normalizer.Normalizer;
    import org.codelibs.fess.suggest.normalizer.NormalizerChain;
    import org.codelibs.fess.suggest.settings.AnalyzerSettings;
    import org.codelibs.fess.suggest.settings.SuggestSettings;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-NormalizeJvm.kt

     * limitations under the License.
     */
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import java.text.Normalizer
    import java.text.Normalizer.Form.NFC
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 842 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizer.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.normalizer;
    
    public class FullWidthToHalfWidthAlphabetNormalizer implements Normalizer {
        @Override
        public String normalize(final String text, final String field, final String... langs) {
            final char[] chars = new char[text.length()];
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top