Help on Custom TTL Settings

Hi,

We have a Search Page to displaying the results based on End User's Query, but most of the Time its returning irrelavant results only.

For Example the Query String Value and results are Entirely different. We have set the Custom Cache Policy to Expire it to "2" Seconds. Please let us know whether the Issue is related to the TTL or Code or Other Cache? We are usig tomcat7 as a Application Server. Please help to resolve this issue.

Code:

<form method="get" class="clearfix" id="searchform">
  <div class="form-group">
    <div class="input-group stylish-input-group">
        <input type="text" class="form-control"  placeholder="Search" name="search" value="${param.search}"  id="searchkeyword">
        <input type="hidden" value="1" name="page" id="pagination" />
        <span class="input-group-addon">
            <button type="submit">
                <span class="glyphicon glyphicon-search"></span>
            </button>  
        </span>
    </div>
  </div>
</form>