The goal of rfusion
is to provide functions to send and get files and
R objects from LucidWorks Fusion Server. Fusion Server is a highly
scalable search engine and NoSQL datastore that gives you instant access
to all your data. It supports querying trillions of documents from an
unlimited number of data sources and data formats.
Fusion Server is built with open source, open core Apache Solr, the most popular, reliable, and powerful search technology in the world. Apache Spark provides a processing framework that can produce aggregates and perform other complex processing and algorithms on massive volumes of raw data.
With Fusion you can execute hundreds of thousands of queries per second from millions of concurrent users with sub-second response time. Process incoming data streams and feeds with real-time ingestion so the index is always up to date.
remotes::install_github("jjesusfilho/rfusion")
Once you have installed Fusion Server and setup your username and
password, it is highly recommended that you store them in your Renviron.
Rfusion will look for $RFUSION_USER
and $RFUSION_PWD
enviroment
variables, if you don’t provide the user and the password.
First you have to create a connection to your Fusion Server index:
fusion_connect(uri,app,index,user,password)
This function doesn’t actually connect with Fusion Server, it just creates a hidden object with your credentials to be used by the other fuctions, so you don’t have to type them every time you send or get objects or files.
If you want to check whether it’s working, you can ping it:
fusion_ping()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.