org.apache.lucene.analysis.commongrams (Lucene 10.5.1 common API)
Description: declaration: package: org.apache.lucene.analysis.commongrams

# Package org.apache.lucene.analysis.commongrams

package org.apache.lucene.analysis.commongrams
Construct n-grams for frequently occurring terms and phrases.

- Classes
  Class
  Description
  CommonGramsFilter
  Construct bigrams for frequently occurring terms while indexing.
  CommonGramsFilterFactory
  Constructs a `CommonGramsFilter`.
  CommonGramsQueryFilter
  Wrap a CommonGramsFilter optimizing phrase queries by only returning single words when they are not a member of a bigram.
  CommonGramsQueryFilterFactory
  Construct `CommonGramsQueryFilter`.