Changing Path for Typesense Server Configuration
TLDR Karthik wanted to change the path in Typesense server config. Jason suggested updating the nodes and using Nginx reverse proxy for the desired configuration.
Mar 22, 2023 (6 months ago)
Karthik
03:19 PM<http://localhost:8108/multi_search?x-typesense-api-key=xyz>
this <http://localhost:8108/typesense/multi_search?x-typesense-api-key=xyz>
import TypesenseInstantsearchAdapter from "typesense-instantsearch-adapter";
let TYPESENSE_SERVER_CONFIG = {
apiKey: "xyz",
nodes: [
{
host: "localhost",
port: 8108,
protocol: "http",
},
],
connectionTimeoutSeconds: 1,
numRetries: 8,
};
export const typesenseAdapter = new TypesenseInstantsearchAdapter({
server: TYPESENSE_SERVER_CONFIG,
additionalSearchParameters: {
query_by: "CAS_ID,Synonyms,Molecular_Weight",
queryByWeights: "4,2,2",
numTypos: 3,
typoTokensThreshold: 1,
},
});
export const searchClient = typesenseAdapter.searchClient;
above code, I wrote in next.js - typesenseadapter.js
Jason
03:36 PMnodes: [
{
host: "localhost",
path: "/typesense",
port: 8108,
protocol: "http",
},
Karthik
03:49 PMJason
03:54 PMJason
03:54 PM<http://localhost:8108/typesense/>
via a reverse proxy?Karthik
03:59 PMJason
04:00 PMJason
04:00 PMKarthik
04:01 PMKarthik
04:02 PMKarthik
08:28 PMJason
08:57 PMJason
08:57 PMJason
08:57 PMTypesense
Indexed 2764 threads (79% resolved)
Similar Threads
Connection Refused Issue with Typesense and Nginx Reverse Proxy
Karthik experiences a connection refused problem with Typesense and Nginx reverse proxy. Jason helps troubleshoot, but the issue remains unresolved.


Setting up DNS Records for Typesense Servers and SSL Configuration
michtio needed assistance in setting up DNS records for Typesense servers in AWS and configuring SSL. Jason shared steps on how to set up A Records and fetch an SSL cert for HTTPS on port 443. The user later solved his issue with Jason's help.

Issues with Typesense Frontend Search Integration
Akash experienced issues integrating Typesense into their frontend search, particularly with their search box. Jason guided them to troubleshoot, eventually identifying the issue to be with react-instantsearch-dom and suggesting a downgrade to react 17, which resolved the issue.


Troubleshooting Typesense Hosting Issues on Google Cloud
Sachyya sought assistance on a Google Cloud Typesense hosting issue. Kishore Nallan helped identify a firewall rule problem and clarified how to configure settings, resolving the issue. They also advised Ahmet on synonym handling in the OSS version.

Resolving Connection Issues on Ubuntu 21.10
Philipe faced a problem with TypeSense running on Ubuntu 21.10. After troubleshooting, Jason and Kishore Nallan suggested a binary to solve the compatibility issue, which resolved the issue.

