On Tue, Dec 2, 2014 at 11:26 AM, Bill Traynor <btraynor(a)gmail.com> wrote:
On Tue, Dec 2, 2014 at 10:01 AM, Bill Traynor
<btraynor(a)gmail.com> wrote:
On Tue, Dec 2, 2014 at 9:44 AM, Nikolas Everett
<neverett(a)wikimedia.org> wrote:
On Tue, Dec 2, 2014 at 9:30 AM, Bill Traynor
<btraynor(a)gmail.com> wrote:
Hello,
I'm working with a client to utilize their Google Search Appliance
(GSA) for searching within their externally facing customer wiki. I'm
required to access the GSA through it's API and pass the following
parameters:
linkID=10 (this tells the GSA what enterprise site is being searched)
searchTerm= the query string
selectionTopic=default_en (returns English results and is constant)
startNum=0 (the start result number)
I've been trying to get mediawiki-gsa-engine
(
https://code.google.com/p/mediawiki-gsa-engine/) to work
unsuccessfully. And it would appear the extension is unmaintained.
What's my path of least resistance here? Should I simply hack the
SimpleSearch section of the Vector.php?
I haven't found any other extensions in the wild that integrate with a GSA.
Any advice would be appreciated.
Thanks
Bill
At this point I think the only maintained search backend for Mediawiki is
database backed and CirrusSearch. CirrusSearch only targets Elasticsearch.
I'm not really sure what the path of least resistance is if you are forced
into GSA. It might be reviving the extension but it looks like its been
fallow for a long time.
Thanks Nik,
I may end up reviving the extension. Right now, I'm experimenting
with $wgSearchForwardUrl which may suffice if I can get it to work.
I've got $wgSearchForwardUrl working, however, as expected this
actually pushed the User off of the wiki to the external search page.
I can use this temporarily, but I'd really like to keep the User on
the wiki. I guess I'll have to look at resurrecting the
mediawiki-gsa-engine extension.
Well, I'm officially failing miserably at getting this to work.
Perhaps my approach is just wrong. I'm using the SearchGSA.php in the
original mediawiki-gsa-engine extension. My hacks so far are to
remove the $wgServer setting from that code, as my GSA is on a
separate box, exposed via an API. And I've added the parameters I
want to pass to it which tells the GSA which indexed site to provide
results for, what format to return results, etc.
With error reporting enabled, I get a message at the top of my Search
Results page as follows:
http://<IP of
GSA>/search?q=testsearch&site=en_devwiki&linkid=10&client=enFE&output=xml+no_dtd&num=50
but the Search Result page is empty regardless of the Search Term entered.
Alternatively, I've tested hitting the GSA directly, instead of
through the API as well, with the same results.
Does anyone, anywhere have this old extension working?
>
>>
>> Nik
>> _______________________________________________
>> MediaWiki-l mailing list
>> To unsubscribe, go to:
>>
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l