Closed (outdated)
Project:
Search API Solr
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 May 2012 at 15:55 UTC
Updated:
8 Aug 2019 at 12:12 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
regilero commentedSo here's the patch.
Comment #2
sutharsan commentedCode style fixes and function documentation (only). The function description could use some extra explanation.
Comment #3
gp.mazzola commentedHi, the new update of the Search API Solr search module to rc4, with the removed dependency on the SolrPhpClient library, breaks this patch, that I was using combined to a patch on Search API Attachments module, to allow remote extraction of files on the machines where Solr/Tomcat live.
Is it possible to update this patch to work with the new rewritten module? Otherwise, could this patch be committed to the module, to allow remote extraction feature?
Comment #4
lotyrin commentedComment #5
drunken monkeyMight it be that
SearchApiSolrConnection::makeServletRequest()already does what you want?Otherwise, maybe we could add a method for that to the connection class, yes. (Or, rather, make the method for that public.)
Comment #6
gp.mazzola commentedHello drunken monkey, I am reading your answer only now.
The patch to search_api_attachments, add this code to allow remote file extraction on the solr machine:
This function calls $solr->sendHttpRequest('extract/tika'. $query_string, 'POST', $headers, $data, FALSE); which was introduced by another patch on the search_api_solr module (solr_connection.inc file)
Do you think that the method you suggest, could do the job? Or do you need to add another method to the connection class?
Comment #7
drunken monkeyYes, I'm fairly certain. Just try it and report back, please.
Comment #8
torpy commentedThanks for the pointer! Posted a working patch making use of makeServletRequest in #1289222: Allow remote document processing (comment #15).
Comment #9
OanaIlea commentedThis issue was closed due to lack of activity over a long period of time. If the issue is still acute for you, feel free to reopen it and describe the current state.