Class SpanNearQuery
java.lang.Object
com.atlassian.confluence.search.v2.query.SpanNearQuery
- All Implemented Interfaces:
Expandable<SearchQuery>
,SearchQuery
v2 primitive query
- Since:
- 5.10
-
Field Summary
FieldsFields inherited from interface com.atlassian.confluence.search.v2.SearchQuery
DEFAULT_BOOST
-
Constructor Summary
ConstructorsConstructorDescriptionSpanNearQuery
(String fieldName, List<String> fieldValues, int slop, boolean inOrder) SpanNearQuery
(String fieldName, List<String> fieldValues, int slop, boolean inOrder, float boost) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.search.v2.SearchQuery
expand, getSubClauses
-
Field Details
-
KEY
- See Also:
-
-
Constructor Details
-
Method Details
-
getFieldName
-
getFieldValues
-
getSlop
public int getSlop() -
isInOrder
public boolean isInOrder() -
getKey
- Specified by:
getKey
in interfaceSearchQuery
- Returns:
- the plugin key
-
getParameters
Description copied from interface:SearchQuery
List of parameters asString
s orSearchQuery
s.- Specified by:
getParameters
in interfaceSearchQuery
- Returns:
String
s orSearchQuery
s.
-
getBoost
public float getBoost()Description copied from interface:SearchQuery
Return boost factor of this query. It will take effect when the query is used in combination with others e.g. inBooleanQuery
.- Specified by:
getBoost
in interfaceSearchQuery
- Returns:
- boost factor
-
equals
-
hashCode
public int hashCode()
-