Class SpanNearQuery
- java.lang.Object
-
- com.atlassian.confluence.search.v2.query.SpanNearQuery
-
- All Implemented Interfaces:
Expandable<SearchQuery>,SearchQuery
@SearchPrimitive public class SpanNearQuery extends Object implements SearchQuery
v2 primitive query- Since:
- 5.10
-
-
Field Summary
Fields Modifier and Type Field Description static StringKEY-
Fields inherited from interface com.atlassian.confluence.search.v2.SearchQuery
DEFAULT_BOOST
-
-
Constructor Summary
Constructors Constructor Description SpanNearQuery(String fieldName, List<String> fieldValues, int slop, boolean inOrder)SpanNearQuery(String fieldName, List<String> fieldValues, int slop, boolean inOrder, float boost)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)floatgetBoost()Return boost factor of this query.StringgetFieldName()List<String>getFieldValues()StringgetKey()List<?>getParameters()List of parameters asStrings orSearchQuerys.intgetSlop()inthashCode()booleanisInOrder()-
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 Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFieldName
public String getFieldName()
-
getSlop
public int getSlop()
-
isInOrder
public boolean isInOrder()
-
getKey
public String getKey()
- Specified by:
getKeyin interfaceSearchQuery- Returns:
- the plugin key
-
getParameters
public List<?> getParameters()
Description copied from interface:SearchQueryList of parameters asStrings orSearchQuerys.- Specified by:
getParametersin interfaceSearchQuery- Returns:
Strings orSearchQuerys.
-
getBoost
public float getBoost()
Description copied from interface:SearchQueryReturn boost factor of this query. It will take effect when the query is used in combination with others e.g. inBooleanQuery.- Specified by:
getBoostin interfaceSearchQuery- Returns:
- boost factor
-
-