Class DefaultFreeTextQueryBuilder

  • All Implemented Interfaces:
    FreeTextQueryBuilder

    @Deprecated(since="6.4",
                forRemoval=true)
    public class DefaultFreeTextQueryBuilder
    extends AbstractFreeTextQueryBuilder
    Deprecated, for removal: This API element is subject to removal in a future version.
    Since 6.4, default search mode (instead of legacy) should be used.
    Default implementation of FreeTextQueryBuilder provides for simple querying of a property.
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultFreeTextQueryBuilder()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addFreeTextQuery​(SearchQuery searchQuery, java.lang.String fullText, java.lang.String[] textWords)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Add a free text query to the search query.
      protected int getBoost()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected java.lang.String getPropertyName()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setBoost​(int boost)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setPropertyName​(java.lang.String propertyName)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultFreeTextQueryBuilder

        public DefaultFreeTextQueryBuilder()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • getPropertyName

        protected java.lang.String getPropertyName()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setPropertyName

        public void setPropertyName​(java.lang.String propertyName)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getBoost

        protected int getBoost()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setBoost

        public void setBoost​(int boost)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • addFreeTextQuery

        public void addFreeTextQuery​(SearchQuery searchQuery,
                                     java.lang.String fullText,
                                     java.lang.String[] textWords)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: FreeTextQueryBuilder
        Add a free text query to the search query.
        Parameters:
        searchQuery - The search query to add search terms to
        fullText - The full text of the query
        textWords - The full text query split into words