lucene-kmp
Toggle table of contents
10.2.0-alpha14
common
Target filter
common
Switch theme
Search in API
Skip to content
lucene-kmp
test-framework
/
org.gnit.lucenekmp.tests.analysis
/
MockBytesAnalyzer
Mock
Bytes
Analyzer
class
MockBytesAnalyzer
:
Analyzer
Analyzer for testing that encodes terms as UTF-16 bytes.
Members
Constructors
Mock
Bytes
Analyzer
Link copied to clipboard
constructor
(
)
Properties
reuse
Strategy
Link copied to clipboard
val
reuseStrategy
:
Analyzer.ReuseStrategy
stored
Value
Link copied to clipboard
var
storedValue
:
CloseableThreadLocal
<
Any
>
?
Functions
close
Link copied to clipboard
open
override
fun
close
(
)
get
Offset
Gap
Link copied to clipboard
open
fun
getOffsetGap
(
fieldName
:
String
?
)
:
Int
get
Position
Increment
Gap
Link copied to clipboard
open
fun
getPositionIncrementGap
(
fieldName
:
String
?
)
:
Int
normalize
Link copied to clipboard
fun
normalize
(
fieldName
:
String
,
text
:
String
)
:
BytesRef
token
Stream
Link copied to clipboard
fun
tokenStream
(
fieldName
:
String
,
text
:
String
)
:
TokenStream
fun
tokenStream
(
fieldName
:
String
,
reader
:
Reader
)
:
TokenStream