Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9494

Ickl full-text queries with wildcards are affected by upper/lower case

    XMLWordPrintable

Details

    • Workaround Exists
    • Hide

      Use always lower-case in queries

      Show
      Use always lower-case in queries

    Description

      If an attribute is annotated with
      @Field(index = Index.YES,store = Store.YES, analyze = Analyze.YES)
      a full-text search with wildcards can be used like this

      from proto.Person p where p.firstName : 'wolf*ng'

      It is expected that the query will ignore capitalisation. So a search 'Wolf*' 'Wolf*ng' 'wolf*' should find the attribute value "Wolfgang" and "wolfgang".
      But only if the query is written in lower-case it will match the expectation

      Attachments

        Activity

          People

            anistor Nistor Adrian
            rhn-support-wfink Wolf-Dieter Fink
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: