ponzu icon indicating copy to clipboard operation
ponzu copied to clipboard

The "must" search operator in blevesearch can't be passed into ponzu

Open necokeine opened this issue 4 years ago • 1 comments

E.g. a query "+fielda:xxx +fieldb:bbb" will be recognized as " fielda:xxx fieldb:bbb" in ponzu, and got wrong search result.

necokeine avatar Jun 03 '20 02:06 necokeine

I fixed it locally with removing "url.QueryUnescape" in this line. https://github.com/ponzu-cms/ponzu/blob/9bc41b703131aa42ca64265ab6fdeadc37841e66/system/api/search.go#L34

necokeine avatar Jun 03 '20 03:06 necokeine