Git Product home page Git Product logo

Comments (4)

f-prime avatar f-prime commented on September 26, 2024

As I just asked on #50 should stop words be specified at the time of indexing or from within the config file?

In a future update results that are returned will be ranked based on some ranking algorithm (TD-IDF most likely) and sorted by most relevant results.

a limit argument is interesting as well for search. I will consider that.

from fist.

wanghenshui avatar wanghenshui commented on September 26, 2024

As I just asked on #50 should stop words be specified at the time of indexing or from within the config file?

Yeah, indexing with a StopTokenFile will be easy to extend.

In a future update results that are returned will be ranked based on some ranking algorithm (TD-IDF most likely) and sorted by most relevant results.

My point to rank option is more like Redis's ZSET, score, with user's defined function handler to customize. TD-IDF is also a good first step.

also, SEARCH with limit count to avoid the Redis's KEYS problem.

from fist.

f-prime avatar f-prime commented on September 26, 2024

Interesting idea with the StopTokenFile. I like that. As I mentioned in #50 we could specify a stop token list from the config file.

Interesting idea allowing users to define their own ranking algorithm.. Maybe allow them to do that as an option? How would that work exactly though? Seems to me it'd be easier to just include a choice of ranking algorithm on Fist's end.

from fist.

wanghenshui avatar wanghenshui commented on September 26, 2024

Seems to me it'd be easier to just include a choice of ranking algorithm on Fist's end

Yeah, typically one dataset use one ranking algorithm, like tweets, INDEX tweets doc with some option like thumbs up number or forwarding number,or some thing mix up. then, SEARCH it will output with number order.

The option could be init at beginning, same as StopTokenFile. because in most case one dataset only need one ranking algorithm(maybe?). multiple dimension score number is seems difficult to management

well, if two more dataset mix up in server, SEARCH is going to read skewed (some doc has option and some not), so SEARCH should be specify the score/number option to filter the suitable doc.

from fist.

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.