Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addAttribute (0.09 sec)

  1. 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 Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K 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 Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. 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)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

            if (trimSpaceEnabled) {
                final Matcher matcher = SPACE_PATTERN.matcher(value);
                return matcher.replaceAll(" ").trim();
            }
            return value;
        }
    
        public void addAttribute(final String name, final Object value) {
            attributeMap.put(name, value);
        }
    
        public void addFeature(final String key, final String value) {
            featureMap.put(key, value);
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            final Attribute attr = new BasicAttribute(name, value);
            final ModificationItem mod = new ModificationItem(DirContext.ADD_ATTRIBUTE, attr);
            modifyList.add(mod);
        }
    
        protected void modifyReplaceEntry(final List<ModificationItem> modifyList, final String name, final String value) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
Back to top