Table of Contents

Module: UnTextIndex Zope-2.2.1-src/lib/python/SearchIndex/UnTextIndex.py

Text Index

The UnTextIndex falls under the I didnt have a better name for it excuse. It is an Un Text index because it stores a little bit of undo information so that objects can be unindexed when the old value is no longer known.

Imported modules   
from Acquisition import Implicit
import BTree
from Globals import Persistent
import IIBTree
import IOBTree
from Lexicon import Lexicon, stop_word_dict
import OIBTree
from ResultList import ResultList
from Splitter import Splitter
from intSet import intSet
import operator
import regex
import regsub
from string import strip
import ts_regex
from zLOG import LOG, ERROR
Functions   
parens
parse
parse2
quotes
  parens 
parens ( s,  parens_re=regex.compile( '(\|)' ) )

Exceptions   
QueryError
  parse 
parse ( s )

Parse parentheses and quotes

  parse2 
parse2 (
        q,
        default_operator,
        operator_dict={ AndNot : AndNot, And : And, Or : Or, Near : Near },
        ListType=type([] ),
        )

Find operators and operands

  quotes 
quotes ( s,  ws=( string.whitespace, ) )

Exceptions   
QueryError
Classes   
UnTextIndex

Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6