Interface IndividualContentIndexBuilder<C,​U>

Type Parameters:
C - type of the contents.
U - type of the users.
All Superinterfaces:
IndexBuilder<C>
All Known Implementing Classes:
AbstractIndividualContentIndexBuilder, WrapperIndividualContentIndexBuilder

public interface IndividualContentIndexBuilder<C,​U>
extends IndexBuilder<C>
Individual content index builder.
  • Method Summary

    Modifier and Type Method Description
    void indexText​(java.lang.String content, C contentId, U userId)
    Writes the contents of a user in the index.

    Methods inherited from interface es.uam.eps.ir.relison.content.index.IndexBuilder

    close, indexText, init
  • Method Details

    • indexText

      void indexText​(java.lang.String content, C contentId, U userId) throws java.io.IOException
      Writes the contents of a user in the index.
      Parameters:
      content - the published content.
      contentId - the identifier of the content.
      userId - the identifier of the author of the content.
      Throws:
      java.io.IOException - if something fails while writing the contents.