Commit Graph

6829 Commits

Author SHA1 Message Date
orbiter
fb828f3767 - performance enhancements in search response time using faster query ID computation and an ID cache
- code cleanup

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7113 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-06 10:00:07 +00:00
orbiter
0ab6a462ee - added a missing entry in YaCy interface robots.txt for bookmarks
- changed default robots.txt deny list to include some more interface pages because the loading of such pages are a peer load issue for YaCy when crawlers come by and information on these pages are not useful for public search. 

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7112 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-06 09:58:54 +00:00
orbiter
d865ef77a8 removed re-read of index in case of a bad index. This may not solve the problem but it applies a 100% CPU problem on the peer. I'm afraid bad index files must be abandoned, and cannot be fixed this way.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7111 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-06 09:55:04 +00:00
orbiter
b2c9db48ea Performance enhancement
- introduced byte[] - based ARC method for MapHeap which avoids a String generation each time the cache is accessed
- bugfixing in required class ComparableARC

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7110 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-06 09:53:33 +00:00
orbiter
ae07e11bc5 enhanced image search result display: concurrent loading of images before they are displayed
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7109 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-05 23:02:46 +00:00
orbiter
72a096fccb using -XX:-UseGCOverheadLimit when starting java.
see also: http://forum.yacy-websuche.de/viewtopic.php?p=20709#p20709

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7108 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-05 14:19:02 +00:00
orbiter
22047ffad5 enhanced computation speed of many replaceAll string operations
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7107 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-05 13:19:42 +00:00
orbiter
e8228fba09 less locking in time format computation, caching and during secondary (remote) search evaluation
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7106 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-05 11:13:12 +00:00
orbiter
9c0c94683c because of a bug in search result caching count search results had not been generated as fast as possible.
with this fix search results are (even) faster.
Also enhanced: image search. This is now speeded up using a image search result look-ahead

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7105 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-04 22:57:12 +00:00
orbiter
fa2eb9676e removed unused class
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7104 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-04 21:45:33 +00:00
low012
5f391fcfa9 *) cleaned up in wikiCode parser (more to be done)
*) HTML fixes

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7103 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-04 14:01:34 +00:00
orbiter
b3f0d06444 fixed a problem with restarts in YaCy mac applications: the DATA directory path was not submitted when doing a restart. This solves the problem by:
- storing the startup properties when yacy is started
- using the properties in the restart-script again. this transports also the DATA directory location as parameter of the -gui option that is used when the Mac version of YaCy is started

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7102 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-03 23:08:43 +00:00
orbiter
d4e4967e19 cleaned up code in yacyRelease (there will be work to do there)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7101 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-03 22:35:48 +00:00
orbiter
7be988768d simple selection of views in ViewFile.html (omit usage of button)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7100 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-03 22:35:07 +00:00
orbiter
2cb8cf5b41 added overall utf-8 default support for mac releases
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7099 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-03 22:34:08 +00:00
orbiter
698730c4eb better utf-8 support everywhere using a default utf-8 encoding for all string conversions.
todo: add this also for debian start script (how do I do that?)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7098 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-03 22:18:10 +00:00
sixcooler
ca0a03e9ea ... migrating to HttpComponents-Client-4.x ...
ssl-stuff: accept almost everything

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7097 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-03 16:02:52 +00:00
orbiter
d8f52c5b9c added a changelog url to download
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7096 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-03 12:55:36 +00:00
orbiter
1da5241c2d do not block server session if maximum number of sessions is reached, just try to clean up once
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7095 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-03 12:05:37 +00:00
orbiter
3988a95fb5 added ability in rss reader to parse atom feeds
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7094 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-03 08:53:24 +00:00
orbiter
5de70c3d7c changed way of storage for search requests:
- the search request cache can now get as large as 1000 entries
- if more entries arrive, unused are deleted
- the elements may stay in the cache up to 10 minutes and longer if they are used
- the elements are deleted earlier that 10 minutes if the memory gets low
This commit was mainly done for metager-feeding peers that have a query load of 50000 queries each day. Also added:
- a monitor for cache hit/cache miss in PerformanceMemory_p.html (see at bottom of page)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7093 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-02 21:52:45 +00:00
orbiter
9d080f387e change in handling of the all-visible home path for storage in YaCy:
the home path can now be distinguished between
- data home; the path where the DATA directory is created
- application home; everything else
This will make it possible to store application data on Mac releases within the
~/Library/YaCy
directory; a place where Mac applications write their data.
Similar techniques will be possible for debian and windows.
To use the new data path, YaCy can be started with
-start <data path>
or
-gui <data path>


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7092 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-02 19:24:22 +00:00
orbiter
fa5683adfe create a mac dmg file (a disc image) for mac releases in ant
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7091 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-02 19:11:49 +00:00
orbiter
875741bcff fix for http://forum.yacy-websuche.de/viewtopic.php?p=20657#p20657
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7090 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-02 10:05:04 +00:00
lotus
091281c9f2 Mac app ant task building a ready-to-distribute zip file
extending r7080

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7089 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-02 08:01:01 +00:00
orbiter
65eaf30f77 redesign of crawl profiles data structure. target will be:
- permanent storage of auto-dom statistics in profile
- storage of profiles in WorkTable data structure
not finished yet. No functional change yet.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7088 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-31 15:47:47 +00:00
orbiter
3f1d5a061f by default store crawled pages to HTCache to support verify=false snippet generation
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7087 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-31 09:28:01 +00:00
lotus
2009999162 show landing page after installation finished
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7086 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-30 20:04:19 +00:00
f1ori
938676265f fix shutdown command, close HttpClient connection pool
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7085 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-30 17:48:20 +00:00
f1ori
55da979291 disable revision detection for git
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7084 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-30 17:11:19 +00:00
f1ori
6d2e0f5fb4 always kill shutdown java instance, even if yacy succeeded,
in future, the TERM-signal should be used, but currently not all threads are joined during shutdown


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7083 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-29 23:26:03 +00:00
f1ori
be0abd92cd always use kill command in initscript, after timeout elapsed and yacy didn't finished
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7082 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-29 18:15:22 +00:00
lotus
2a4ddc48bb adjustment for new java download method
see http://forum.yacy-websuche.de/viewtopic.php?p=20616#p20616

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7081 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-27 18:55:44 +00:00
lotus
e9160ea1e5 Mac ant task according to r7023
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7080 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-27 18:40:32 +00:00
lotus
93d2c22e60 adapted memory for first run to current standard values
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7079 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-27 18:38:02 +00:00
orbiter
104318d58a - added nice colors to feed indexing state messages
- added a 'remove all' button for new and scheduled rss feed list
- made adding of new rss feeds concurrent so interface is more responsible

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7078 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-27 11:56:51 +00:00
lotus
23ba107834 UPnP port forwarding default on now. This also displays a message on the entry settings page if not successful, so the user gets an extra hint to open his ports.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7077 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-27 08:45:00 +00:00
lotus
d5ccbb99f9 the Windows installer now always requires admin level for installation (Vista/7)
unfortunately some users seem to forget to manually install the downloaded Java runtime and therefore could not start YaCy
- added concept to always distribute the latest Java version via external php script

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7076 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-26 16:53:20 +00:00
orbiter
4f22e2df41 bugfixes for
- next-execution-time in scheduler
- deletion of scheduled rss feed loading (now deletes also the scheduling entry)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7075 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-26 16:42:00 +00:00
orbiter
42414a6ae3 added two more tables in rss reader interface:
- fresh recorded rss feeds (not yet loaded or in scheduler)
- rss feeds in scheduler
The first list has a button that can be used to place rss feeds into the scheduler
The second list has a button to delete rss feeds from the scheduler

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7074 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-26 16:01:45 +00:00
orbiter
0010cd9db1 Support for indexing of RSS feeds!
- added a scanning in html parser for rss feeds
- storage of rss feed addresses, can be viewed with http://localhost:8080/Tables_p.html?table=rss
- rss items retrieved by http://localhost:8080/Load_RSS_p.html (in Index Creation menu) can be selected and indexed
- a rss feed retrieved in http://localhost:8080/Load_RSS_p.html can now be fully indexed
- indexing of rss feeds can be placed in scheduler

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7073 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-25 18:24:54 +00:00
orbiter
0f276dd63f - MapHeap now implements Map<byte[], Map<String, String>>
- refactoring of method names to comply with Map method names

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7072 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-24 12:36:56 +00:00
orbiter
cf07b34c2d implemented the Map interface in the ARC classes so it will be possible to instantiate ARCs as
Map<byte[], Map<String, byte[]>>
Because such Maps with byte[] keys cannot be stored in hash maps (bad hashing on byte[])
another ARC with comparable Maps has been added

