Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addAttributes (0.07 sec)

  1. 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 Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. 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 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