Package org.thrudb.thrudex

Examples of org.thrudb.thrudex.SearchQuery$Isset


      this.addField(d1, "title", "title number 1", FieldType.TEXT);
      this.addField(d1, "category", "science_fiction", FieldType.KEYWORD);

      index.put(d1);

      SearchQuery search = new SearchQuery();
      search.setIndex(INDEX_NAME);
      search.addToKeyword_fields("category");
     
      search.setQuery("category:\"science_fiction\"");
     
      SearchResponse response = index.search(search);
      assertEquals(1, response.total);
     
     
View Full Code Here

TOP

Related Classes of org.thrudb.thrudex.SearchQuery$Isset

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.