What does verify=true do?

Hier finden YaCy User Hilfe wenn was nicht funktioniert oder anders funktioniert als man dachte. Bei offensichtlichen Fehlern diese bitte gleich in die Bugs (http://bugs.yacy.net) eintragen.
Forumsregeln
In diesem Forum geht es um Benutzungsprobleme und Anfragen für Hilfe. Wird dabei ein Bug identifiziert, wird der thread zur Bearbeitung in die Bug-Sektion verschoben. Wer hier also einen Thread eingestellt hat und ihn vermisst, wird ihn sicherlich in der Bug-Sektion wiederfinden.

What does verify=true do?

Beitragvon biolizard89 » Mi Nov 25, 2015 3:51 am

I'm trying to figure out exactly what verify=true does. I've looked through the wiki but haven't found any detailed documentation. Is anyone able to explain precisely what YaCy checks in the downloaded page when verify=true is set?

For example, is it checking that one of the search terms appears somewhere in the text of the page? All of the search terms? Does it recalculate the Solr entry for the page? Does it recalculate the outgoing link graph for the page?

Thanks.
biolizard89
 
Beiträge: 58
Registriert: Do Jan 03, 2013 12:42 am

Re: What does verify=true do?

Beitragvon luc » Sa Dez 12, 2015 4:30 pm

Are you talking about "verify" parameter used in yacysearch?
As far as I know, it is rather related to the cache strategy used to load text snippets coming with search results.
"verify=true" is equals to "verify=ifexist". You will find the description and other available values in Portal Configuration page "/ConfigPortal.html" : "Snippet Fetch Strategy & Link Verification" section.
luc
 
Beiträge: 266
Registriert: Mi Aug 26, 2015 1:04 am

Re: What does verify=true do?

Beitragvon biolizard89 » So Dez 13, 2015 12:30 am

From a brief glance at the source code, looks like this is related: https://github.com/yacy/yacy_search_ser ... java#L1473 . I don't fully understand what this code is doing, but it looks like all it can do is choose whether to delete a result; it doesn't have any influence on ranking. This leads to a question: what happens if a remote node provides incorrect score/ranking data? Is there any way for a local YaCy node to notice this and correct it?
biolizard89
 
Beiträge: 58
Registriert: Do Jan 03, 2013 12:42 am

Re: What does verify=true do?

Beitragvon luc » So Dez 13, 2015 7:56 pm

Before displaying a search result, coming from either local/remote Solr or DHT, a post-ranking operation is applied :
https://github.com/yacy/yacy_search_ser ... java#L1412
For now I personally don't know if this function is able to compensate any eventual incorrect remote score, being incorrect by processing error or intentionally...
luc
 
Beiträge: 266
Registriert: Mi Aug 26, 2015 1:04 am


Zurück zu Fragen und Antworten

Wer ist online?

Mitglieder in diesem Forum: Exabot [Bot] und 2 Gäste