Skip to content

Commit

Permalink
performance enhancements for search and code review for database func…
Browse files Browse the repository at this point in the history
…tions

- removed read cache from Records data structure because the read cache had no cache hit during search operation
- copied old read-cache class to CachedRecords and the old, now new Records class does not have the cache any more and a code review checked that data structures and synchronization is clean
- removed unnecessary synchronization from Table class during get()

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7237 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Oct 11, 2010
1 parent 6d61b80 commit d607b30
Show file tree
Hide file tree
Showing 4 changed files with 640 additions and 227 deletions.
1 change: 1 addition & 0 deletions source/de/anomic/yacy/yacyClient.java
Expand Up @@ -1085,6 +1085,7 @@ public static void main(final String[] args) {
// first arg: path to application home
// second arg: address of target peer
// third arg: search word or file name with list of search words
// i.e. /Data/workspace1/yacy/ localhost:8080 /Data/workspace1/yacy/test/words/searchtest.words
System.out.println("yacyClient Test");
File searchwordfile = new File(args[2]);
List<String> searchlines = new ArrayList<String>();
Expand Down

0 comments on commit d607b30

Please sign in to comment.