Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for addAttribute (0.04 sec)

  1. src/test/java/org/codelibs/opensearch/extension/analysis/DisableGraphFilterFactory.java

                final Settings settings) {
            super(indexSettings, name, settings);
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            tokenStream.addAttribute(DisableGraphAttribute.class);
            return tokenStream;
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/PosConcatenationFilterFactory.java

                posTags.addAll(tagList);
            }
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            final PartOfSpeechAttribute posAtt = tokenStream.addAttribute(PartOfSpeechAttribute.class);
            return new PosConcatenationFilter(tokenStream, posTags, () -> posAtt.getPartOfSpeech());
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

        private MyToken prevToken;
    
        private final List<MyToken> synonyms;
    
        private final CharTermAttribute termAttr = addAttribute(CharTermAttribute.class);
    
        private final OffsetAttribute offsetAttr = addAttribute(OffsetAttribute.class);
    
        private final PositionIncrementAttribute posIncAttr = addAttribute(PositionIncrementAttribute.class);
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

            return value;
        }
    
        /**
         * Adds an attribute to the factory.
         * @param name The name of the attribute.
         * @param value The value of the attribute.
         */
        public void addAttribute(final String name, final Object value) {
            attributeMap.put(name, value);
        }
    
        /**
         * Adds a feature to the factory.
         * @param key The key of the feature.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
Back to top