Questions tagged [nest]

NEST is a .NET client for elasticsearch

2,822 questions
0votes
0answers
17views

ElasticSearch NEST C# ApiCall is always the same and values on documents property are wierd

I'm new to ElasticSearch. Can someone explain to me why I'm always getting Api call like this: "/pokemon/_search?typed_keys=true" Why this Nest NuGet package doesn't change api call to ...
0votes
0answers
21views

Elasticsearch search templates - How to construct the search terms in NEST

Currently I have a search template that I am trying to pass in a couple of parameters, How can I construct my search terms using NEST to get the following result. Template PUT _scripts/company-index-...
  • 2,662
-1votes
0answers
28views

EMFILE: too many open files - Nest js

I am using the Nest js application with Prisma. Currently, I have 109 tables. when I run command npx prisma db push table created correctly but when i generate it using npx prisma generate command, ...
1vote
1answer
34views

create a primary key for a one-to-one relationship

Background: Since any unique entity data is a candidate key to a table, any data column constrained as unique is a candidate key. What is the syntax for a foreign key to be constrained as unique and a ...
0votes
0answers
17views

How to serialize Fields response to object type from Elasticsearch.Net client GET doc request

When I use the Elasticsearch.Net client to do a Get document request, I am setting _source to false and specifying the stored fields I want to return. I do not want the _source because there are large ...
0votes
2answers
105views

TypeORM/nest - running migrations with `useFactory`

I have the app in nestjs with the app.module.ts containing the following configuration: import { ConfigModule, ConfigService } from '@nestjs/config'; import { TypeOrmModuleAsyncOptions, ...
-1votes
0answers
28views

Why select * return 0 rows? [closed]

I have an issue: I have web application written in nestjs and deployed on the server with nginx. Used postgres db. I am sure, that my table users has rows. I printed all the lines to the console and ...
0votes
1answer
24views

how solve timeout problem in elastic search?

sometimes I have a problem with running elastic search in C# . it doesn't work and get timeout error . I use nest library . what should I do with this problem?
-1votes
0answers
29views

Error DELETE request using react with REST API (nest.js)

I'm doing crud with react.js using the nest.js framework and mongoDB, when trying to make a delete request on the front-end returning the following error in the browser console: Failed to load ...
0votes
1answer
13views

Node , entity.ts file causes ERROR [TypeOrmModule] Unable to connect to the database. QueryFailedError: could not create unique index

I encountered this strange error when I added the {unique: true} in an entity file's @Column() decorator. The code that caused the error are the lines with @Coulmn({unique: true}): import { Column, ...
0votes
0answers
20views

Unit Test Elastic Search .NET Query not covered in unit test coverage

I am trying to implement unit test cases for Elastic Client Repository, where in we are having a complex query to pull the data from Elastic Search. While implementing the unit test cases and ...
-1votes
0answers
32views

Unable to use .SkipDuplicates() in Nest Elasticsearch Query under completion-suggester

string text ="ger"; string suggestSectionName ="tags-suggest"; string ...
0votes
1answer
54views

Cannot read properties of undefined (reading 'toPromise') in a mocked function

I am trying to test a Nest.js service that uses Clickhouse as the database. Since this is a unit test, I don't want it to actually go to the database and do stuff. Just want to mock some returns to ...
0votes
1answer
19views

ELASTICSEARCH NEST Automap string override either that string fields receive a keyword normalizer or something else, for case insensitive search

Im very unfamiliar with ElasticSearch, but basically I've been trying to figure out how to make all database fields that are string to be searchable case insensitively. As currently the Automap ...
2votes
1answer
65views

How do I resolve peer dependency conflicts with Nx, Angular and Nest?

I have a pretty fresh Nx workspace. Created an Angular app and a Nest app a few months ago, no problems. I come back after a hiatus to start a new Angular app and now I have a bunch of peer dependency ...

153050per page