-/* $Id: cql.y,v 1.13 2006-12-14 09:05:18 adam Exp $
+/* $Id: cql.y,v 1.14 2007-06-28 07:58:07 adam Exp $
Copyright (C) 2002-2006
Index Data ApS
modifiers: modifiers '/' searchTerm
{
struct cql_node *mod = cql_node_mk_sc(((CQL_parser)parm)->nmem,
- $3.buf, "=", 0);
+ $3.buf, 0, 0);
mod->u.st.modifiers = $1.cql;
$$.cql = mod;
-/* $Id: xcqlutil.c,v 1.7 2007-01-03 08:42:15 adam Exp $
+/* $Id: xcqlutil.c,v 1.8 2007-06-28 07:58:07 adam Exp $
Copyright (C) 1995-2007, Index Data ApS
Index Data Aps
pr_n("</type>\n", pr, client_data, 0);
if (m->u.st.relation)
{
- pr_n("<relation>", pr, client_data, level+4);
+ pr_n("<comparison>", pr, client_data, level+4);
pr_cdata(m->u.st.relation, pr, client_data);
- pr_n("</relation>\n", pr, client_data, 0);
+ pr_n("</comparison>\n", pr, client_data, 0);
}
if (m->u.st.term)
{
<modifiers>
<modifier>
<type>stem</type>
- <relation>=</relation>
</modifier>
</modifiers>
</relation>
<modifiers>
<modifier>
<type>rel.algorithm</type>
- <relation>=</relation>
+ <comparison>=</comparison>
<value>CORI</value>
</modifier>
</modifiers>
<modifiers>
<modifier>
<type>b.bar</type>
- <relation>></relation>
+ <comparison>></comparison>
<value>1</value>
</modifier>
<modifier>
<type>f.foo</type>
- <relation>=</relation>
</modifier>
</modifiers>
</relation>
<modifiers>
<modifier>
<type>stem</type>
- <relation>=</relation>
</modifier>
</modifiers>
</relation>
<modifiers>
<modifier>
<type>fuzzy</type>
- <relation>=</relation>
</modifier>
<modifier>
<type>stem</type>
- <relation>=</relation>
</modifier>
</modifiers>
</relation>
<modifiers>
<modifier>
<type>stem</type>
- <relation>=</relation>
</modifier>
</modifiers>
</relation>
<modifiers>
<modifier>
<type>ordered</type>
- <relation>=</relation>
</modifier>
<modifier>
<type>unit</type>
- <relation>=</relation>
+ <comparison>=</comparison>
<value>word</value>
</modifier>
<modifier>
<type>distance</type>
- <relation>=</relation>
+ <comparison>=</comparison>
<value>3</value>
</modifier>
</modifiers>
<modifiers>
<modifier>
<type>distance</type>
- <relation><</relation>
+ <comparison><</comparison>
<value>3</value>
</modifier>
</modifiers>
<modifiers>
<modifier>
<type>unit</type>
- <relation>=</relation>
+ <comparison>=</comparison>
<value>sentence</value>
</modifier>
</modifiers>
<modifiers>
<modifier>
<type>distance</type>
- <relation><=</relation>
+ <comparison><=</comparison>
<value>5</value>
</modifier>
</modifiers>
<modifiers>
<modifier>
<type>unit</type>
- <relation>=</relation>
+ <comparison>=</comparison>
<value>element</value>
</modifier>
<modifier>
<type>distance</type>
- <relation>></relation>
+ <comparison>></comparison>
<value>5</value>
</modifier>
</modifiers>
<modifiers>
<modifier>
<type>rel.SumOfScores</type>
- <relation>=</relation>
</modifier>
</modifiers>
</boolean>
<modifiers>
<modifier>
<type>rel.algorithm</type>
- <relation>=</relation>
+ <comparison>=</comparison>
<value>CORI</value>
</modifier>
</modifiers>