Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.slide.search
Interface Indexer

All Known Subinterfaces:
  IndexStore

All Known Implementing Classes:
  DefaultIndexer, LoggingIndexer

public interface Indexer

An Indexer may create an index on a resource, update it or delete it.

Version:
  $Revision: 1.2 $

Method Summary
`void` | `createIndex(Uri uri, NodeRevisionDescriptor revisionDescriptor, NodeRevisionContent revisionContent)` creates an index for a resource
`void` | `dropIndex(Uri uri, NodeRevisionNumber number)` Drops the index of the specified resource
`void` | `updateIndex(Uri uri, NodeRevisionDescriptor revisionDescriptor, NodeRevisionContent revisionContent)` updates an index for a resource

Method Detail

### dropIndex

    public void dropIndex(Uri uri,
                          NodeRevisionNumber number)
                   throws IndexException

  Drops the index of the specified resource

  Parameters:
    `uri` - uri of the resource
    `number` - nodeRevisionNumber of the resource
  Throws:
    `IndexException`

### createIndex

    public void createIndex(Uri uri,
                            NodeRevisionDescriptor revisionDescriptor,
                            NodeRevisionContent revisionContent)
                     throws IndexException

  creates an index for a resource

  Parameters:
    `uri` - uri of the resource
    `revisionContent` - the content of the resource
  Throws:
    `IndexException`

### updateIndex

    public void updateIndex(Uri uri,
                            NodeRevisionDescriptor revisionDescriptor,
                            NodeRevisionContent revisionContent)
                     throws IndexException

  updates an index for a resource

  Parameters:
    `uri` - uri of the resource
    `revisionContent` - the content of the resource
  Throws:
    `IndexException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD