C# 클래스 WIKI.Helpers.LuceneQ

파일 보기 프로젝트 열기: fitba/km-2013-projects-team-cincar

공개 프로퍼티들

프로퍼티 타입 설명
_luceneDir string

Private Properties

프로퍼티 타입 설명
_addToLuceneIndex void
_mapLuceneDocumentToData LuceneQData
_mapLuceneToDataList IEnumerable
_mapLuceneToDataList IEnumerable
_search IEnumerable
parseQuery Query

공개 메소드들

메소드 설명
AddUpdateLuceneIndex ( IEnumerable sampleDatas ) : void
AddUpdateLuceneIndex ( LuceneQData sampleData ) : void
ClearLuceneIndex ( ) : bool
ClearLuceneIndexRecord ( int record_id ) : void
GetAllDataForLuceneIndex ( ) : List
GetAllIndexRecords ( ) : IEnumerable
GetQuestion ( ) : List
Optimize ( ) : void
Search ( string input, string fieldName = "" ) : IEnumerable
SearchDefault ( string input, string fieldName = "" ) : IEnumerable

비공개 메소드들

메소드 설명
_addToLuceneIndex ( LuceneQData sampleData, IndexWriter writer ) : void
_mapLuceneDocumentToData ( Document doc ) : LuceneQData
_mapLuceneToDataList ( IEnumerable hits ) : IEnumerable
_mapLuceneToDataList ( IEnumerable hits, IndexSearcher searcher ) : IEnumerable
_search ( string searchQuery, string searchField = "" ) : IEnumerable
parseQuery ( string searchQuery, QueryParser parser ) : Query

메소드 상세

AddUpdateLuceneIndex() 공개 정적인 메소드

public static AddUpdateLuceneIndex ( IEnumerable sampleDatas ) : void
sampleDatas IEnumerable
리턴 void

AddUpdateLuceneIndex() 공개 정적인 메소드

public static AddUpdateLuceneIndex ( LuceneQData sampleData ) : void
sampleData LuceneQData
리턴 void

ClearLuceneIndex() 공개 정적인 메소드

public static ClearLuceneIndex ( ) : bool
리턴 bool

ClearLuceneIndexRecord() 공개 정적인 메소드

public static ClearLuceneIndexRecord ( int record_id ) : void
record_id int
리턴 void

GetAllDataForLuceneIndex() 공개 정적인 메소드

public static GetAllDataForLuceneIndex ( ) : List
리턴 List

GetAllIndexRecords() 공개 정적인 메소드

public static GetAllIndexRecords ( ) : IEnumerable
리턴 IEnumerable

GetQuestion() 공개 정적인 메소드

public static GetQuestion ( ) : List
리턴 List

Optimize() 공개 정적인 메소드

public static Optimize ( ) : void
리턴 void

Search() 공개 정적인 메소드

public static Search ( string input, string fieldName = "" ) : IEnumerable
input string
fieldName string
리턴 IEnumerable

SearchDefault() 공개 정적인 메소드

public static SearchDefault ( string input, string fieldName = "" ) : IEnumerable
input string
fieldName string
리턴 IEnumerable

프로퍼티 상세

_luceneDir 공개적으로 정적으로 프로퍼티

public static string _luceneDir
리턴 string