@Test public void testGood() { final List<SearchEntry> results = this.search.search( new SearchQuery("+[Mat-Rev] good~", new String[] {"ESV_th"}, "true", 0, 1, 1000000, null), "ESV_th").getResults(); for (SearchEntry result : results) { LOGGER.trace(((VerseSearchEntry) result).getKey()); } assertFalse(results.isEmpty()); }
@Override public SearchResult search(final SearchQuery sq, final String version, final LookupOption... options) { return retrieveResultsFromKeys(sq, searchKeys(sq), version, options); }
JSwordSearchServiceImpl implements JSwordSearchService { @Override public SearchResult search(final SearchQuery sq, final String version, final LookupOption... options) { return retrieveResultsFromKeys(sq, searchKeys(sq), version, options); } }
JSwordSearchServiceImpl implements JSwordSearchService { @Override public SearchResult search(final SearchQuery sq, final String version, final LookupOption... options) { return retrieveResultsFromKeys(sq, searchKeys(sq), version, options); } @Inject  JSwordSearchServiceImpl(final JSwordVersificationService av11nService,
                                   final JSwordMetadataService metadataService,
                                   final JSwordPassageService jsword); }
JSwordSearchServiceImpl implements JSwordSearchService { @Override public SearchResult search(final SearchQuery sq, final String version, final LookupOption... options) { return retrieveResultsFromKeys(sq, searchKeys(sq), version, options); } @Inject  JSwordSearchServiceImpl(final JSwordVersificationService av11nService,
                                   final JSwordMetadataService metadataService,
                                   final JSwordPassageService jsword); @Override int estimateSearchResults(final SearchQuery sq); @Override Key searchKeys(final SearchQuery sq); @Override SearchResult search(final SearchQuery sq, final String version,  
                               final LookupOption... options); @Override SearchResult retrieveResultsFromKeys(final SearchQuery sq, final Key results,
                                                final String version, final LookupOption... options); @Override SearchResult getResultsFromTrimmedKeys(final SearchQuery sq, final String[] versions, final int total, final Key newResults, final LookupOption... options); @Override int getTotal(final Key results); @Override Key rankAndTrimResults(final SearchQuery sq, final Key results); IndexSearcher getIndexSearcher(String bookName); }
JSwordSearchServiceImpl implements JSwordSearchService { @Override public SearchResult search(final SearchQuery sq, final String version, final LookupOption... options) { return retrieveResultsFromKeys(sq, searchKeys(sq), version, options); } @Inject  JSwordSearchServiceImpl(final JSwordVersificationService av11nService,
                                   final JSwordMetadataService metadataService,
                                   final JSwordPassageService jsword); @Override int estimateSearchResults(final SearchQuery sq); @Override Key searchKeys(final SearchQuery sq); @Override SearchResult search(final SearchQuery sq, final String version,  
                               final LookupOption... options); @Override SearchResult retrieveResultsFromKeys(final SearchQuery sq, final Key results,
                                                final String version, final LookupOption... options); @Override SearchResult getResultsFromTrimmedKeys(final SearchQuery sq, final String[] versions, final int total, final Key newResults, final LookupOption... options); @Override int getTotal(final Key results); @Override Key rankAndTrimResults(final SearchQuery sq, final Key results); IndexSearcher getIndexSearcher(String bookName);  }