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

    All Methods Instance Methods Concrete Methods
    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 Detail

    - #### QuestionIndexer

          public QuestionIndexer()

  - ### Method Detail

    - #### 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.