![]() IOException Specified by: geoQuery in class AbstractSearchIndex Throws: MalformedQueryException IOException geoQuery protected Iterable geoQuery( IRI geoProperty,.Specified by: query in class AbstractSearchIndex Parameters: query - string Returns: the parsed query Throws: .classic.ParseException - when the parsing brakes MalformedQueryException IOException getDocument public .Document getDocument( Resource subject,.newBulkUpdate protected BulkUpdater newBulkUpdate() Specified by: newBulkUpdate in class AbstractSearchIndex.Throws IOException Specified by: deleteDocument in class AbstractSearchIndex Throws: IOException ![]() deleteDocument protected void deleteDocument( SearchDocument doc).Throws IOException Specified by: updateDocument in class AbstractSearchIndex Throws: IOException updateDocument protected void updateDocument( SearchDocument doc).Throws IOException Specified by: addDocument in class AbstractSearchIndex Throws: IOException addDocument protected void addDocument( SearchDocument doc).copyDocument protected SearchDocument copyDocument( SearchDocument doc) Specified by: copyDocument in class AbstractSearchIndex.String context) Specified by: newDocument in class AbstractSearchIndex newDocument protected SearchDocument newDocument( String id,.Throws IOException Specified by: getDocuments in class AbstractSearchIndex Throws: IOException getDocuments protected Iterable getDocuments( String resourceId).Throws IOException Specified by: getDocument in class AbstractSearchIndex Throws: IOException getDocument protected SearchDocument getDocument( String id).getIndexWriter public .IndexWriter getIndexWriter().getCurrentMonitor public ReaderMonitor getCurrentMonitor()Ĭurrent monitor holds instance of IndexReader and IndexSearcher It is used to keep track of readers Specified by: getCurrentMonitor in class AbstractLuceneIndex.getIndexSearcher public .IndexSearcher getIndexSearcher().getIndexReader public .IndexReader getIndexReader().getSpatialStrategyMapper public .Function getSpatialStrategyMapper().getAnalyzer public .Analyzer getAnalyzer().getDirectory public .Directory getDirectory().getSpatialContext protected .SpatialContext getSpatialContext( String property) Specified by: getSpatialContext in class AbstractSearchIndex.createSpatialStrategyMapper protected .Function createSpatialStrategyMapper( Map parameters).createSimilarity protected .similarities.Similarity createSimilarity( Properties parameters).createAnalyzer protected .Analyzer createAnalyzer( Properties parameters).createDirectory protected .Directory createDirectory( Properties parameters).Throws Exception Specified by: initialize in interface SearchIndex Overrides: initialize in class AbstractSearchIndex Throws: Exception initialize public void initialize( Properties parameters).Throws: IOException - When the Directory could not be unlocked. ![]() similarity - The Similarity that will be used for scoring. analyzer - The Analyzer that will be used for tokenizing strings to index and queries. Parameters: directory - The Directory in which an index can be found and/or in which index files are written. Protected .SpatialContextĬreates a new LuceneIndex. Returns a list of Documents representing the specified Resource (empty when no such Document exists yet).Eachĭocument represent a set of statements with the specified Resource as a subject, which are stored in a specific Protected .FunctionĬreateSpatialStrategyMapper( Map parameters) ![]() Commits any changes done to the LuceneIndex since the last commit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |