Examples of BlockFieldDocumentPostingList


Examples of org.terrier.structures.indexing.BlockFieldDocumentPostingList

public class BlockFieldMemoryPostings extends BlockMemoryPostings{
  /**
   * {@inheritDoc}
   */
  public void addTerms(DocumentPostingList _docPostings, int docid) throws IOException {
    BlockFieldDocumentPostingList docPostings = (BlockFieldDocumentPostingList) _docPostings;
    for (String term : docPostings.termSet())
      add(term, docid, docPostings.getFrequency(term) , docPostings.getFieldFrequencies(term), docPostings.getBlocks(term));
  }
View Full Code Here

Examples of org.terrier.structures.indexing.BlockFieldDocumentPostingList

  }


  protected void createDocumentPostings(){
    if (FieldScore.FIELDS_COUNT > 0)
      termsInDocument = new BlockFieldDocumentPostingList(FieldScore.FIELDS_COUNT);
    else
      termsInDocument = new BlockDocumentPostingList();
    blockId = 0;
    numOfTokensInBlock = 0;
  }
View Full Code Here

Examples of org.terrier.structures.indexing.BlockFieldDocumentPostingList

  }

 
  protected void createDocumentPostings(){
    if (FieldScore.FIELDS_COUNT > 0)
      termsInDocument = new BlockFieldDocumentPostingList(FieldScore.FIELDS_COUNT);
    else
      termsInDocument = new BlockDocumentPostingList();
    blockId = 0;
    numOfTokensInBlock = 0
  }
View Full Code Here

Examples of org.terrier.structures.indexing.BlockFieldDocumentPostingList

  }


  protected void createDocumentPostings(){
    if (FieldScore.FIELDS_COUNT > 0)
      termsInDocument = new BlockFieldDocumentPostingList(FieldScore.FIELDS_COUNT);
    else
      termsInDocument = new BlockDocumentPostingList();
    blockId = 0;
    numOfTokensInBlock = 0;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.