The Artima Developer Community
Sponsored Link

Java Buzz Forum
How to Test Apache Solr(J)?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Peter Karich

Posts: 468
Nickname: pettar
Registered: Apr, 2008

Peter Karich is Physicist and Java Software Developer
How to Test Apache Solr(J)? Posted: Jun 10, 2010 1:12 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Peter Karich.
Original Post: How to Test Apache Solr(J)?
Feed Title: Java and more ...
Feed URL: https://karussell.wordpress.com/category/java/feed/
Feed Description: Just another weblog. Its about my developer experiences with Java in general. In detail I will blog about NetBeans, Eclipse, Design Patterns, News, Web Frameworks and other tools. My focus will be open source tools, which make the life of a Java developer easier.
Latest Java Buzz Posts
Latest Java Buzz Posts by Peter Karich
Latest Posts From Java and more ...

Advertisement
public class SolrSearchTest extends AbstractSolrTestCase { private SolrServer server; @Override public String getSchemaFile() { return "solr/conf/schema.xml"; } @Override public String getSolrConfigFile() { return "solr/conf/solrconfig.xml"; } @Before @Override public void setUp() throws Exception { super.setUp(); server = new EmbeddedSolrServer(h.getCoreContainer(), h.getCore().getName()); } public testFirstTry() { // e.g. add some docs via solrJ server.add(createDoc(entity1)); server.add(createDoc(entity2)); server.add(createDoc(entity3));  server.add(createDoc(entity4));  server.add(createDoc(entity5)); [...]

Read: How to Test Apache Solr(J)?

Topic: Yahoo completes its online bridge to Facebook in an attempt to keep people on its site longer Previous Topic   Next Topic Topic: Foxconn, maker of iPads, to raise worker pay again at China plants, striken by recent suicides

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use