Full Text Search best weight options? General question.

  • Hi,

    I am building a full text search and would like to answer a general question on the best way to handle a user's input.

    In this scenario the user is searching a website for vacant job positions in the database.  Therefore the user may search terms like "sales manager" or "sales executive" into a single text input element on a webpage.... much like http://www.monster.co.uk etc

    My question is what method would an existing job board use to search their content?

    Would it be "Sales AND Manager" / "Sales AND Executive" -- which could be too general
    Or
    "Sales OR Manager" / "Sales OR Executive" -- which could be not tight enough like the above
    Or
    "Sales NEAR Manager" / "Sales NEAR Executive"
    Or
    "Sales+Manager" / "Sales+Executive"  -- which would be very restrictive.

    Or do they do cleverer stuff with customised weights like the first answer in the following link?
    http://stackoverflow.com/questions/13700320/sql-server-isabout-weighted-terms 

    I am a bit confused on how I should tackle this task.

    How would you go about this problem?

    Thanks

  • While you could do this, I'd really go forward with something like ElasticSearch or Lucerne, which are better than SQL FTS.

    https://github.com/elastic/elasticsearch

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply