GithubHelp home page GithubHelp logo

Comments (8)

barryhunter avatar barryhunter commented on July 25, 2024

Have you actually looked at the source code? Seems like this change is going to require a LOT of changes in the code, and quite deep understanding.

Whats the end goal here? Seems a lot of work, for little benefit. Can't see a key/value store, being an ideal mechanism for storing an Inverted keyword Index.

from manticoresearch.

tomatolog avatar tomatolog commented on July 25, 2024

In case you need just data-storage you might contact us at our site contact tab.
In case you just want to write new storage you might look how strings attributes got managed and write something similar.

from manticoresearch.

unisqu avatar unisqu commented on July 25, 2024

In case you need just data-storage you might contact us at our site contact tab.
I would like to explore making sphinx search 's data storage tied with other database / nosql backend system for distributed storage purposes.

In case you just want to write new storage you might look how strings attributes got managed and write something similar.
Please also point me to the right direction to this issue.

@barryhunter I would like to split the storage across multiple resilient storage backend. Not leveldb but other nosql / sql solutions.

from manticoresearch.

barryhunter avatar barryhunter commented on July 25, 2024

Could you just put the index files on a distributed file system? Avoid having to redo the storage layer.

The main complication is the .spl lock files. each searchd process wants to create its own spl file, so if all searchd servers point to the same folder it doesnt work. I've used a complicated structure using symlinks, but it's messy (particully around index rotation)

from manticoresearch.

unisqu avatar unisqu commented on July 25, 2024

@barryhunter distributed filesystem adds another layer of complexity to the scaling process.
I would like to scale it through manipulation of the storage layer. Please just point me to a direction for this and i'll try to port one nosql ontop of it. Please please give me an idea how and which files to look at for the porting of what i need.

i will also be a contributor to this project (in other areas if needed)

from manticoresearch.

barryhunter avatar barryhunter commented on July 25, 2024

This seems a good place to start:
https://github.com/manticoresoftware/manticore/search?l=C%2B%2B&q=fopen&type=&utf8=%E2%9C%93
or maybe
https://github.com/manticoresoftware/manticore/search?l=C%2B%2B&q=open&type=&utf8=%E2%9C%93

Leads to
https://github.com/manticoresoftware/manticore/search?utf8=%E2%9C%93&q=OpenFile&type=

src/sphinxint.h also looks to have a number of the function definitions of interest

Not trying to be awkward, but seems you need to do this 'digging' as you need to understand the code to be able to modify it.

from manticoresearch.

tomatolog avatar tomatolog commented on July 25, 2024

as I said you might look for implementation of SPH_ATTR_STRING or SPH_ATTR_UINT32SET and try to implement similar attribute type.

You might start your investigation from sphinx.cpp file.

from manticoresearch.

unisqu avatar unisqu commented on July 25, 2024

ok thanks. hope that's good enough. I will work on reading them.

from manticoresearch.

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.