Implement full-text black/white feature
Bug #1014999 reported by
Chris Hillery
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Medium
|
Paul J. Lucas |
Bug Description
Add a function to the full-text module having the signature:
declare function ft:tokenize-nodes( $includes as node()+,
as element(ft:token)* external;
where $includes lists all those nodes to include and $excludes lists all those nodes to exclude.
Related branches
lp:~paul-lucas/zorba/feature-ft_bw
- Matthias Brantner: Approve
- Paul J. Lucas: Approve
-
Diff: 2563 lines (+758/-670)25 files modifiedChangeLog (+2/-0)
include/zorba/tokenizer.h (+1/-1)
modules/com/zorba-xquery/www/modules/full-text.xq (+43/-7)
src/functions/func_ft_module_impl.cpp (+32/-3)
src/functions/func_ft_module_impl.h (+20/-0)
src/functions/function_consts.h (+3/-1)
src/runtime/full_text/CMakeLists.txt (+1/-0)
src/runtime/full_text/apply.h (+4/-0)
src/runtime/full_text/ft_module_impl.cpp (+226/-125)
src/runtime/full_text/ft_module_util.cpp (+57/-0)
src/runtime/full_text/ft_module_util.h (+80/-0)
src/runtime/full_text/ft_util.cpp (+24/-0)
src/runtime/full_text/ft_util.h (+17/-1)
src/runtime/full_text/pregenerated/ft_module.cpp (+0/-463)
src/runtime/full_text/pregenerated/ft_module.h (+64/-10)
src/runtime/full_text/tokenizer.cpp (+6/-16)
src/runtime/json/jsonml_array.cpp (+7/-14)
src/runtime/pregenerated/iterator_enum.h (+1/-0)
src/runtime/spec/full_text/ft_module.xml (+63/-24)
src/runtime/visitors/pregenerated/planiter_visitor.h (+7/-0)
src/runtime/visitors/pregenerated/printer_visitor.cpp (+15/-0)
src/runtime/visitors/pregenerated/printer_visitor.h (+5/-0)
src/util/xml_util.h (+37/-5)
test/rbkt/ExpQueryResults/zorba/fulltext/ft-module-tokenize-nodes-1.xml.res (+1/-0)
test/rbkt/Queries/zorba/fulltext/ft-module-tokenize-nodes-1.xq (+42/-0)
Changed in zorba: | |
assignee: | nobody → Paul J. Lucas (paul-lucas) |
tags: | added: task |
description: | updated |
description: | updated |
description: | updated |
Changed in zorba: | |
status: | Confirmed → In Progress |
Changed in zorba: | |
status: | In Progress → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.