Questions tagged [nest]

NEST is a .NET client for elasticsearch

NEST aims to be a .NET client with a very concise API. Its main goal is to provide a solid strongly typed Elasticsearch client. It also has string/dynamic overloads for more dynamic use cases. Click here for more info about this project.

In terms of computational neuroscience, NEST is a simulator for spiking neural network models that focuses on the dynamics, size and structure of neural systems rather than on the exact morphology of individual neurons. Click here for further information or resources.

3119 questions
0
votes
0 answers

how can i download a file in flutter web

I am building a project with nest and flutter, and i wrote a function in nest that generate a Exel file, but it required a token in header and query parameter, so how can I send a token and query parameter with the link that download the file ?
0
votes
0 answers

ASP.NET ElasticSearch NEST Array Search For Multiple Fields

I use ASP.NET ElasticSearch NEST library and I have some data like below; I would like to get the result by giving a value and a language My purpose is to search data by using its language. For example I give "bla" - value and "en-US" -…
serhatyt
  • 180
  • 2
  • 14
0
votes
3 answers

Uploading to S3 Bucket with Nest.js error

I am trying to upload to an s3 bucket in next and have a couple of errors I am using the package: https://www.npmjs.com/package/@aws-sdk/client-s3 My Controller is: @Post('test-doc') @UseInterceptors(FileInterceptor('file')) async…
Graham Morby
  • 123
  • 2
  • 11
0
votes
1 answer

Fetch List of User Ids From Nested Collection in Firestore Database using TypeScript (NestJs)

I am working on firestore and my firestore collection structure as below: Users-> userId1 -> UserDetails -> User_Info -> JSON Data Users-> userId2 -> UserDetails -> User_Info -> JSON Data Users-> userId3 -> UserDetails -> User_Info -> JSON…
Shubham Verma
  • 8,783
  • 6
  • 58
  • 79
0
votes
0 answers

How do we Mock Nest.IndicesPointingToAliasExtensions.GetIndicesPointingToAlias extension methods in c#

How do we Mock Nest.IndicesPointingToAliasExtensions.GetIndicesPointingToAlias extension methods in c# for Unit Test Cases to substitute this call with a return? Tried Subsituting with NSubstitute but doesn't work
Sonie
  • 1
  • 2
0
votes
0 answers

How to search By tags on Repository() typeORM?

I'm new to nestJs and I'm trying to implement Real World App with TypeOrm, and here is the problem: Once I'm trying to search articles by tags like this: async findAll( query: any, ): Promise { const articles =…
0
votes
0 answers

NestJS GraphQL Api Package Installation Not Working

I cloned a repository that is built using NestJS and GraphQL. And I tried to install the package inside the package.json using "npm i" command. And I am getting the error below. What should I do for the project to start running after installing all…
0
votes
1 answer

extending multiple classes to have columns from other entities is not working in nest JS

I'm working on a nest Project , where I have to extend my entity class to have common columns from other class. BASEMODEL import { Index, PrimaryGeneratedColumn } from "typeorm"; export class BaseModel { @PrimaryGeneratedColumn('uuid') id:…
user20181423
0
votes
1 answer

Wait for bulk insert to complete

Using Nest, how can I make sure the bulk update is completed? I seem to run in to race conditions in my tests now, so I presume that's the problem: var bulkRequest = new BulkRequest(ServiceIndexName) { Operations = new…
Johan
  • 35,120
  • 54
  • 178
  • 293
0
votes
0 answers

How to convert Expression> into elasticsearch searchrequest?

When using a restful api to deal with the search request from client, I created an Expression> expression to search from sql database, and now I am trying to use elasticsearch(NEST client), is there a way to convert this expression into…
Cagaya Coper
  • 75
  • 1
  • 12
0
votes
0 answers

Getting error 'The type initializer for 'PerTypeValues`1' threw an exception'

My elasticsearch is giving this error 'The type initializer for 'PerTypeValues`1' threw an exception' the code is CustomLogWrite.WriteLog("Viewed canidates Inside "); UpdateByQueryResponse resp =…
Code Noob
  • 51
  • 6
0
votes
0 answers

Nest JS and Mongo DB

I have this entity: import { Column, CreateDateColumn, Entity, JoinColumn, ManyToOne, ObjectID, ObjectIdColumn, } from 'typeorm'; import { Transform, Type } from 'class-transformer'; import { User } from…
HasanRadi93
  • 17
  • 1
  • 2
0
votes
0 answers

Upgrade of @opentelemetry/exporter-trace-otlp-grpc cause No Connection Established

Im trying to update a previously working Typesscript service exporting metrics and traces to an opentelemetry docker container to use the newest API and I'm getting a connection error which seems to be related to a recent API method:…
Laurence Fass
  • 1,614
  • 3
  • 21
  • 43
0
votes
1 answer

elasticsearch nest client (5.x) : UpdateByQuery does not work

I am using ES Nest Client 5.x (legacy project) and need to patch my documents. My UpdateByQuery simply does not work; query never fetches anything to run the script against. There are no errors though. foreach (var index in indices) …
yBother
  • 648
  • 6
  • 25
0
votes
0 answers

How to filter by several fields but handle aggregation counts

This question is about filtering and count aggregation in elastic search. I have an index with documents, each document have a topicId, a geoId, and modalityId. These fields are going to be my filters, and could be any combination. Suppose I have…
EdwTests
  • 85
  • 6
1 2 3
99
100