com.atlassian.jira.issue.index.indexers.phrase
Class PhraseQuerySupportField
java.lang.Object
com.atlassian.jira.issue.index.indexers.phrase.PhraseQuerySupportField
@ExperimentalApi
public class PhraseQuerySupportField
- extends Object
Encapsulates the information to create a special purpose lucene field
to be used for quoted phrase
query searches for a given JIRA text field.
- Since:
- v6.0.8
Method Summary |
static String |
forIndexField(String indexFieldName)
Returns the name of the phrase query support field to build for given a field. |
static boolean |
isPhraseQuerySupportField(String indexFieldName)
Determines whether a given document field is a phrase query support field. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhraseQuerySupportField
public PhraseQuerySupportField()
forIndexField
public static String forIndexField(String indexFieldName)
- Returns the name of the phrase query support field to build for given a field.
- Parameters:
indexFieldName
- The name of the original field.
- Returns:
- A
String
containing the name of the phrase query support field.
isPhraseQuerySupportField
public static boolean isPhraseQuerySupportField(String indexFieldName)
- Determines whether a given document field is a phrase query support field.
- Parameters:
indexFieldName
- the name of the field to inspect.
- Returns:
true
if the passed in field is a phrase query support field; otherwise, false
.
Copyright © 2002-2014 Atlassian. All Rights Reserved.