Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Persistency Library: Search Engine Classes

Classes

ECF: search-engine.ecf

Directory source listing

Overview

Classes for parsing search terms and searching a list conforming to CHAIN [EL_WORD_SEARCHABLE]. The search uses case-insensivitive word tokenization. Facility to create custom search times. Terms can be combined using basic boolean operators.

Directory: library/persistency/search-engine

[ . ]

. /term

. /token-table

[ . ]

EL_DATEABLE

Dateable

EL_DATE_AND_WORD_SEARCH_TERM_PARSER

Date and word search term parser

EL_SEARCH_ENGINE

Search engine

EL_SEARCH_TERM_PARSER

Search term parser

EL_TOKENIZED_STRING

A tokenized string which forms the basis of a fast full text search engine. The initializing string argument is decomposed into a series of lowercased words ignoring punctuation. The resulting word-list is represented as a series of token id's which are keys into a table of unique words. Each token is of type CHARACTER_32

EL_WORD_SEARCHABLE

Word searchable

term

EL_CONTAINS_WORDS_SEARCH_TERM

Contains words search term

EL_CUSTOM_SEARCH_TERM

Custom search term

EL_DATE_INTERVAL_SEARCH_TERM

Date interval search term

EL_ONE_OF_WORDS_SEARCH_TERM

Matches word token search string with any of the ending variations (last token)

EL_OPERATOR_OR_SEARCH_TERM

Operator or search term

EL_SEARCH_TERM

Search term

token-table

EL_ENCRYPTABLE_STORED_WORD_TOKEN_TABLE

Encryptable stored word token table

EL_STORED_WORD_TOKEN_TABLE

Stored word token table

EL_WORD_TOKEN_TABLE

A table of unique words used to create tokenized strings or word-lists consisting of a series of keys into the word table.