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

Results of search.xml are significantly less than search.json's in NexT search #37

Open
pilgrimlyieu opened this issue Jun 7, 2024 · 2 comments

Comments

@pilgrimlyieu
Copy link

I used to set path: search.xml as written in the README. However I've been bothered by the search because I can't find some pages in the search results.

When I checked search.xml, I could find the key words and target pages not included in the search result. Then I changed search.xml to search.json and these pages are listed in the result.

So I'm wondering if there's something wrong with the search database of XML format.

I have a large number of posts and pages so please forgive me for not giving example to reproduce this issue. But I think you can have a try changing search.xml to search.json to see if there's difference.

@pilgrimlyieu
Copy link
Author

pilgrimlyieu commented Jun 7, 2024

Here're two searching examples.

XML

xml-1
xml-2

JSON

json-1
json-2


The key word is included in search.xml but not listed in the result.

xml-db
xml

JSON result

json

@TrumanDu
Copy link

TrumanDu commented Jul 14, 2024

这个问题是文章内容存在特殊字符,xml无法解析正确,建议使用json.
我感觉xml对字符兼容性有点差。
@stevenjoezhang 建议文档修改默认值为json

The problem is that there are special characters in the content of the article, and the XML cannot be parsed correctly. It is recommended to use json.
I feel that XML has poor character compatibility.
@stevenjoezhang Suggested document modification Default value is json

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

2 participants