Package edu.buffalo.cse.ir.wikiindexer.indexer

Examples of edu.buffalo.cse.ir.wikiindexer.indexer.INDEXFIELD


   * .
   */
  @Test
  public final void testLookup() {
    // test that it creates entries
    INDEXFIELD testarr[] = INDEXFIELD.values();

    for (INDEXFIELD fld : testarr) {
      LocalDictionary dict = new LocalDictionary(idxProps, fld);
      int retVal = dict.lookup("test");
      assertTrue(retVal > 0);
View Full Code Here


   * {@link edu.buffalo.cse.ir.wikiindexer.indexer.Dictionary#exists(java.lang.String)}
   * .
   */
  @Test
  public final void testExists() {
    INDEXFIELD testarr[] = INDEXFIELD.values();

    for (INDEXFIELD fld : testarr) {
      LocalDictionary dict = new LocalDictionary(idxProps, fld);
     
      //test with empty
View Full Code Here

   * {@link edu.buffalo.cse.ir.wikiindexer.indexer.Dictionary#query(java.lang.String)}
   * .
   */
  @Test
  public final void testQuery() {
    INDEXFIELD testarr[] = INDEXFIELD.values();

    for (INDEXFIELD fld : testarr) {
      LocalDictionary dict = new LocalDictionary(idxProps, fld);
     
      //pre-populate with known terms
View Full Code Here

   * {@link edu.buffalo.cse.ir.wikiindexer.indexer.Dictionary#getTotalTerms()}
   * .
   */
  @Test
  public final void testGetTotalTerms() {
    INDEXFIELD testarr[] = INDEXFIELD.values();

    for (INDEXFIELD fld : testarr) {
      LocalDictionary dict = new LocalDictionary(idxProps, fld);
     
      //empty dictionary
View Full Code Here

TOP

Related Classes of edu.buffalo.cse.ir.wikiindexer.indexer.INDEXFIELD

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.