Releases: magicpages/ghost-typesense
Releases · magicpages/ghost-typesense
v1.7.0
v1.6.2
v1.6.1
v1.6.0
Added
plaintext
field support in default configuration- Automatic generation of plaintext content from HTML
- Smart context-aware search result highlighting
- Contextual excerpts that show search terms in context
- Support for exact phrase matching in search
- Support for nested fields using dot notation (e.g.,
tags.name
,authors.name
) - Enhanced CSS styling for highlighted search terms with
.mp-highlight
class
Changed
- Optimized field weights for better search relevance:
- Title: weight 5 (was 4)
- Plaintext: weight 4 (new)
- Excerpt: weight 3 (was 2)
- HTML: weight 1 (unchanged)
- Increased search results per page from 10 to 20
- Expanded context for search term highlighting from 20 to 30 tokens
- Improved URL-based search with cleaner hash path format
- Enhanced HTML cleaning algorithm for plaintext generation:
- Removes script and style tags with their content
- Replaces HTML tags with spaces to preserve word boundaries
- Normalizes whitespace
- Creates cleaner searchable content
Fixed
- Improved search relevance by using plaintext rather than raw HTML
- Enhanced excerpt generation for more meaningful search result previews
- Better handling of nested fields for tags and authors