Home » lucene-3.0.1-src » org.apache » lucene » search » spans » [javadoc | source]
org.apache.lucene.search.spans
public class: TestBasics [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.apache.lucene.search.spans.TestBasics
Tests basic search capabilities.

Uses a collection of 1000 documents, each the english rendition of their document number. For example, the document numbered 333 has text "three hundred thirty three".

Tests are each a single query, and its hits are checked to ensure that all and only the correct documents are returned, thus providing end-to-end testing of the indexing and search code.

Method from org.apache.lucene.search.spans.TestBasics Summary:
setUp,   testBoolean,   testBoolean2,   testPhrase,   testPhrase2,   testSpanComplex1,   testSpanExactNested,   testSpanFirst,   testSpanNearExact,   testSpanNearOr,   testSpanNearOrdered,   testSpanNearUnordered,   testSpanNot,   testSpanOr,   testTerm,   testTerm2
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.search.spans.TestBasics Detail:
 public  void setUp() throws Exception 
 public  void testBoolean() throws Exception 
 public  void testBoolean2() throws Exception 
 public  void testPhrase() throws Exception 
 public  void testPhrase2() throws Exception 
 public  void testSpanComplex1() throws Exception 
 public  void testSpanExactNested() throws Exception 
 public  void testSpanFirst() throws Exception 
 public  void testSpanNearExact() throws Exception 
 public  void testSpanNearOr() throws Exception 
 public  void testSpanNearOrdered() throws Exception 
 public  void testSpanNearUnordered() throws Exception 
 public  void testSpanNot() throws Exception 
 public  void testSpanOr() throws Exception 
 public  void testTerm() throws Exception 
 public  void testTerm2() throws Exception