Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50094

[Enhancement] FTS indexing by template

$
0
0
If Calibre's FTS indexing allows for selective indexing, an idea: Templates could be used to determine what gets indexed or not.

Anything set as 'true' is indexed, anything 'false' or null does not. Perhaps something like 'select' could be used to choose the specific formats to index.

Some simple examples:

This would only index books with epubs:
Code:

program: if 'epub' in approximate_formats() then 'true' fi
This would index everything unless 'noindex' is in #admintags:
Code:

program: if 'noindex' inlist $#admintags then 'false' else 'true' fi
Would anyone else use this? Is it even feasible? :thanks:

Viewing all articles
Browse latest Browse all 50094

Latest Images

Trending Articles



Latest Images