title: Relevance the search result in Lucene
body: <p><strong>What I want is :</strong></p>
  
  <p>In the search method i will add an extra parameter say relevance param of type float to setup the cuttoff relevance. So lets say if the cutoff is 60% I want items that are higher than 60% relevance.</p>
  
  <p>Here is current code of search :</p>
  
  <p>say the search text is a
  and in lucene file system i have following description:
  1) abcdef
  2)abc
  3)abcd</p>
  
  <p><strong>for now it will fetch all the above three docuements , i want to fetch those which are that are higher than 60% relevance.</strong> </p>
  
  <p>//for now i am not using the relevanceparam anywhere in the method :</p>
  
  <pre><code>public static string[] Search(string searchText,float relevanceparam)
          {
              //List of ID
              List&lt;string&gt; searchResultID = new List&lt;string&gt;();
  
              IndexSearcher searcher = new IndexSearcher(reader);
              Term searchTerm = new Term("Text", searchText);
              Query query = new TermQuery(searchTerm);
              Hits hits = searcher.Search(query);
              for (int i = 0; i &lt; hits.Length(); i++)
              {
                  float r = hits.Score(i);
                  Document doc = hits.Doc(i);
  
                  searchResultID.Add(doc.Get("ID"));
              }
              return searchResultID.ToArray();
          }
  </code></pre>
  
  <p><strong>Edit :</strong></p>
  
  <p>what if i set boost to my query 
  say :  query.SetBoost(1.6);-- is this is equivalent to 60 percent?</p>