Package lumis.search

Class SearchQuery

  • Direct Known Subclasses:
    LuceneSearchQuery

    @Deprecated
    @StableMinor(version="16.0",
                 sinceVersion="4.0")
    public class SearchQuery
    extends java.lang.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: 25809 $ $Date: 2023-07-04 15:23:22 -0300 (Tue, 04 Jul 2023) $
    • Method Detail

      • getUserQuery

        public java.lang.String getUserQuery()
        Deprecated.
        Returns the user query, which is the user-defined portion of the query, 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​(java.lang.String query)
        Deprecated.
        Sets the user query.
        Parameters:
        query - the user query
        Since:
        4.0.4
      • getControlQuery

        public java.lang.String getControlQuery()
        Deprecated.
        Returns the control query, which is the system-defined portion of the query, 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()
      • getMaxRows

        public int getMaxRows()
        Deprecated.
        Returns the maximum number of hits to be returned by the query 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.
        Parameters:
        maxRows - the maximum number of hits
        Since:
        4.0.4
      • getStartAt

        public int getStartAt()
        Deprecated.
        Returns the number of the first hit to be returned by the query execution.

        Usually this setting is used to paginate the search results.

        Returns:
        the number of the first hit
        Since:
        4.0.4