public class SearchFiles extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static void | doPagingSearch(BufferedReader in,
              IndexSearcher searcher,
              Query query,
              int hitsPerPage,
              boolean raw,
              boolean interactive)This demonstrates a typical paging search scenario, where the search engine presents 
 pages of size n to the user. | 
| static void | main(String[] args)Simple command-line based search demo. | 
public static void main(String[] args) throws Exception
Exceptionpublic static void doPagingSearch(BufferedReader in, IndexSearcher searcher, Query query, int hitsPerPage, boolean raw, boolean interactive) throws IOException
IOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.