Package org.silverpeas.components.questionreply.index

# Class QuestionIndexer

java.lang.Object
org.silverpeas.components.questionreply.index.QuestionIndexer

@Technical @Bean public class QuestionIndexer extends Object

Author:
  ehugonnet

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `QuestionIndexer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `createIndex(Question question, Collection<Reply> replies)`
  `void`
  `deleteIndex(Question question)`
  Delete index of the specified question.
  `void`
  `updateIndex(Question question, Collection<Reply> replies)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### QuestionIndexer

    public QuestionIndexer()

- ## Method Details

  - ### createIndex

    public void createIndex(Question question, Collection<Reply> replies)

  - ### updateIndex

    public void updateIndex(Question question, Collection<Reply> replies)

  - ### deleteIndex

    public void deleteIndex(Question question)
    Delete index of the specified question.
    Parameters:
      `question` - a question
    Implementation Note:
      The index of the replies to the question isn't deleted.