Questions tagged [requesthandler]
104 questions
0
votes
1 answer
How to add solr searchHandler through curl
I would like to add the following searchHandler to my solr core locally:
spell_checking_text

Aizaz
- 39
- 7
0
votes
1 answer
How do I forcibly disconnect all currently connected clients to my TCP or HTTP server during shutdown?
I have a fake HTTP server that I use as a fixture in my testing. At some point in the test, I want to stop the server regardless of any still open connections. Clients on these open connections should get a TCP FIN.
I am aware that usually…

user7610
- 25,267
- 15
- 124
- 150
0
votes
1 answer
The return type is incompatible with RequestHandler
Im trying to run the below code, the classes mentioned in the source code is already defined except for authenticateUser , in the highlighted line error message "The return type is incompatible with…
0
votes
0 answers
CakePHP4 - How to use the 'RequestHandler' component within another component
The PHP code segment of my component is shown below:
...
class NewsletterFormComponent extends Component {
public $components = ['Flash','RequestHandler'];
public $controller;
public function beforeFilter()
{
$this->controller =…

user3661042
- 167
- 1
- 13
0
votes
0 answers
Problem with Requests from HTTPRequestHandler
I'm working on controlling robot with commands send from android app through HTTPRequestHandler on Raspberry Pi.
class RequestHandler_httpd(BaseHTTPRequestHandler):
def do_GET(self):
global Request
messagetosend = bytes('x',"utf")
…

Neidd
- 61
- 6
0
votes
1 answer
OAuthRequestFilter (or ContainerRequestFilter) not working inside AbstractFeature - "org.apache.cxf.resource.method" is null
We are using CXF 3.x, project has classes MyFeature extends AbstractFeature and `MyFilter extends OAuthRequestFilter.
Inside MyFeature class object of MyFilter created as MyFilter myFilter = new MyFilter (classObj); where classObj is object of class…

shaILU
- 2,050
- 3
- 21
- 40
0
votes
1 answer
How to handle multiple requests being sent in JavaScript?
Working on a platform, to enable auto-ticketing functionality. For which a REST API request is used for ticket creation. Unfortunately, there are 2 requests popping simultaneously, which results in creating duplicated tickets.
How to handle such…

renjini
- 1
- 2
0
votes
1 answer
node express request handler in source code
I'm reading example express source code for my education.
Initializing a simple express application looks like this:
const express = require('express')
const app = express()
app.listen(3000, () => {
console.log(`http://localhost:3000`)
})
I want…

mCY
- 2,731
- 7
- 25
- 43
0
votes
0 answers
How to change arguments when tornado render html ?
Example code:
RequestHandlerA(tornado.web.RequestHandler):
def get/post(self):
...
redirect('/index?username=user0&password=user0')
...
RequestHandlerB(tornado.web.RequestHandler):
def get/post(self):
...
…

foree
- 33
- 5
0
votes
1 answer
Spring HttpRequestHandler + XMLHttpRequest
i have a problem HttpRequestHandler does not receive any data when i send post data by javascript. i want to receive value of content, but it does not work.
Here is javascript code:
function utils_saveElementAndGetId(url,content) {
var xhr = new…

Василий Пупкин
- 33
- 1
- 5
0
votes
1 answer
Only return search results that matches in all fields
I have fields for name and dimensions. The fields are: Name, dimensionLength, dimensionWidth and dimensionHeight.
I want query productX 10x20 only to return matches containing both dimensions. So query above can return productX 10x20x30 and…

Jesse
- 3
- 4
0
votes
1 answer
Submitting files in Solr
While I submit documents to Solr if Request-Handler is /update I can't submit csv and json files but I can submit xml files.
I have changed Request-Handler to /update/extract. Now I can submit csv,json and xml files. But the problem is when I…

mfatihk
- 136
- 2
- 11
0
votes
1 answer
"qt" param in Solr 5.5
I'm migrating solr from 4.6 version to 5.5, we have separate request handlers in which we provide query without field name, like q=book. But for select request handler, we need to pass the request with field name, like q=type:book.
if i give without…

User1203
- 77
- 2
- 11
0
votes
1 answer
Solrcache and requesthandler
Due to my proj security requirements, i have created a custom requesthandler(for eg:"/new") to serve requests coming from a particular set of users & i have the default "/select" requesthandler to serve the requests from another set of users.This…

Aum
- 11
- 1
0
votes
2 answers
Where can i cache pandas dataframe in tornado requesthandler
I want to cache a pandas dataframe into tornado requesthandler. So i don't want to repeat the pd.read_csv() for every hit to that particular url.

Bastin Robin
- 907
- 16
- 30