fix some more search queries (#1763)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user