Switch to unified view

a/src/rcldb/rcldb.h b/src/rcldb/rcldb.h
...
...
221
    /** Set parameters for synthetic abstract generation */
221
    /** Set parameters for synthetic abstract generation */
222
    void setAbstractParams(int idxTrunc, int synthLen, int syntCtxLen);
222
    void setAbstractParams(int idxTrunc, int synthLen, int syntCtxLen);
223
223
224
    /** Build synthetic abstract for document, extracting chunks relevant for
224
    /** Build synthetic abstract for document, extracting chunks relevant for
225
     * the input query. This uses index data only (no access to the file) */
225
     * the input query. This uses index data only (no access to the file) */
226
    // Abstract return as one string
226
    bool makeDocAbstract(Doc &doc, Query *query, string& abstract);
227
    bool makeDocAbstract(Doc &doc, Query *query, string& abstract);
228
    // Returned as a snippets vector
227
    bool makeDocAbstract(Doc &doc, Query *query, vector<string>& abstract);
229
    bool makeDocAbstract(Doc &doc, Query *query, vector<string>& abstract);
230
    // Returned as a vector of page,snippet page is 0 if unknown
231
    bool makeDocAbstract(Doc &doc, Query *query, 
232
           vector<pair<int, string> >& abstract);
228
    /** Retrieve detected page breaks positions */
233
    /** Retrieve detected page breaks positions */
229
    int getFirstMatchPage(Doc &doc, Query *query);
234
    int getFirstMatchPage(Doc &doc, Query *query);
230
235
231
    /** Get document for given udi
236
    /** Get document for given udi
232
     *
237
     *