Questions tagged [requesthandler]
104 questions
0
votes
1 answer
How to use a fq in solrconfig.xml 's requestHandler
I am trying to setup my requestHandler on my solrconfig.xml file to use a fq. So here is my code:

Orestis
- 526
- 1
- 5
- 18
0
votes
5 answers
Can PHP 5 do request handling similar to Tomcat or GAE?
lets say i want to go to
http://example.com/something/a/few/directories/deep
is there a way I can process this in PHP without having to make those directories? I just want to get everything after the domain name as a variable and work from there.

what
- 41
- 4
0
votes
1 answer
Cakephp 2 RequestHandlerComponent does not have a method beforeRender error message and could not parse RSS
I got 2 different problems:
Error while render default request (html)
Error while render rss request.
Here is my code:
class PagesController extends AppController {
public $name = 'Pages';
public $components = array('RequestHandler');
…

Naroito
- 1
0
votes
2 answers
How do I test the output of a JSON data view in CakePHP?
So I am trying to create an Android mobile application and I am using CakePHP as my serverside. I will not be needing any HTML views, I will only be responding with JSON objects.
I have taken a look at…

Johnathan Au
- 5,244
- 18
- 70
- 128
0
votes
1 answer
(Google App Engine Python 2.7) webapp2 RequestHandler on main thread?
I started with a simple Python 2.5 app engine app and migrated it to Python 2.7 in hopes of taking advantage of its multithreaded abilities. After migrating, I noticed that webapp2.RequestHandler instances are all being called from the Main Thread.…

Henry
- 133
- 1
- 2
- 4
0
votes
1 answer
calling a custom request handler from another one in solr
Is there a way to call one custom request handler from another in Solr. eg : i have /myhandler1 and /myhandler2 defined as custom request handlers in the solrconfig.xml. Defined like this

abhishek b
- 71
- 2
- 9
0
votes
1 answer
cakePHP: / redirects to /index but sends a get instead of post request
im totally confused right now, because i want to build up an api, but cake has a bit of a weird behaviour:
If i want to send a POST-request to let's say "/controller", it gets redirected to "/controller/index" ("index" method of "controller"), which…

Fabian Frank
- 49
- 7
0
votes
1 answer
SOLR 4.0: Get unique LONG fields in requestHandler code
I am writing a request handler for SOLR 4.0 and i am trying to get all unique values of a field of type tlong (field is indexed of course).
Whenever i try to get all unique terms for a tstring field i can simply use the following code:
DocTermsIndex…

Pma
- 1,063
- 1
- 16
- 30
0
votes
1 answer
How to write a Webapp2 Request Handler to Allow Client to Get Data after receiving Channel API message
As a follow up to another question I asked, I have a basic question about the easiest way to get a webapp2 python server to provide json data that is too large (about 100 kb) to send as a Channel API message to a client .
The webapp2 server…

dave
- 59
- 5
0
votes
1 answer
Can a Solr Request Handler modify the query string?
I'm trying to improve an existing solr search which uses the StandardRequestHandler. I'd like to switch to a dismax-based handler, however I'll need to remove the fieldname from the "fieldname:value" query.
Is it possible to modify the q parameter…

STW
- 44,917
- 17
- 105
- 161
0
votes
1 answer
ASP.NET MVC request forwarder
I would like to achieve this kind of functionality:
When a client makes GET request to
GET http://www.myserviceurl.com/rest/facebook/profile/me
to get response from
GET http://graph.facebook.com/profile/me
Application logic will append all…

Zlaja
- 31
- 4
0
votes
2 answers
URL Mapping in Java AppEngine (for Python-like functionality)
First Post.
I'm a mobile game developer looking into using the Java version of AppEngine for the backend of an Andriod game. Since the game is written in Java, I figured that I'd use the Java version of AppEngine. I've some experience with the…

rorygames
- 3
- 1
-1
votes
3 answers
Cakephp 3 View variables set in App controller not available when rendering specific template / AJAX requests
I am setting few view variables within my App controller such as company name, address, contact information which changes based on sub domains so that they are available throughout all view templates. However I am struggling to identify why the are…

user4676307
- 409
- 8
- 22
-1
votes
3 answers
C# REQUEST HANDLER ERROR System.InvalidCastException: Specified cast is not valid
When i try to execute this function i get the error
"System.InvalidCastException: Specified cast is not valid."
System.InvalidCastException: Specified cast is not valid.
at server.mihail.credits.HandleRequest() in…
user6262603