문제

루센의 모든 히트 곡을 가져오고 싶습니다. 모든 레코드를 가져 오는 와일드 카드 캐릭터가 있습니까?

도움이 되었습니까?

해결책

Lucene.net 의이 수업이 귀하의 목적에 도움이 될 수 있습니까? matchalldocsquery

다른 팁

그것은 효과가있었습니다. 감사합니다.

코드는 다음과 같습니다.

searcher = new Lucene.Net.Search.IndexSearcher(IndexPath);    
Lucene.Net.Search.MatchAllDocsQuery objMatchAll = new Lucene.Net.Search.MatchAllDocsQuery();    
Lucene.Net.Search.Hits hits = searcher.Search(objMatchAll);
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top