public class RawQuery extends CrossQuery
Modifier and Type | Class and Description |
---|---|
private class |
RawQuery.RawQueryConfig |
config, decimalFormat, profListener
stylesheetCache
Constructor and Description |
---|
RawQuery() |
Modifier and Type | Method and Description |
---|---|
protected void |
apply(HttpServletRequest req,
HttpServletResponse res)
Creates the query request, processes it, and formats the results.
|
void |
doGet(HttpServletRequest req,
HttpServletResponse res)
Handles the HTTP 'get' and 'put' methods.
|
String |
getConfigName()
Called by the superclass to find out the name of our specific config
file.
|
String |
getServletInfo()
Informational method required by Servlet interface.
|
protected TextConfig |
readConfig(String configPath)
We're keeping this servlet intentionally very simple -- so no config file.
|
apply, formatHits, getConfig, runQueryParser, runQueryRouter, shuntQueryReq, stepSetup
addParam, addToken, addTokens, buildParamBlock, calcMimeType, convertUTF8inURL, cqlTokenize, createFilteredReceiver, createQueryProcessor, decodeURL, defaultTokenize, destroy, doPost, genErrorPage, getCurRequest, getCurResponse, getCurServlet, getRealPath, getRequestURL, getRequestURL, getText, isEmpty, isSessionTrackingEnabled, makeAttribList, makeHtmlString, makeHtmlString, rawTokenize, readBranding, requireOrElse, restoreWildcards, saveWildcards, service, setErrorGenSheet, setupTrace, stuffAttribs, stuffAttribs, stuffSpecialAttribs
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
protected TextConfig readConfig(String configPath)
readConfig
in class CrossQuery
configPath
- Path to the configuration filepublic String getConfigName()
CrossQuery
getConfigName
in class CrossQuery
public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException
doGet
in class CrossQuery
req
- The HTTP request (in)res
- The HTTP response (out)IOException
- If unable to read an index or data file, or
if unable to write the output stream.public String getServletInfo()
CrossQuery
getServletInfo
in interface Servlet
getServletInfo
in class CrossQuery
protected void apply(HttpServletRequest req, HttpServletResponse res) throws Exception
req
- The original HTTP requestres
- Where to send the responseException
- Passes on various errors that might occur.