visuellverstehen / t3meilisearch Goto Github PK
View Code? Open in Web Editor NEWUse Meilisearch for your TYPO3 search
License: MIT License
Use Meilisearch for your TYPO3 search
License: MIT License
Right now all possible URLs get indexed. We should index only URLs without query parameters and without fragments.
Here are some example URLs:
For all of the URLs above only one URL should get indexed:
Instead of break the frontend and display an error message, it would be nice, if we could log an error message when Meilisearch is not reachable.
Since we use t3meilisearch
in production, we should create a first release.
Right now, generated XML files (Sitemap) get indexed. I think we should automatically remove those from indexing.
I am not 100 % sure about this, but maybe we should add some TYPO3 commands to interact with the search index.
Some ideas:
If we agree against this, we should alternatively add the corresponding cURL commands inside of the README.
Right now some URLs get indexed twice (with and without trailing slash). We should index only URLs without trailing slash.
Now:
In the future:
It looks like this has been working before, but somehow the search results are not highlighted (with <em></em>
) anymore.
It looks like there is a problem with the following regex from IndexService
:
// Extract links to PDFs in fileadmin to parse
preg_match('/\/fileadmin(.*)\.pdf/s', $tsfe->content, $links);
The $links
variable looks like the following when there is one document inside of the content:
array(2) {
[0]=>
string(83) "/fileadmin/user_upload/name-of-the-document.pdf"
[1]=>
string(69) "/user_upload/name-of-the-document"
}
The $links
variable looks even weirder once there are multiple documents inside of the content.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.