public class

TextFieldQuery

extends Object
implements SearchQuery
java.lang.Object
   ↳ com.atlassian.confluence.search.v2.query.TextFieldQuery

Class Overview

Represents a raw query from the user that may be parsed.

Note: Using this query means that you know the name of fields within your index. This means that your code is bound to the name of fields in the index which could change. Ultimately you should not consider the TextFieldQuery part of the public search API.

Summary

Public Constructors
TextFieldQuery(String fieldName, String rawQuery, BooleanOperator operator)
Public Methods
boolean equals(Object obj)
String getFieldName()
String getKey()
BooleanOperator getOperator()
List getParameters()
List of parameters as Strings or SearchQuerys.
String getRawQuery()
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.search.v2.SearchQuery

Public Constructors

public TextFieldQuery (String fieldName, String rawQuery, BooleanOperator operator)

Parameters
fieldName the field name in the index
rawQuery the raw query string for the field
operator the operator applied to raw query string. For example, with a rawQuery of "foo bar", specifying AND means "foo AND bar"

Public Methods

public boolean equals (Object obj)

public String getFieldName ()

public String getKey ()

public BooleanOperator getOperator ()

public List getParameters ()

List of parameters as Strings or SearchQuerys.

Returns

public String getRawQuery ()

public int hashCode ()