public class TextFieldPrefixQueryMapper extends Object implements LuceneQueryMapper<TextFieldPrefixQuery>
TextFieldPrefixQuery
s.Constructor and Description |
---|
TextFieldPrefixQueryMapper() |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
convertToLuceneQuery(TextFieldPrefixQuery textFieldPrefixQuery)
Converts the given query into a lucene query.
|
public org.apache.lucene.search.Query convertToLuceneQuery(TextFieldPrefixQuery textFieldPrefixQuery)
convertToLuceneQuery
in interface LuceneQueryMapper<TextFieldPrefixQuery>
textFieldPrefixQuery
- a TextFieldPrefixQuery instance.IllegalArgumentException
- if the query cannot be successfully parsed by QueryParser
Copyright © 2003–2017 Atlassian. All rights reserved.