Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with getting search results #7

Open
szymach opened this issue Jul 13, 2022 · 0 comments
Open

Issues with getting search results #7

szymach opened this issue Jul 13, 2022 · 0 comments

Comments

@szymach
Copy link

szymach commented Jul 13, 2022

Hello,
I was researching this library for use in one of my projects and wanted to try out the search engine. Following the README I used the Docker images to index the files located in the test directory of this repository (similairly to how it is done in scripts/github-test). Then I extracted a part of a formula from test/exact-match.xhtml:

<math xmlns="http://www.w3.org/1998/Math/MathML">
    <semantics>
        <mrow>
            <msup>
                <mi>x</mi>
                <mo>′</mo>
            </msup>
            <mo>,</mo>
            <msup>
                <mi>y</mi>
                <mo>′</mo>
            </msup>
            <mo>,</mo>
            <msup>
                <mi>z</mi>
                <mo>′</mo>
            </msup>
            <mo>,</mo>
            <msup>
                <mi>t</mi>
                <mo>′</mo>
            </msup>
        </mrow>
    </semantics>
</math>

but it yields no results. Am I misunderstanding something? What kind of a dataset does the indexing engine actually expect? Are the .xhtml files OK to use or do I need a different file format? Do I have to supply a specific index name when indexing data? Thank you for any help in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant