Package | Description |
---|---|
org.apache.lucene.search |
This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial queries.
|
Modifier and Type | Method and Description |
---|---|
TermAutomatonQuery |
TokenStreamToTermAutomatonQuery.toQuery(String field,
TokenStream in)
Pulls the graph (including
PositionLengthAttribute ) from the provided TokenStream , and creates the corresponding
automaton where arcs are bytes (or Unicode code points
if unicodeArcs = true) from each term. |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.