#ifndef __LUCENE_SEARCH_HIT__
#define __LUCENE_SEARCH_HIT__

#include <Foundation/Foundation.h>

@class LCDocument;
@class LCHits;

@interface LCHit: NSObject
{
	LCDocument *doc;
	BOOL resolved;
	LCHits *hits;
	int hitNumber;
}

- (id) initWithHits: (LCHits *) hits index: (int) hitNumber;
- (LCDocument *) document;
- (float) score;
- (int) identifier;
- (float) boost;
- (NSString *) stringForField: (NSString *) name;

@end

#endif /* __LUCENE_SEARCH_HIT__ */


syntax highlighted by Code2HTML, v. 0.9.1