samplesolrapp's Introduction
SampleSolrApp Steps to run sample application 1. Using SolrNet NHibernate integration * create database SampleSolrApp on your local SQLExpress * edit solr-1.4.0\start.bat to set correct path to samplesolrnet\solr-1.4.0\solr\multicore\ * run solr-1.4.0\start.bat * start SampleSolrApp using VS.NET, should run as http://localhost:25827/ * SampleSolrApp will create db schema and setup solr index * run Simulate_10_Users_Should_Crash_Application test from SampleSolrApp.Tests\SimulateMultipleUsersTester.cs using NUnit * test will simulate 10 users, every user makes 20 request to http://localhost:25827/home/add -> this action is inserting Products to db and should add documents to Solr * we should have 200 products in db and 200 documents in Solr * unfortunately we get about 30 errors, which means we get about 170 products in db, but only about 130 product documents in Solr 2. Using own simple NHibernate listener * comment out lines in SampleSolrApp.Core.NhInfrastructure.NHibernateRegistry between // Solr & NHibernate integration -> and // <- Solr & NHibernate integration * comment in lines in SampleSolrApp.Core.NhInfrastructure.NHibernateRegistry between // manual NHibernate integration -> and // <- manual NHibernate integration * stop the dev web server * start SampleSolrApp using VS.NET, should run as http://localhost:25827/ * run Simulate_10_Users_Should_Crash_Application test from SampleSolrApp.Tests\SimulateMultipleUsersTester.cs using NUnit * test will simulate 10 users, every user makes 20 request to http://localhost:25827/home/add -> this action is inserting Products to db and should add documents to Solr * we should have 200 products in db and 200 documents in Solr * we get 200 products and 200 documents in Solr, we get few different error, which don't break db and Solr index integrity
samplesolrapp's People
Forkers
ankitkumar9018Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.