JudahGabriel / RavenDB.StructuredLog

An ASP.NET Core logger that utilizes RavenDB to store structured logs.
https://www.nuget.org/packages/RavenDB.StructuredLogger
MIT License
12 stars 6 forks source link

Error Ravendb 4.2 #3

Closed MohMehrnia closed 4 years ago

MohMehrnia commented 4 years ago

When I used ravendb 4.2.5 show error message when to write log: possibly disconnected. InvalidQueryExceptions: Suggestion query must be executed against static index

JudahGabriel commented 4 years ago

Strange. I'll have a look at this soon.

JudahGabriel commented 4 years ago

@MohMehrnia did you find the cause? I'd be glad to fix this if it still really is an issue.

MohMehrnia commented 4 years ago

No can not fix it, When your delay to resolve I guess you very busy, thanks if you can resolving

JudahGabriel commented 4 years ago

Yeah, it's been busy here at work. :-) I will update this today.

JudahGabriel commented 4 years ago

@MohMehrnia I looked into this -- and the suggestions index gets created automatically, testing against live-sample.ravendb.net. I tried it using the Sample project in the repo.

How can I repro this problem?

JudahGabriel commented 4 years ago

I've uploaded a new version of this library, RavenDB.StructuredLogger v5.1, that gracefully handles fuzzy search failures like the one you describe.

Give it a spin and let me know if it's working for you.