mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
f8ce7040ab
- all non-dht targets (previously separated into 'robinson' for dht-like queries and 'node' for solr queries) are non 'extra' peers, which are queries using solr - these extra-peers are now selected using a ranking on last-seen, peer-tag-matches, node-peer flags, peer age, and link count. The ranking is done using a weight and a random factor. - the number of extra peers is 50% of the dht peers - the dht peers now exclude too young peers to prevent bad results during strong growth of the network - the number of dht peers (and therefore extra-peers) is reduced when the memory of the peer is low and/or some documents still appear in the indexing-queue. This shall prevent a peer from deadlocks when p2p queries are made in a fast sequence on weak hardware. |
||
---|---|---|
.. | ||
index | ||
query | ||
ranking | ||
schema | ||
snippet | ||
EventTracker.java | ||
IndexAbstracts.java | ||
IndexingQueueEntry.java | ||
MemoryTracker.java | ||
ResourceObserver.java | ||
Shutdown.java | ||
StorageQueueEntry.java | ||
Switchboard.java | ||
SwitchboardConstants.java |