Skip to content

exacturl: operator does not always work #254

@homersimpsons

Description

@homersimpsons

The exacturl: operator does not always work.

Here we can see that the link https://developer.mozilla.org/en-US/ is in the index (I'm hovering the second result which shows the link):
Image

But when searching for exacturl:https://developer.mozilla.org/en-US/, there is no result:
Image

exacturl: is supposed to help debugging, so I believe it should be more reliable.

* `exacturl:https://example.com` - Finds the page with exactly the specified URL. This is mostly used for debugging to see if a specific page is indexed.

Maybe that is an issue with the trailing slash. Maybe because of the query_tokenizer not being Identity?

fn query_tokenizer(&self, _: Option<&whatlang::Lang>) -> FieldTokenizer {
FieldTokenizer::Words(WordTokenizer::default())
}

This projects looks awesome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions