f9c2af496e0019042960a205405cd6ee4c0a9eac
Files Diff
- Added: 3
 - Removed: 1
 - Renamed: 0
 - Modified: 26
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public testContext() : void renamed to public shouldReturnScore() : void in class com.orientechnologies.lucene.tests.OLuceneContextTest | From | To | |
| Rename Method public setChanges(changes OLuceneTxChanges) : OLuceneQueryContext renamed to public withChanges(changes OLuceneTxChanges) : OLuceneQueryContext in class com.orientechnologies.lucene.query.OLuceneQueryContext | From | To | |
| Move Method | 2 | ||
| Move Method public sendTotalHits(indexName String, context OCommandContext, totalHits int) : void from class com.orientechnologies.lucene.engine.OLuceneIndexEngineAbstract to public sendTotalHits(indexName String, context OCommandContext, totalHits int) : void from class com.orientechnologies.lucene.engine.OLuceneIndexEngineUtils | From | To | |
| Move Method public sendLookupTime(indexName String, context OCommandContext, docs TopDocs, limit Integer, startFetching long) : void from class com.orientechnologies.lucene.engine.OLuceneIndexEngineAbstract to public sendLookupTime(indexName String, context OCommandContext, docs TopDocs, limit Integer, startFetching long) : void from class com.orientechnologies.lucene.engine.OLuceneIndexEngineUtils | From | To | |
| Inline Method | 1 | ||
| Inline Method private initCFG() : void inlined to public OLuceneQueryContext(context OCommandContext, searcher IndexSearcher, query Query, sort Sort) in class com.orientechnologies.lucene.query.OLuceneQueryContext | From | To | |
| Change Return Type | 2 | ||
| Change Return Type Object to Set<OIdentifiable> in method public getInTx(key Object, changes OLuceneTxChanges) : Set<OIdentifiable> in class com.orientechnologies.lucene.engine.OLuceneFullTextIndexEngine | From | To | |
| Change Return Type Object to Set<OIdentifiable> in method public getInTx(key Object, changes OLuceneTxChanges) : Set<OIdentifiable> in class com.orientechnologies.lucene.engine.OLuceneIndexEngine | From | To | |
| Extract Class | 1 | ||
| Extract Class com.orientechnologies.lucene.engine.OLuceneIndexEngineUtils from class com.orientechnologies.lucene.engine.OLuceneIndexEngineAbstract | From | To | |
| Move And Rename Class | 1 | ||
| Move And Rename Class com.orientechnologies.lucene.engine.OLuceneFullTextIndexEngine.LuceneIndexCursor moved and renamed to com.orientechnologies.lucene.collections.OLuceneIndexCursor | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute array : ScoreDoc[] to scoreDocs : ScoreDoc[] in class com.orientechnologies.lucene.collections.OLuceneResultSet.OLuceneResultSetIterator | From | To | |
| Rename Attribute array : ScoreDoc[] to scoreDocs : ScoreDoc[] in class com.orientechnologies.lucene.collections.OLuceneTxResultSet.OLuceneResultSetIteratorTx | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type res : List<ODocument> to res : OResultSet in method public shouldFetchOneDocumentWithExactMatchOnLuceneIndexStandardAnalyzer() : void in class com.orientechnologies.lucene.sandbox.LuceneSandboxTest | From | To | |
| Change Variable Type indexResult : Object to indexResult : Set<OIdentifiable> in method public executeIndexQuery(iContext OCommandContext, index OIndex<?>, keyParams List<Object>, ascSortOrder boolean) : OIndexCursor in class com.orientechnologies.lucene.operator.OLuceneTextOperator | From | To | |
| Extract And Move Method | 3 | ||
| Extract And Move Method public getCfg() : QueryContextCFG extracted from protected fetchFirstBatch() : void in class com.orientechnologies.lucene.collections.OLuceneAbstractResultSet & moved to class com.orientechnologies.lucene.query.OLuceneQueryContext | From | To | |
| Extract And Move Method public getCfg() : QueryContextCFG extracted from private fetchMoreResult() : void in class com.orientechnologies.lucene.collections.OLuceneTxResultSet.OLuceneResultSetIteratorTx & moved to class com.orientechnologies.lucene.query.OLuceneQueryContext | From | To | |
| Extract And Move Method public getCfg() : QueryContextCFG extracted from private fetchMoreResult() : void in class com.orientechnologies.lucene.collections.OLuceneResultSet.OLuceneResultSetIterator & moved to class com.orientechnologies.lucene.query.OLuceneQueryContext | From | To |