Lucene.Net.Search.QueryUtils.Check C# (CSharp) Method

Check() public static method

Check the types of things query objects should be able to do.
public static Check ( Query q ) : void
q Query
return void
        public static void Check(Query q)
        {
            CheckHashEquals(q);
        }

Same methods

QueryUtils::Check ( Random random, Query q1, IndexSearcher s, Similarity similarity ) : void
QueryUtils::Check ( Random random, Query q1, IndexSearcher s, bool wrap, Similarity similarity ) : void

Usage Example

コード例 #1
0
 private void  LogResult(System.String msg, IndexSearcher s, Query q, int doc, float score1)
 {
     QueryUtils.Check(q, s);
     Log(msg + " " + score1);
     Log("Explain by: " + q);
     Log(s.Explain(q, doc));
 }
All Usage Examples Of Lucene.Net.Search.QueryUtils::Check