OstDB DEV Foosic: Difference between revisions

mNo edit summary
Line 123: Line 123:
* main server's cron job
* main server's cron job
* matching redirector (forwarded)
* matching redirector (forwarded)


Client:
Client:
* MATCH ofid={int4 ostfile id}&foosic={str ascii hex representation of fingerprint}&store=1
* MATCH ofid={int4 ostfile id}&foosic={str ascii hex representation of fingerprint}&store=1
** the store=1 parameter is filtered out and interpreted by the matching redirector, only the main server's cron job is allowed to set store=1
** the store=1 parameter is filtered out and interpreted by the matching redirector, only the main server's cron job is allowed to set store=1


Server Reply:
Server Reply:
Line 136: Line 138:
** this line will be suppressed by the matching redirector which processes it to decide where to store a new fingerprint (load balancing)
** this line will be suppressed by the matching redirector which processes it to decide where to store a new fingerprint (load balancing)
: ({int error}|{int ofid}\n)*
: ({int error}|{int ofid}\n)*


* No matchings found
* No matchings found
Line 143: Line 146:
: {int result count}|{int compare count}|{int time taken in ms}
: {int result count}|{int compare count}|{int time taken in ms}
** this line will be suppressed by the matching redirector which processes it to decide where to store a new fingerprint (load balancing)
** this line will be suppressed by the matching redirector which processes it to decide where to store a new fingerprint (load balancing)


==== Submitting a new foosic fingerprint ====
==== Submitting a new foosic fingerprint ====
MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.