Package org.apache.jena.query.text

Examples of org.apache.jena.query.text.TextIndexSolr


//    assertEquals(RDFS.label.asNode(), indexSolr.getDocDef().getPrimaryPredicate()); 
//    indexSolr.getServer().shutdown();
//  }
 
  @Test public void testIndexUsesHttpServer() {
    TextIndexSolr indexSolr = (TextIndexSolr) Assembler.general.open(HTTP_SOLR_INDEX_SPEC);
    assertTrue(indexSolr.getServer() instanceof HttpSolrServer);
    assertEquals(indexSolr.getDocDef().getPrimaryPredicate(), RDFS.label.asNode())
    indexSolr.getServer().shutdown();     
  }
View Full Code Here

TOP

Related Classes of org.apache.jena.query.text.TextIndexSolr

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.