SpanFilterResult.PositionInfo (Lucene 2.4.1 API)
Keywords: org.apache.lucene.search.SpanFilterResult.PositionInfo class

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

## org.apache.lucene.search
Class SpanFilterResult.PositionInfo

    java.lang.Object
      org.apache.lucene.search.SpanFilterResult.PositionInfo

Enclosing class:
  SpanFilterResult

    public static class SpanFilterResult.PositionInfo

extends Object

Constructor Summary
`SpanFilterResult.PositionInfo(int doc)`

Method Summary
`void` | `addPosition(int start, int end)`
`int` | `getDoc()`
`List` | `getPositions()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SpanFilterResult.PositionInfo

    public SpanFilterResult.PositionInfo(int doc)

Method Detail

### addPosition

    public void addPosition(int start,
                            int end)

### getDoc

    public int getDoc()

### getPositions

    public List getPositions()

  Returns:
    A List of `SpanFilterResult.StartEnd` objects

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

Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.