X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzrpn.c;h=34c6382aa9e179d935e3c18484860e059a44da1e;hb=9d9266bfed4daa001a3f038f0d5b6e8c51a37373;hp=ebf94b179f66eb3e7b8b548edc828ced87a7dada;hpb=f1a47574b77092816b4ed7b7c37e298c1a8110ac;p=idzebra-moved-to-github.git diff --git a/index/zrpn.c b/index/zrpn.c index ebf94b1..34c6382 100644 --- a/index/zrpn.c +++ b/index/zrpn.c @@ -1,4 +1,4 @@ -/* $Id: zrpn.c,v 1.223 2006-07-03 10:52:48 adam Exp $ +/* $Id: zrpn.c,v 1.226 2006-08-14 10:40:15 adam Exp $ Copyright (C) 1995-2006 Index Data ApS @@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with Zebra; see the file LICENSE.zebra. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ #include @@ -927,7 +927,7 @@ static ZEBRA_RES term_limits_APT(ZebraHandle zh, AttrType hits_limit_attr; int term_ref_id_int; - attr_init_APT(&hits_limit_attr, zapt, 9); + attr_init_APT(&hits_limit_attr, zapt, 11); *hits_limit_value = attr_find(&hits_limit_attr, NULL); attr_init_APT(&term_ref_id_attr, zapt, 10); @@ -1359,6 +1359,7 @@ static ZEBRA_RES grep_info_prepare(ZebraHandle zh, /** \brief Create result set(s) for list of terms \param zh Zebra Handle + \param zapt Attributes Plust Term (RPN leaf) \param termz term as used in query but converted to UTF-8 \param attributeSet default attribute set \param stream memory for result @@ -1368,9 +1369,9 @@ static ZEBRA_RES grep_info_prepare(ZebraHandle zh, \param xpath_use use attribute for X-Path (-1 for no X-path) \param num_bases number of databases \param basenames array of databases - \param rset_mem memory for result sets + \param rset_nmem memory for result sets \param result_sets output result set for each term in list (output) - \param number number of output result sets + \param num_result_sets number of output result sets \param kc rset key control to be used for created result sets */ static ZEBRA_RES term_list_trunc(ZebraHandle zh,