nhibernate / nhibernate-search Goto Github PK
View Code? Open in Web Editor NEWNHibernate-Search
NHibernate-Search
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/GenerateAsyncCode.yml
actions/checkout v4
actions/setup-dotnet v4
.github/workflows/test.yml
actions/checkout v4
actions/setup-dotnet v4
irongut/CodeCoverageSummary v1.3.0
marocchino/sticky-pull-request-comment v2
.config/dotnet-tools.json
csharpasyncgenerator.tool 0.22.0
src/Directory.Build.props
GitVersion.MsBuild 5.12.0
Microsoft.SourceLink.Github 1.1.1
Microsoft.NETFramework.ReferenceAssemblies 1.0.3
src/NHibernate.Search.Tests/NHibernate.Search.Tests.csproj
System.Data.SQLite.Core 1.0.118
coverlet.collector 6.0.2
NUnit3TestAdapter 4.5.0
NUnit 3.14.0
Microsoft.NET.Test.Sdk 17.10.0
log4net 2.0.17
src/NHibernate.Search/NHibernate.Search.Lucene.csproj
NHibernate 5.3.13
Lucene.Net.QueryParser 4.8.0-beta00016
I want to load an NHibernate entity from a DB, push it to an OpenSearch node for indexing, and then query OpenSearch using C# expressions.
Is that possible, and are there any examples for that (mainly the OpenSearch part)?
I was looking at the tests and I was hoping it would be something like this, but there is an apparent problem: I have not specified the OpenSearch Url anywhere (nhSession
is the session towards the DB):
IFullTextSession s = Search.CreateFullTextSession(nhSession); // nhSession is the session towards the DB.
using (ITransaction tx = s.BeginTransaction())
{
s.Save(doc);
tx.Commit();
var res = s.Query<Document>()
.Where(f => f.CreatedDate > DateTime.Parse("2023-08-01"))
.ToArray();
}
Is it possible to get an ISession
that points to an OpenSearch node or cluster, instead of a relational DB?
It would be nice to have some sample code in the README page.
Also, what I am trying to do when querying requires building complex filter conditions, unlike the examples here, so that's why I was wondering if I could use expressions, similar to what is shown for the Java version here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.