Class SearchResource


  • @Path("/search")
    public class SearchResource
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SearchResource()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void reinit()  
      javax.ws.rs.core.Response search​(java.lang.String query, java.lang.String controls, java.lang.String qid, java.lang.String wmodel, java.lang.String matching, java.lang.String format)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SearchResource

        public SearchResource()
    • Method Detail

      • reinit

        public static void reinit()
      • search

        @GET
        @Produces("text/plain")
        @Path("{format}")
        public javax.ws.rs.core.Response search​(@QueryParam("query")
                                                java.lang.String query,
                                                @QueryParam("controls") @DefaultValue("")
                                                java.lang.String controls,
                                                @QueryParam("qid") @DefaultValue("")
                                                java.lang.String qid,
                                                @QueryParam("wmodel") @DefaultValue("")
                                                java.lang.String wmodel,
                                                @QueryParam("matching") @DefaultValue("")
                                                java.lang.String matching,
                                                @PathParam("format") @DefaultValue("trec")
                                                java.lang.String format)