Comments (3)
Hey @HuangYiming0608 👋
Currently Pagefind doesn't index or search special characters — but you should still be seeing a result. When indexing, C++
will be normalized to c
. When searching, the intention is that searching for C++
should actually search for c
, so the results should still line up.
It's possible that the search reformatting isn't being applied when searching in some languages, I'll look into that.
(It's also worth considering supporting more symbol searches in Pagefind in the future, but that needs more thought)
from pagefind.
Hey @HuangYiming0608 👋
Currently Pagefind doesn't index or search special characters — but you should still be seeing a result. When indexing,
C++
will be normalized toc
. When searching, the intention is that searching forC++
should actually search forc
, so the results should still line up.It's possible that the search reformatting isn't being applied when searching in some languages, I'll look into that.
(It's also worth considering supporting more symbol searches in Pagefind in the future, but that needs more thought)
So if all the characters of the key word are sperical charaters, such as ~
, will it no result?
from pagefind.
In the current implementation, correct. Searching for a ~
alone wouldn't return results.
from pagefind.
Related Issues (20)
- [Feature request] Score exact name of page highly HOT 1
- The path to the image is not found
- Special characters (p.e. Umlauts) in page's file names are not escaped, causing not working links HOT 2
- CSS Validation Parse Error: .pagefind-ui__button.svelte-193m69l | Value Error : color ----pagefind-ui-primary HOT 1
- Runtime error "unreachable executed" when search term contains emoticon HOT 1
- Support of specific "target" for <a> links by default UI to open result documents in different frame HOT 2
- ModularUI results do not update on scroll HOT 4
- Sort ModularUI FilterPills HOT 2
- Difference in the results by including `a` in the middle. HOT 4
- Problem with domains and subdomains HOT 4
- Error in documentation for the bundle path option
- Consider exposing the types on the Pagefind client
- feature request: Python wrapper package, Python API HOT 8
- Allow to specify the path of the config file HOT 1
- Allow to override default weight of HTML elements in config HOT 1
- Add UI search event hooks HOT 1
- Pagefind 1.1.0 output is not stable HOT 1
- Alpine Image for Pagefind HOT 1
- Configure max build file number HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pagefind.