Re: Solr client on VMS

Liste des GroupesRevenir à co vms 
Sujet : Re: Solr client on VMS
De : arne (at) *nospam* vajhoej.dk (Arne Vajhøj)
Groupes : comp.os.vms
Date : 10. Dec 2024, 03:04:40
Autres entêtes
Organisation : SunSITE.dk - Supporting Open source
Message-ID : <6757a1b8$0$714$14726298@news.sunsite.dk>
References : 1
User-Agent : Mozilla Thunderbird
On 12/6/2024 7:49 PM, Arne Vajhøj wrote:
I have been looking a bit at Solr recently. For those that don't
know Solr, then it is a text search engine - or more accurate it
is a web frontend for the Lucene text search engine. Both
Solr and Lucene are Apache projects (open source).
 Solr is basically exposing a web API, so anything that can do
HTTP POST can use Solr. But clients encapsulating the HTTP
stuff does exist for many languages. On VMS then both JVM languages
and Python should be able to use a standard client.
 But there are also the traditional languages. Maybe it could
be nice to be able to access Solr from one of those.  VMS Pascal
is actually a very nice language, so I picked that. And I could
reuse some stuff I had on the shelf.
 pSolr (Pascal)-|->phttp (Pascal)->vms_http (C)->vms_socket (C)->sockets
                |->pJSON (Pascal)->cJSON (C, not written by me)
To do a little stress test I tried stuffing the content of
SYS$HELP:HELPLIB.HLB into Solr (two fields: path with the
help path and helptext with the first 32 KB of the text).
And then a little search program that output help commands
that can be copy pasted.
Examples:
$ mcr []hhint fread
help CRTL fread
help CRTL fread Description
help CRTL Version-Dependency_Tables All_OpenVMS_Versions
help CRTL pipe Description
$ mcr []hhint fread NOT fwrite
help CRTL fread
help CRTL fread Description
$ mcr []hhint fread OR fwrite
help CRTL fread
help CRTL fwrite
help CRTL Feature_Logical_Names DECC$STDIO_CTX_EOL
help CRTL fwrite Description
help CRTL fread Description
help CRTL Feature_Logical_Names DECC$WRITE_SHORT_RECORDS
help CRTL Version-Dependency_Tables All_OpenVMS_Versions
help CRTL pipe Description
Arne

Date Sujet#  Auteur
7 Dec 24 * Solr client on VMS8Arne Vajhøj
10 Dec 24 +- Re: Solr client on VMS1Arne Vajhøj
25 Dec 24 +* Re: Solr client on VMS2Arne Vajhøj
2 Jan 25 i`- Re: Solr client on VMS1Simon Clubley
25 Dec 24 +* Re: Solr client on VMS2Arne Vajhøj
25 Dec 24 i`- Re: Solr client on VMS1Lawrence D'Oliveiro
25 Dec 24 +- Re: Solr client on VMS1Arne Vajhøj
27 Dec 24 `- Re: Solr client on VMS1Arne Vajhøj

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal