fec84300a9
indexers: * omindex: + 1.4.3 added a new --sample option, but contrary to the documentation the default behaviour was to take the sample from the meta description (which was the hard-wired behaviour in 1.4.2 and earlier). The default has now been changed to take the sample from the body. + Index .shtm, .xhtml and .xhtm as HTML by default - .shtm is another extension used for server-parsed HTML (in addition to the more common .shtml), and .xhtm and .xhtml are XHTML. + Fix fallback lookup for extension containing upper case. User mappings worked, but built-in extension to MIME type mappings were effectively being ignored (because the result of the function call was not being checked). Bug introduced in 1.3.4. + Fix term-based date ranges, broken by changes in 1.4.2. Found and diagnosed by Gaurav Arora. + Handle date range with start after end better - with term-based ranges, this used to generate a bogus filter, but now just generates Dlatest. + Use Y-term when range starts/ends at year start/end. Previously we used 12 M-terms for these cases. + Use full leap-year check when constructing term-based date ranges - previous code was good until 2100, but even then it would only result in an extra term being included for a non-existent February 29th in rare cases. + Add support for indexing vCard files if Perl and its Text::vCard module are available. + Recognise application/x-rpm as alternative type since libmagic reports this rather than application/x-redhat-package-manager. + Use official MIME type application/vnd.debian.binary-package for debian packages. We used to map .deb and .udeb to application/x-debian-package, but in 2014 (after we added that support for .deb) an official type was registered with IANA. We now map extensions .deb and .udeb to the official type, but the unofficial type is still recognised (older versions of libmagic probably report it, and users may be mapping to it). + Handle PHP as MIME type text/x-php. The main difference this makes is that PHP files which don't have extension '.php' (e.g. .phtml, .phps, .php5, .ph4, etc) get identified by libmagic as text/x-php and will now be indexed. It also means that the user can now more easily configure different filters for HTML and PHP. + Don't use meta description as sample by default. Now we have dynamic snippets (via $snippet), the body text is a better default. Also generated HTML sometimes has unhelpful content in the meta description. To get the previous behaviour, use the new omindex command line option: --sample=description omega: * New OmegaScript command $cgiparams which returns a list of the parameter names. * Handle tab in a CGI parameter name in the same way as space. Mostly this is a way to avoid having tabs in CGI parameter names - they aren't useful, but if they could have tabs in we can't put CGI parameter names in a list. templates: * query: Fix highlighting of matching terms. We were using both $snippet and $highlight, which results in double highlighting and HTML escaping, most noticeable by literal <strong> and </strong> appearing around matching terms in the rendered HTML snippet. Reported by Mark Thomas on xapian-discuss. build system: * If gen-mimemap failed after creating mimemap.h, the rule wouldn't get rerun.
26 lines
785 B
Text
26 lines
785 B
Text
@comment $NetBSD: PLIST,v 1.7 2017/07/09 22:27:47 schmonz Exp $
|
|
bin/dbi2omega
|
|
bin/htdig2omega
|
|
bin/mbox2omega
|
|
bin/omindex
|
|
bin/omindex-list
|
|
bin/scriptindex
|
|
libexec/cgi-bin/mhtml2html
|
|
libexec/cgi-bin/outlookmsg2html
|
|
libexec/cgi-bin/rfc822tohtml
|
|
libexec/cgi-bin/vcard2text
|
|
libexec/cgi-bin/xapian-omega
|
|
man/man1/omindex-list.1
|
|
man/man1/omindex.1
|
|
man/man1/scriptindex.1
|
|
share/doc/xapian-omega/cgiparams.html
|
|
share/doc/xapian-omega/encodings.html
|
|
share/doc/xapian-omega/index.html
|
|
share/doc/xapian-omega/omegascript.html
|
|
share/doc/xapian-omega/overview.html
|
|
share/doc/xapian-omega/quickstart.html
|
|
share/doc/xapian-omega/scriptindex.html
|
|
share/doc/xapian-omega/termprefixes.html
|
|
share/examples/xapian-omega/omega.conf
|
|
share/xapian-omega/htdig2omega.script
|
|
share/xapian-omega/mbox2omega.script
|