1 Reply Latest reply: Apr 3, 2008 8:00 AM by 435184 RSS

    How to do exact word search using Java API

    435184
      Hi,

      Can someone tell me how can I write a search query using Ultra Search Java API to return data containing a full word that is sent as a search
      parameter. e.g. If I want to search for a word 'Dictionary' I need to get all the results conatining full word Dictionary for example if I
      have following 4 records

      1. Dictionary
      2. English Dictionary
      3. French Dictionary
      4. AllDictionary


      How can I write a query that returns me first 3 records only as they contain the word 'Dictionary' and not the fourth record as it's not a word.
      Here is what I need to get back and ordered in that way as the 'Dictionary' needs to be first record because the search is on Dictionary.

      1. Dictionary
      2. English Dictionary
      3. French Dictionary



      Any help is appreciated.

      Thanks