Commit e47fc496 authored by gergely-ujvari's avatar gergely-ujvari

Tokenize quote inside a facet too for page search

This is the final piece that is needed to complete the current issues with page search quote.
I'm going to reference both issues because this and the previous commits were required to fix them.

Fixes #1095
Fixes #1103
parent 9281ee01
...@@ -292,9 +292,12 @@ class App ...@@ -292,9 +292,12 @@ class App
parsedQuery[category] = value parsedQuery[category] = value
# Tags are specials, because we collect those into an array # Tags are specials, because we collect those into an array
if category in ['tag', 'quote'] if category in ['tag']
parsedQuery[category].push value.toLowerCase() parsedQuery[category].push value.toLowerCase()
if category in ['quote']
parsedQuery[category].push val.toLowerCase() for val in value.split ' '
if whole_document if whole_document
annotations = annotator.plugins.Store.annotations annotations = annotator.plugins.Store.annotations
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment