GithubHelp home page GithubHelp logo

eskat0n / sphinx.client Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 12.0 1001 KB

Open source .NET library which provides advanced client API to use Sphinx search server services, using Sphinx native binary protocol.

Home Page: http://codeparts.net/products/sphinx

License: Other

C# 100.00%

sphinx.client's People

Contributors

eaionov avatar eskat0n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sphinx.client's Issues

how to use groupby ?

i set the groupby and GroupFunc (ResultsGroupFunction.Attribute),

var command = new SearchCommand(_connection, searchQuery);
command.Execute();

then the server is no response.
what is wrong?

AttributeValueList.Deserialize - An item with the same key has already been added

Hello,

first of all I would like to thank you guys for Sphinx.Client. I have been using it for a couple of months without any issue, and the learning curve required is quite small.

After I upgraded sphinx to version 2.1.2-release I started getting some exceptions on queries that used to run fine. I see in your google project page (https://code.google.com/p/sphinx-dotnet-client/) that you support up to version 2.0.4 but I am not sure how updated that site is.

I see in your comits that you have made some changes regarding the deserialization of attributes but I do not know if it applies to my case.

Thanks in advance and keep up the good work.

Stack trace:
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at System.Collections.ObjectModel.KeyedCollection2.InsertItem(Int32 index, TItem item)
at Sphinx.Client.Commands.Collections.AttributeValueList.Deserialize(IBinaryReader reader, MatchParseContext context)
at Sphinx.Client.Commands.Search.Match.Deserialize(IBinaryReader reader, MatchParseContext context)
at Sphinx.Client.Commands.Search.MatchList.Deserialize(IBinaryReader reader)
at Sphinx.Client.Commands.Search.SearchQueryResult.Deserialize(IBinaryReader reader)
at Sphinx.Client.Commands.Search.SearchCommandResult.Deserialize(IBinaryReader reader, Int32 count)
at Sphinx.Client.Commands.Search.SearchCommand.DeserializeResponse(IBinaryReader reader)
at Sphinx.Client.Commands.CommandWithResultBase1.Deserialize(IStreamAdapter stream) at Sphinx.Client.Connections.TcpConnection.PerformCommand(CommandBase command) at Sphinx.Client.Commands.CommandBase.Execute() at Sphinx.Client.Commands.CommandWithResultBase1.Execute()

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.