| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This is only created to give it to the parser, have it created from there
and detach TrackerLanguage from the rest of the code.
|
|
|
|
|
| |
Move these implementations together with the libicu/libunistring
implementations.
|
|
|
|
|
| |
Have the helpers defined together with the TrackerParser, so we don't
drag details about the unicode library to other parts of the code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From experimenting with FTS5, our usage patterns, and the 'integrity-check'
FTS command, it turns out the 'delete' command does not entirely like doing
partial updates on a row, it instead expects the command to be issued for
all table columns.
The only way to keep the FTS index happy is that we issue FTS deletes/inserts
for all columns in the FTS table whenever we update a rowid, and that the
select query on the external table "fts_view" is as-is for the given rowid.
For that we must move the COALESCE() that filters out rows with all-empty
text columns from the FTS updating queries to the fts_view view itself.
In order to automatically fix possible corruptions in existing databases,
and update to the fts_view change, we must trigger all our sorts of FTS
updates: A pointless FTS field (nco:phoneNumber) was removed to trigger
an update on the fts view+table, and the parser version was bumped to ensure
the FTS index is rebuilt. These modifications will update existing databases
to fix any existing corruption.
Closes: https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/253
|
|
|
|
|
|
|
| |
There's no actual parser changes, but we want to trigger a
rebuild of all tokenization info in the FTS table. This will
have the side effect of fixing databases that got the FTS
table broken.
|
| |
|
|
|
|
|
| |
The old unorm_normalize() function has been deprecated. This replacement
function is available on ICU >= 4.4, so we should be fine dependency-wise.
|
|
|
|
|
|
|
|
|
|
| |
The TRACKER_PARSER_VERSION number must be bumped on every change
to src/libtracker-common/tracker-parser*. This policy shall be
enforced through a server-side update hook.
This is a bit more cumbersome for the OTOH sparse changes to the
parser, but friendlier to the meson build system, where we can't
have build-generated files added to dist.
|
| |
|
|
|
|
| |
This also fixes the unaccenting SPARQL function in case of --disable-tracker-fts
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/libtracker-common/tracker-dbus.[ch]:
* src/libtracker-common/tracker-field.h:
* src/libtracker-common/tracker-ontology.h:
* src/libtracker-common/tracker-parser.h:
* src/libtracker-common/tracker-service.h: Fixed the #defines for
these headers so they don't possibly conflict with same name
headers in the future.
svn path=/trunk/; revision=2948
|
|
|
|
|
|
|
|
|
|
| |
2008-10-07 Carlos Garnacho <carlos@imendio.com>
* src/libtracker-common/tracker-parser.[ch]: Do not expose the
TrackerParser struct in the header, it was pulling pango.h
unnecessarily.
svn path=/trunk/; revision=2319
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-07 Carlos Garnacho <carlos@imendio.com>
* src/libtracker-common/tracker-common.h: New file. Do not allow
compiling unless TRACKER_ENABLE_INTERNALS or TRACKER_COMPILATION is
defined.
* src/libtracker-common/*.h: Do not allow including anything but
libtracker-common/tracker-common.h outside of tracker.
* */Makefile.am: define TRACKER_COMPILATION.
svn path=/trunk/; revision=2317
|
|
svn path=/trunk/; revision=2275
|