rressi / smartsearch Goto Github PK
View Code? Open in Web Editor NEWSmartSearch, a small yet effective framework to implement search services
License: Apache License 2.0
SmartSearch, a small yet effective framework to implement search services
License: Apache License 2.0
We should implement tests to measure how well smartsearch components are scaling with a growing number of documents.
One of lasts commits have introduced a nice feature that applies gzip
compression on the fly to returned lists of documents.
This have drastically improved performances on many browsers like Chrome or Safari but broken our demo application with Explorer or Edge.
Looks like Explorer and Edge are simply not decompressing the data, they try to parse them as a stream of JSON directly. Of course they fail.
A possible, and elegant solution, can be to let the client choice to have the documents compressed or not.
Let's imagine to revert method /docs
as it was before and to add another identical method /docs.gz
that is obtained by decorating the first with a gzip encoding.
On the client side we can test the current browser's capabilities and decide what method use.
This would also make us easier to test and to compare time to time the 2 different solutions. For example have no sense to use compression if we have only few documents to return.
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.