BATCHPRISE 1/2 ============== El zserver y el zclient son las capas protocolo, y te las puedes saltar. Lo único que pierdes es que no puedes usar el zprise en una arquitectura cliente servidor, pero si puedes usar un programita que se llama "batchprise", (si está correctamente compilado, el ejecutable debes tenerlo en el directorio bin del zprise) cuya sintaxis es muy fácil: batchprise [-q queries] [-t number] donde es el directorio donde se encuentran los indices, -q queries un archivo donde se encuentran las queries a lanzar, y -t number, el maximo nro. de docs por query devuelto (por defecto 1000). Las queries deben tener este formato: 1 -- query 1 (cada query en una sóla línea) 2 -- query 2 . . . 50 - query 50 el batchprise lanza por stderr el log de la tarea, y por stdout un archivo en formato TREC con el resultado. Es fácil, de todas formas hay por ahí un archivillo con info sobre el batcprise. Suerte! BATCHPRISE 2/2 ============== What is batchprise? Batchprise is a version of PRISE which runs in a batch mode. Given a set of queries, it performs searches using the queries and outputs a set of relevant documents in ranked order. Batchprise assumes the collection(s) against which it is to run have been sucessfully indexed by the Prise indexer. (build.script.sh) How to use batchprise? Items in "[]" are optional. Items in "<>" required. USAGE: batchprise [-q file of queries] [-t maximum number of documents to return per query] The default query file is called "queries" and is searched for in the test collection directory. The default maximum number of documents to return per query is 1000. Query file format? topic_number -- terms Where topic number usually is a trec topic number, but is always an integer. For trec these are 1-250, and terms are all the terms in the query separated by a space. Example: 168 -- Financing AMTRAK A document will address the role of the Federal Government in financing the operation of the National Railroad Transportation Corporation AMTRAK A relevant document must provide information on the government s responsibility to make AMTRAK an economically viable entity It could also discuss the privatization of AMTRAK as an alternative to continuing government subsidies Documents comparing government subsidies given to air and bus transportation with those provided to AMTRAK would also be relevant Result format query query_number docid rank score system_name Example: 1 Q0 WSJ891010-0081 0 67209 prise1 TTPP ==== *What is ttpp? ttpp is a TREC Topic Pre-Processor which converts the TREC topics into queries for use in batchprise.