Skip to content

lib-face can't handle queries that include spaces #7

Description

@simonw

I've been experimenting with lib-face. I imported a set of data that included terms containing spaces, for example:

14  API Design  api-design
3   API Security    api-security

Running queries for "api%20des" or "api+des" do not return any results:

http://localhost:6767/face/suggest/?n=10&q=api%20des
http://localhost:6767/face/suggest/?n=10&q=api+des

Is this intended behaviour? The example in the quick-start guide includes terms that have spaces in them: https://github.com/duckduckgo/cpp-libface/wiki/Quick-Start-Guide

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions