X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fd1_absyn.h;h=2c8a581eec7097d9ad19dab99a77f9fb8fd7518a;hp=80556edb2a31456701dac7da84fad76a08d158a3;hb=5a8a42bede922e70156e7b289db071592c71529b;hpb=69983aaec470e41649c4dfae8a9e7cbcf061cacf diff --git a/include/d1_absyn.h b/include/d1_absyn.h index 80556ed..2c8a581 100644 --- a/include/d1_absyn.h +++ b/include/d1_absyn.h @@ -1,5 +1,5 @@ -/* $Id: d1_absyn.h,v 1.2 2005-06-29 16:52:27 adam Exp $ - Copyright (C) 1995-2005 +/* $Id: d1_absyn.h,v 1.10 2007-01-15 20:08:24 adam Exp $ + Copyright (C) 1995-2007 Index Data ApS This file is part of the Zebra server. @@ -15,15 +15,16 @@ 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 + */ #ifndef D1_ABSYN_H #define D1_ABSYN_H 1 #define ENHANCED_XELM 1 +#define OPTIMIZE_MELM 1 #include #include @@ -39,6 +40,11 @@ typedef struct data1_xpelement struct DFA *dfa; data1_termlist *termlists; struct data1_xpelement *next; +#if OPTIMIZE_MELM + const char *regexp; +#endif + int match_state; + struct data1_xpelement *match_next; } data1_xpelement; struct data1_absyn @@ -46,7 +52,6 @@ struct data1_absyn char *name; oid_value reference; data1_tagset *tagset; - data1_attset *attset; data1_varset *varset; data1_esetname *esetnames; data1_maptab *maptabs; @@ -56,7 +61,16 @@ struct data1_absyn struct data1_xpelement *xp_elements; /* pop */ struct data1_systag *systags; char *encoding; - int enable_xpath_indexing; + char *staticrank; + enum DATA1_XPATH_INDEXING xpath_indexing; }; #endif +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +