Package lumis.search
Class SearchQuery
- java.lang.Object
-
- lumis.search.SearchQuery
-
- Direct Known Subclasses:
LuceneSearchQuery
@Deprecated @StableMinor(version="14.1", sinceVersion="4.0") public class SearchQuery extends Object
Deprecated.Since 8.1.0, lumis.search was replaced by lumis.portal.bigdata.Represents search criteria used to find matching information by a search engine.- Since:
- 4.0.4
- Version:
- $Revision: 24684 $ $Date: 2021-08-23 18:58:35 -0300 (Mon, 23 Aug 2021) $
-
-
Constructor Summary
Constructors Constructor Description SearchQuery()
Deprecated.SearchQuery(String query)
Deprecated.SearchQuery(String query, SearchAttributes attributes)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SearchAttributes
getAttributes()
Deprecated.Returns the query'sattributes
, that define additional information to be passed to the search engine.ISearchQueryFilter
getControlFilter()
Deprecated.Returns a query filter to be applied to the search.String
getControlQuery()
Deprecated.Returns the control query, which is the system-defined portion of thequery
, usually containing criteria related to some metadata indexed with the content (e.g.int
getMaxRows()
Deprecated.int
getStartAt()
Deprecated.String
getUserQuery()
Deprecated.Returns the user query, which is the user-defined portion of thequery
, usually entered by the final user using front-end interfaces.void
setAttributes(SearchAttributes attributes)
Deprecated.Sets thequery's attributes
.void
setControlFilter(ISearchQueryFilter controlFilter)
Deprecated.Sets the query filter to be applied to the search.void
setControlQuery(String controlQuery)
Deprecated.Sets thecontrol query
.void
setMaxRows(int maxRows)
Deprecated.Sets themaximum number of hits
.void
setStartAt(int startAt)
Deprecated.Sets thenumber of the first hit
.void
setUserQuery(String query)
Deprecated.Sets theuser query
.
-
-
-
Constructor Detail
-
SearchQuery
public SearchQuery()
Deprecated.- Since:
- 4.0.4
-
SearchQuery
public SearchQuery(String query)
Deprecated.- Parameters:
query
-user query
- Since:
- 4.0.4
-
SearchQuery
public SearchQuery(String query, SearchAttributes attributes)
Deprecated.- Parameters:
query
-user query
attributes
-attributes
- Since:
- 4.0.4
-
-
Method Detail
-
getAttributes
public SearchAttributes getAttributes()
Deprecated.Returns the query'sattributes
, that define additional information to be passed to the search engine.- Returns:
- the query's
attributes
- Since:
- 4.0.4
-
setAttributes
public void setAttributes(SearchAttributes attributes)
Deprecated.Sets thequery's attributes
.- Parameters:
attributes
- thequery's attributes
- Since:
- 4.0.4
-
getUserQuery
public String getUserQuery()
Deprecated.Returns the user query, which is the user-defined portion of thequery
, usually entered by the final user using front-end interfaces.The search engines can and usually perform a tokenization in the user query in the same way they do in the
contents
during the indexing process.- Returns:
- the user query
- Since:
- 4.0.4
- See Also:
lumis.search
-
setUserQuery
public void setUserQuery(String query)
Deprecated.Sets theuser query
.- Parameters:
query
- theuser query
- Since:
- 4.0.4
-
getControlQuery
public String getControlQuery()
Deprecated.Returns the control query, which is the system-defined portion of thequery
, usually containing criteria related to some metadata indexed with the content (e.g. service instance identifier).The search engines must not perform a tokenization in the control query, because it usually consists in criteria for non-intelligible information (such as GUIDs).
- Returns:
- the control query
- Since:
- 4.0.4
- See Also:
getControlFilter()
-
setControlQuery
public void setControlQuery(String controlQuery)
Deprecated.Sets thecontrol query
.- Parameters:
controlQuery
- thecontrol query
- Since:
- 4.0.4
- See Also:
setControlFilter(ISearchQueryFilter)
-
getMaxRows
public int getMaxRows()
Deprecated.Returns the maximum number ofhits
to be returned by thequery
execution
.Usually this setting is used to paginate the
search results
.- Returns:
- the maximum number of hits
- Since:
- 4.0.4
-
setMaxRows
public void setMaxRows(int maxRows)
Deprecated.Sets themaximum number of hits
.- Parameters:
maxRows
- the maximum number of hits- Since:
- 4.0.4
-
getStartAt
public int getStartAt()
Deprecated.Returns the number of the firsthit
to be returned by thequery
execution
.Usually this setting is used to paginate the
search results
.- Returns:
- the number of the first
hit
- Since:
- 4.0.4
-
setStartAt
public void setStartAt(int startAt)
Deprecated.Sets thenumber of the first hit
.- Parameters:
startAt
- thenumber of the first hit
- Since:
- 4.0.4
-
getControlFilter
public ISearchQueryFilter getControlFilter()
Deprecated.Returns a query filter to be applied to the search.- Returns:
- the query filter, or
null
if none was specified. - Since:
- 4.2.2
- See Also:
lumis.search.filter
,getControlQuery()
-
setControlFilter
public void setControlFilter(ISearchQueryFilter controlFilter)
Deprecated.Sets the query filter to be applied to the search.- Parameters:
the
- query filter.- Since:
- 4.2.2
- See Also:
lumis.search.filter
,setControlQuery(String)
-
-