TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Searchkit – React components for elasticsearch

74 点作者 joemcelroy超过 9 年前

7 条评论

vvoyer超过 9 年前
Nice! Funny is that Algolia released something very similar some time ago: <a href="https:&#x2F;&#x2F;community.algolia.com&#x2F;instantsearch.js&#x2F;" rel="nofollow">https:&#x2F;&#x2F;community.algolia.com&#x2F;instantsearch.js&#x2F;</a><p>It seems searckit took great inspiration from it:<p>- component naming (search box, refinement list, hierarchical menu)<p>- documentation organisation:<p>+ <a href="http:&#x2F;&#x2F;searchkit.co&#x2F;" rel="nofollow">http:&#x2F;&#x2F;searchkit.co&#x2F;</a> is using an imdb demo just as <a href="https:&#x2F;&#x2F;www.algolia.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.algolia.com&#x2F;</a> homepage<p>+ <a href="https:&#x2F;&#x2F;ssetem.gitbooks.io&#x2F;searchkit&#x2F;content&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ssetem.gitbooks.io&#x2F;searchkit&#x2F;content&#x2F;</a> vs <a href="https:&#x2F;&#x2F;community.algolia.com&#x2F;instantsearch.js&#x2F;documentation&#x2F;" rel="nofollow">https:&#x2F;&#x2F;community.algolia.com&#x2F;instantsearch.js&#x2F;documentation...</a> (see &quot;components&quot; menu on the left)<p>- react based (but only works if you have react though)<p>- and more parts maybe<p>@Author could you give some more details on the parts of instantsearch.js that were inspiring to your project?<p>Thanks
评论 #10834839 未加载
fleshweasel超过 9 年前
I&#x27;m enthused, but would suggest you don&#x27;t put an entry in the user&#x27;s history for every keystroke in the search box.
评论 #10834578 未加载
评论 #10836431 未加载
评论 #10834925 未加载
ssetem超过 9 年前
Hi I am the Co-Author of Searchkit<p>We have now switched to Apache license Due to interest and our wish is for many new contributors to add to Searchkit&#x27;s ecosystem + component library <a href="https:&#x2F;&#x2F;github.com&#x2F;searchkit&#x2F;searchkit&#x2F;blob&#x2F;master&#x2F;LICENSE" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;searchkit&#x2F;searchkit&#x2F;blob&#x2F;master&#x2F;LICENSE</a> We will be working hard in the next weeks to add to the developer documentation, and walkthroughs on making custom components. Thanks!
joemcelroy超过 9 年前
(Author) This is our first release of searchkit. Adding more components and documentation in the next few days. Let us know if theres something missing you like by opening a github issue. Thanks! Joe
评论 #10832525 未加载
评论 #10834606 未加载
评论 #10834004 未加载
andrewingram超过 9 年前
Looks nice. I&#x27;d prefer higher-order (wrapper) components to extending the component classes though, HOCs are more idiomatic.<p>Another question, somewhat off-topic. How do people feel about talking to elastic search directly (via proxy or not), versus going through another service layer. The argument for a service layer is providing a cleaner and more stable API for front-end developers. The downside is that elasticsearch has a lot of useful features, and it&#x27;s hard to imagine an API that&#x27;s much simpler that exposes them in a useful way, you&#x27;d end up significantly slowing down development of front-end search features.<p>My reason for asking here, is that libraries like this are appealing, but may not fit well with the way more micro-service-y teams approach search.
评论 #10834891 未加载
评论 #10837920 未加载
egze超过 9 年前
Looks great. But don&#x27;t add every key press to the browser history. Not cool ;)
评论 #10836427 未加载
techaddict009超过 9 年前
Looks awesome. We are building something on react and we will probably use this.<p>thanks.