未加星标

ArangoDB 3.4 GA Full-text Search, GeoJSON, Streaming & More

字体大小 | |
[数据库(综合) 所属分类 数据库(综合) | 发布者 店小二03 | 时间 2018 | 作者 红领巾 ] 0人收藏点击收藏

The ability to see your data from various perspectives is the idea of a multi-model database. Having the freedom to combine these perspectives into a single query is the idea behind native multi-model in ArangoDB. Extending this freedom is the main thought behind the release of ArangoDB 3.4.

We’re always excited to put a new version of ArangoDB out there, but this time it’s something special. This new release includes two huge features: a C++ based full-text search and ranking engine called ArangoSearch ; and largely extended capabilities for geospatial queries by integrating Google S2 Geometry Library and GeoJSON. JoinArangoSearch Webinar andGeoJSON Webinar to learn more straight from the people who developed the features.

ArangoDB 3.4 also includes performance improvements on many fronts. Just one example is the improved performance and scalability for multi-core machines. Our tests show up to 100% faster query execution for multi-core machines.

Together with the over forty additional improvements, we think that ArangoDB 3.4 is another important landmark on the projects’ mission to make the following ideas as easy as possible.

Let’s look at some of the new features.

ArangoSearch A Full-text Search & Similarity Ranking Engine

ArangoSearch is a C++ based search and ranking engine fully integrated into ArangoDB as a first-class citizen. ArangoSearch allows you to combine search with any other supported access pattern in ArangoDB.

Search uses a special type of materialized view to provide full-text search across multiple collections at once. Within the definition of a view type arangosearch , you specify entire collections or individual fields to be covered by an inverted index with one or more general text analyzers. The view concept is currently exclusive to ArangoSearch, more general views (SQL like views, materialized views) may be introduced with later versions of ArangoDB.

ArangoSearch The View Concept:


ArangoDB 3.4 GA Full-text Search, GeoJSON, Streaming & More

The capabilities in this first release include the following:

Relevance-Based Matching Phrase and Prefix Matching Complex Searches with Boolean Operators Relevance Tuning on Runtime Full combinability of search queries with all supported data models & access patterns

ArangoSearch is not only a search, but also a similarity ranking engine. We have integrated two ranking algorithms (i.e., BM25 and TFIDF) which will allow you to rank the overall results or boost certain query parameters to fine-tune the relevance of search results. In addition, this first version of ArangoSearch already includes twelve language-specific analyzers including English, Chinese, German, Spanish, Finnish, Dutch and many more.

Combining ArangoSearch, for example, with ArangoDB’s graph database capabilities fits nicely with enhanced fraud detection, knowledge graphs, semantic search, and even precision medicine use cases leveraging genomic data.

ArangoSearch is cluster-ready and can be used for datasets exceeding one machine. In a cluster setting, the Coordinator is always responsible for query planning, optimization and execution, guiding incoming queries to the right DBserver to process queries locally. With this architecture, efficient search queries can be performed against data residing on different machines.


ArangoDB 3.4 GA Full-text Search, GeoJSON, Streaming & More

We hope you will find that ArangoSearch is a useful extension of the ArangoDB capabilities and are excited to hear what you create with it.

Learn the new search capabilities with the ArangoSearch tutorial or deepen your knowledge about the underlying architecture of ArangoSearch .

Join the upcoming Webinar on December 12th to learn all about ArangoSearch:

Register here Full GeoJSON support & Google S2 Index
ArangoDB 3.4 GA Full-text Search, GeoJSON, Streaming & More

Another important feature we want to highlight is much improved support for location-based applications. Simple geo queries like points and distances have been possible and efficient with ArangoDB for a long time. But with ArangoDB 3.4 and the new GeoJSON support, you can now build sophisticated applications requiring precise and fast geo queries.

The new GeoJSON support includes all geo primitives like multi-points, multi-polygons and many geo functions like GEO_DISTANCE , GEO_CONTAINS , GEO_EQUALS ― even GEO_INTERSECTS . Of course, you can combine the new geospatial capabilities with all supported data models and also within ArangoSearch-based queries.

Go through theGeoJSON tutorial to try it out.

A little add-on to the geo queries is the direct visualization of your results via OpenStreetMap which helps to quickly navigate through your results.


ArangoDB 3.4 GA Full-text Search, GeoJSON, Streaming & More

Next Tuesday December 11th , join the Webinar to learn all about the GeoJSON Features in ArangoDB 3.4:

Register here New Query Profiler

Optimizing complex queries can be time-consuming. To simplify the process, we created the AQL Query Profiler. It shows the complete query profile, including detailed runtime statistics regarding the time spent in each stage of the query. With the new AQL Query Profiler, you can make an informed decision about potential optimizations by adding indexes, recompose your query or optimize your data structure. The displayed execution plan contains three new columns:

Call, the number of times each query stage was executed; Items, the number of temporary result rows for a given stage; Runtime, the total time spent in the stage.

The Query Profiler can be used in the shell via db._profileQuery( ) or by clicking on the Profile button within the Query tab of the WebUI.

Learn more about query optimization and the profiler with the AQL Query Profiler tutorial .

In contrast to the “Explain” command, the “Profiler” executes a query and shows the actual time spend on each step of your AQL query. We hope this further helps to simplify query optimization.

Query Profiler Output (Console)


ArangoDB 3.4 GA Full-text Search, GeoJSON, Streaming & More

Query Profiler Output (WebUI)


ArangoDB 3.4 GA Full-text Search, GeoJSON, Streaming & More
New Streaming Cursors in ArangoDB

Over the past few months, we received many requests to find a way to achieve much faster response times to queries which return many results. In response to these requests, we added Streaming Cursors to ArangoDB.

With a cursor set to stream , you can now grab results as they are calculated on the server; you don’t have to wait for the query to be fully executed and thereby display results to a user much faster. Furthermore, it is possible to query results that are larger than the memory of a single coordinator with a streaming cursor. We hope these make a

本文数据库(综合)相关术语:系统安全软件

代码区博客精选文章
分页:12
转载请注明
本文标题:ArangoDB 3.4 GA Full-text Search, GeoJSON, Streaming & More
本站链接:https://www.codesec.net/view/620941.html


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 数据库(综合) | 评论(0) | 阅读(49)