|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRIndexShort<O extends org.ajmm.obsearch.ob.OBShort>
An IRIndex that can store documents composed of Objects OBShort.
Method Summary | |
---|---|
java.util.List<ResultCandidate> |
search(Document<O> document,
byte k,
short r,
short n)
Searches the top n documents that are closest to document. |
Methods inherited from interface org.kit.furia.IRIndex |
---|
close, delete, freeze, getIndex, getMSetScoreThreshold, getSetScoreThreshold, getSize, getWordsSize, insert, isValidationMode, setMSetScoreThreshold, setSetScoreThreshold, setValidationMode, shouldSkipDoc |
Method Detail |
---|
java.util.List<ResultCandidate> search(Document<O> document, byte k, short r, short n) throws IRException
document
- A multi-set of objects OBShort.k
- k for the nearest neighbor search. All the k-elements will be used to create the IR query.r
- range for the nearest neighbor searchn
- Maximum # of elements to return
IRException
- If something goes really wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |