XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.3.1 (Evans SR1)
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      I want to put AND operator between terms.

      @Query(fields = {SearchableProductDefinition.TEXT_FIELD_NAME}, defaultOperator = Operator.AND)
          public FacetPage<Product> findByTextStartsWith(Collection<String> names, Pageable page);
      

      If collection is ['qwe','rty'], code above generates query: q=text:(qwe*+rty*)

      I want to change it to: q=text:(qwe* AND rty*)

      How can I achieve this.

        Attachments

          Activity

            People

            Assignee:
            cstrobl Christoph Strobl
            Reporter:
            javasparx Javlon Eraliyev
            Last updater:
            Javlon Eraliyev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: