GithubHelp home page GithubHelp logo

.net-sample's Introduction

Searchly Sample .NET Application.

This example illustrates basic search features of Searchly (ElasticSearch as service).

Each CRUD operation on documents is reflected to search index in real time.

To test Searchly's search features navigate to Manage Documents, create a new document and search it.

You can click "Reindex All" at Manage Documents view to index all documents in database. It will delete old index if exists, create a new index and it will index all documents at database with Bulk API in one request.

Sample application is using NEST .NET ElasticSearch client to integrate with SearchBox.io.

Local Setup

To run example in your local environment with a local ElasticSearch instance, add SEARCHBOX_URL to appSettings in web.config

<add key="SEARCHBOX_URL" value="http://localhost:9200"/>

Also change connection string to use SqlServerCe

<add name="SampleEntities" connectionString="data source=.\SQLEXPRESS;Data Source=|DataDirectory|aspnetdb.mdf" providerName="System.Data.SqlServerCe.4.0" />

AppHarbor Deployment

This sample can be deployed to Appharbor with no change. With 2 steps application will be fully functional.

  • Install SQL Addon and go to the SQL Server add-on to specify SampleEntities as the alias.

  • Install Searchly ElasticSearch Addon.

Deploy sample application, create some records and experience real time search.

.net-sample's People

Contributors

ferhatsb avatar friism avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.