Giter Club home page Giter Club logo

Comments (9)

ppekrol avatar ppekrol commented on June 15, 2024

Hi there,

I do not think that .Search(args, out var stats) method is from our API. You would have to check from where it is and what is the implementation there.

Usually in our API to achieve this, you have to do:

        var query = session
            .Advanced.AsyncDocumentQuery<JobIndex.Result, JobIndex>()
            .Statistics(out var stats);
            .Search(...);

from ravendb.

tjsharp1 avatar tjsharp1 commented on June 15, 2024

yeah, I've tried this both ways. They give the same results, even though the same query works in nodejs.

from ravendb.

ppekrol avatar ppekrol commented on June 15, 2024

Can you create a failing test maybe? https://ravendb.net/docs/article-page/6.0/csharp/start/test-driver
I've tried reproducing this without any luck.

What Client API & Server version are you using?

from ravendb.

ppekrol avatar ppekrol commented on June 15, 2024

Hmm,

We have made a fix that will be in 6.0.1 that might be related to your scenario: #17486

Can you try installing latest 6.0.1 nightly Client API from here https://myget.org/feed/ravendb/package/nuget/RavenDB.Client ?

from ravendb.

georgiosd avatar georgiosd commented on June 15, 2024

Hey @ppekrol - we're still on 5.4.103 - did this bug affect the 5.x tree also?

from ravendb.

georgiosd avatar georgiosd commented on June 15, 2024

After investigating the issue further, it seems that LongTotalResults = 0 when in fact TotalResults = 4 (in my particular query).

I would have expected the two to be equal?

from ravendb.

grisha-kotler avatar grisha-kotler commented on June 15, 2024

@georgiosd Can you share the database and the query?

from ravendb.

georgiosd avatar georgiosd commented on June 15, 2024

@grisha-kotler sent a db and query from traffic watch to [email protected] - seems to be an interaction with facets (query + facets, lazy). It works ok if I remove the facets.

from ravendb.

grisha-kotler avatar grisha-kotler commented on June 15, 2024

@georgiosd the issue is fixed here

from ravendb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.