fix some more search queries (#1763)

This commit is contained in:
Jason Dove
2024-06-26 22:08:59 -05:00
committed by GitHub
parent 6858103be5
commit 109960c457
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -66,6 +66,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed
- Fix some cases of 404s from Plex when files were replaced and scanning the library from ETV didn't help
- Fix more wildcard search phrase queries (when wildcards are used in quotes, like `title:"law & order*"`)
- Fix non-wildcard simple queries when asterisks are used in quotes, like `title:"m*a*s*h"`
- Fix bug where channels would unnecessarily wait on each other
- e.g. in-progress streams would delay responding with a playlist when new streams were starting
- Update Plex show title in ETV when changed in Plex
@@ -96,7 +96,7 @@ public class CustomMultiFieldQueryParser : MultiFieldQueryParser
}
// assume asterisk always means wildcard
if (queryText.Contains('*'))
if (queryText.Contains('*') && queryText.Contains(' '))
{
var parser = new ComplexPhraseQueryParser(_matchVersion, LuceneSearchIndex.TitleField, _analyzer)
{