Top Description Fields Constructors Methods
org.jabref.model.search.rules

public abstract Class FullTextSearchRule

extends Object
implements SearchRule
Class Inheritance
All Implemented Interfaces
org.jabref.model.search.rules.SearchRule
Known Direct Subclasses
org.jabref.model.search.rules.GrammarBasedSearchRule, org.jabref.model.search.rules.RegexBasedSearchRule, org.jabref.model.search.rules.ContainsBasedSearchRule
Annotations
@AllowedToUseLogic:Because access to the lucene index is needed
Imports
java.io.IOException, java.util.Collections, .EnumSet, .List, org.jabref.architecture.AllowedToUseLogic, org.jabref.gui.StateManager, org.jabref.logic.pdf.search.PdfIndexer, .PdfIndexerManager, .PdfSearcher, org.jabref.model.entry.BibEntry, org.jabref.model.pdf.search.PdfSearchResults, .SearchResult, org.jabref.preferences.PreferencesService, com.airhacks.afterburner.injection.Injector, org.slf4j.Logger, .LoggerFactory

All classes providing full text search results inherit from this class.

Some kind of caching of the full text search results is implemented.

Field Summary

Modifier and TypeField and Description
protected List<SearchResult>
protected String
private static final Logger
protected final EnumSet<SearchRules.SearchFlags>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PdfSearchResults
public EnumSet<SearchRules.SearchFlags>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

lastPdfSearchResultsback to summary
protected List<SearchResult> lastPdfSearchResults
lastQueryback to summary
protected String lastQuery
LOGGERback to summary
private static final Logger LOGGER
searchFlagsback to summary
protected final EnumSet<SearchRules.SearchFlags> searchFlags

Constructor Detail

FullTextSearchRuleback to summary
public FullTextSearchRule(EnumSet<SearchRules.SearchFlags> searchFlags)

Method Detail

getFulltextResultsback to summary
public PdfSearchResults getFulltextResults(String query, BibEntry bibEntry)

Implements org.jabref.model.search.rules.SearchRule.getFulltextResults.

Annotations
@Override
getSearchFlagsback to summary
public EnumSet<SearchRules.SearchFlags> getSearchFlags()