(no subject)

Can you suggest a query for the following requirements

  1. I want to search a text like "My text message"
  2. It search the text in the index using simple analyzer using query_string
    3.If it finds the text then it return documents simply.
    4.If it doesn't find the text then it searches from "my text" as query
    string.
    5.if it also doesn't find from "my text" then it searches from "my" as
    query string.

I need this very urgently any effort would be thankful for me.