Anyone interface with a search engines (OpenSearc...
# adobe
m
Anyone interface with a search engines (OpenSearch, Solr, etc) ? We are looking to interface with a search engine. Our CF and SQL Servers are on premise.
g
does solr still ship with CF ? we still use lucene directly. What are you looking to do with it ?
m
Well DUH it does! Ok looking at that now. It is in the SEARCH package.
d
We run opensearch as a service using the rest api’s. Started with solr, went to elasticsearch and now on opensearch. Using the versions that ship with cf tie you to old versions and limits your architectural choices.
Depending on your setup something like https://www.forgebox.io/view/cbelasticsearch may be helpful.
e
really, comes down to what you are searching and what you are doing with the data after the search. Really a lot more detail is needed, What are you searching for and why? Is it files, is it data on your database, is it files on your file system, computers on your network, Dilbert comics on the web, porn? Let's start with what problem you are trying to solve, or what task you are trying to accomplish.
m
I know it was an very vague question. We are planning of providing a google like search in our app (using CF) in course catalogs, topics and several other areas, then provide a way to jump to the content. Currently the data is stored in many different SQL server tables. In a different app they provide a similar search, which is currently in AWS OpenSearch/ElasticSearch. Our CF servers and SQL servers however are on-premise. Any reason I should not use the built-in Solr capability in CF on our existing CF servers?
So looking at Solr that comes with Coldfusion 2021, I installed the package. What should I see at the O/S (linux)? I don't see multicore\template directory - should I right after installing the package.
These are the only solr files installed when using the package manager to install the search package. There is no ./cfsolr, multicore directory, etc
-rw-r--r-- 1 zztraining zztraining  3516409 Feb 15 12:28 solr-core-5.2.1.jar
-rw-r--r-- 1 zztraining zztraining   580152 Feb 15 12:28 solr-solrj-5.2.1.jar
drwxr-xr-x   3 zztraining zztraining      17 Feb 21 17:09 ColdFusionSolr
./cfusion/bin/ColdFusionSolr:
./cfusion/bin/ColdFusionSolr/lib:
-rw-r--r-- 1 zztraining zztraining 54161389 Oct 11 12:49 solr.war
-rw-r--r-- 1 zztraining zztraining 54161389 Feb 21 17:13 solr.war
-rwxr-xr-x  1 zztraining zztraining    3942 Sep  3  2021 neo-solr.xml
drwxrwxr-x  2 zztraining zztraining     89 Feb 21 17:13 solr
-rw-rw-r-- 1 zztraining zztraining  30997 Feb 21 17:13 solr_en.cfm
-rw-rw-r-- 1 zztraining zztraining  33977 Feb 21 17:13 solr_ja.cfm
./cfusion/wwwroot/CFIDE/administrator/solr:
-rw-rw-r--  1 zztraining zztraining 70971 Feb 21 17:13 solrserver.cfm