C# 클래스 Lucene.Net.Demo.FileDocument

A utility for making Lucene Documents from a File.
파일 보기 프로젝트 열기: synhershko/lucene.net 1 사용 예제들

공개 메소드들

메소드 설명
Document ( System f ) : Lucene.Net.Documents.Document

Makes a document for a File.

The document has three fields:

  • path--containing the pathname of the file, as a stored, untokenized field;
  • modified--containing the last modified date of the file as a field as created by DateTools; and
  • contents--containing the full contents of the file, as a Reader field;

비공개 메소드들

메소드 설명
FileDocument ( ) : System

메소드 상세

Document() 공개 정적인 메소드

Makes a document for a File.

The document has three fields:

  • path--containing the pathname of the file, as a stored, untokenized field;
  • modified--containing the last modified date of the file as a field as created by DateTools; and
  • contents--containing the full contents of the file, as a Reader field;
public static Document ( System f ) : Lucene.Net.Documents.Document
f System
리턴 Lucene.Net.Documents.Document