This will make it possible to move the HTCache class 'Cache' into the cora package because that
class may be used either with RAM caches (ARCs) or with file-based caches (BEncodedHeaps)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7071 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-23 23:38:03 +00:00
orbiter
c60d0282fd more abstraction for tables stored in heaps:
the BEncodedHeap now implements Map<byte[], Map<String, byte[]>>
This will make it possible that also different database storage types may be added that implement also the same Map<byte[], Map<String, byte[]>> interface.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7070 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-23 21:27:58 +00:00
orbiter
d1be64d491 removed wrong assert
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7069 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-23 21:02:28 +00:00
orbiter
3197ca42ed preparations to move the HTCache into cora:
- move the header framework classes to cora
- move the ARC caching classes to cora
- refactoring of code to call these classes from cora

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7068 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-23 12:32:02 +00:00
orbiter
844f158686 - removed dependencies in header framework:
moved http date methods from DateFormatter to HeaderFramework
  changed logging to log4j
- added ftp load access to MultiProtocolURI
- ensured termination of RSS feed iteration

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7067 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-23 11:41:12 +00:00
orbiter
80ba543d4c svn fix for uppercase problem
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7066 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-23 01:16:17 +00:00
orbiter
5e7081cd19 refactoring towards a unified loading mechanism for MultiProtocolURIs
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7065 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-23 01:08:56 +00:00
orbiter
caece04f26 removed System.err and System.out usage from FTPClient; changed logging to log4j (preferred in yacy.cora)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7064 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-22 22:51:31 +00:00