Releases: ang-zeyu/infisearch
Releases · ang-zeyu/infisearch
v0.5.0
Contains many breaking changes:
- Boolean query syntax is completely ditched to follow the more conventional
+ / -
syntax. A~
operator is also supported, which translates toAND NOT word
. - Chinese tokenizer is completely rewritten without Jieba, and now uses single chinese character tokenization, relying on proximity ranking to produce relevant results. A good amount of tests are also added for it.
- Search UI design is completely redone
- Many css variables are removed/added.
- Search UI assets are now bundled into the CLI tool, allowing for semantic versioning installation of both packages.
- Some indexer options (
loader_config
,field_store_block_size
) are renamed to shorter, simpler ones - Many API changes for "Altering HTML outputs" section
Other changes:
- Stop words are now never removed at query time if present, making proximity ranking produce even more relevant results
- Refactor some internal query processing to reduce binary size by ~10%.
- Use nightly rust to build the wasm bundle with the
panic_immediate_abort
std feature, reducing binary size by ~15%. - Increase spelling correction thresholds slightly
- Reduce mobile breakpoint for using fullscreen version to
768px
- Use unsafe unchecked functions where there are strong guarantees to further reduce panic code and improve query performance
- MdBook plugin no longer requires installing the indexer package as well, it is now bundled.
- MdBook plugin no longer generates any configuration file, it is passed to the indexer directly.
- Add body scroll locking for the fullscreen UI, with an option to disable it.
- Fix/add some more default values for field configuration to minimize configuration
- Disable Gzip after more benchmarking
- Fix CLI tool indexing an empty directory
- Dependency version bumps
- Some documentation reorganizations
v0.4.1
Features:
- Add a
useBreadcrumbs
UI option for forcing displaying the relative file path (as a breadcrumb) as the result preview title instead
Enhancements:
- Tweak dark theme colour scheme
- Transform relative file path breadcrumb components into Title Case as best as possible
Fixes:
- Fix wrong term being highlighted when spelling correction and suffix search is both performed on the last term
- Add
user-select: none
to fullscreen close button
v0.4.0
Features/Enhancements:
- Polish the tip table design a little further with alternating row colours
- Implement a manual suffix search operator (
run* AND ...
) - Delete spelling corrected variants if (automatic) suffix search is done. Suffix search terms are much more likely to be relevant.
- Include auto suffix searched terms into proximity ranking
- Always sort stop words last when choosing terms from suffix search
- Small default spacing / font tweaks
- Add a default configuration and guide for linking to other pages from an indexed HTML file easily
- Display the number of results found
Performance:
- Limit the size of the in-memory postings list cache
- Fix the default
pl_limit
generating far too many files, possibly slowing search library initialisation tremendously
Fixes:
- Fail softly if attempting to generate a result preview for pdf/csv files via its source file. Show only its relative file path breadcrumb in this case.
- Fix
is_corrected
flag in the advancedQueryPart
interface
Documentation:
- Fix wrong defaults displayed in the Fields chapter for the do_store option
Breaking Changes:
- Rename
numberOfExpandedTerms
option intomaxAutoSuffixSearchTerms
- Generalise "no results found" to a header render API. This now shows "0 results found", "9 results found", etc..
- Correspondingly,
termInfo
+noResults
render APIs are combined into a newheader
API for altering the default HTML output.
v0.3.3
- Fix term highlighting to ignore terms inside NOT operators
- Tweak term highlighting priority: always prefer highlights with more terms, irregardless of its type (heading-with-body or body-only).
- Add WebAssembly support check
- Minor color and spacing tweaks for the basic and mdbook themes
v0.3.2
- Fix a regression with how stop words are treated when they are removed from the index, when used in tandem with some query operators.
- Fix a race condition that generates a benign error (message)
- Fix tab outline being hidden by
overflow: hidden
. This property is moved to the<a>
element. - Highlight terms in phrase queries that undergone spelling correction
v0.3.1
v0.3.0
- Minor memory optimization for phrase queries
- Optimize initial resource loading to make more concurrent requests
- Add a more unopinionated basic UI theme
- Fix/allow stop-word removed indexes to partially process phrase queries with stop words. The queries are processed as-if the stop words were not there
- Re-enable stop words in user guide (mistakenly disbaled
- Fix tip icon on mobile dropdown wrongly using
position: fixed
- Automatically apply
morsels-root
class to target element fortarget
ui mode
Breaking Changes
- Combine all javascript (including the WebWorker) into one single bundle. The initial script resource is now language specific.
- Stop publishing the npm packages. Distribution will be via CDN or github releases.
v0.2.6
v0.2.5
- Add
include: []
file glob option which functions similarly toexclude: [...]
, but has lower priority - Fix missing default
field_store_block_size
setting during config deserialization - Tweak some default numbers (increase medium preset postings list size, decrease
field_store_block_size
) in the larger collection presets
v0.2.4
Fix indexer dependency versioning (0.2.4
=> =0.2.4
)