How to boost a document if full query text is present in it? - Solr -


i need give priority documents full search term occurs. example if search term "georgia tech", want document having "georgia tech" in have boost having more frequent "georgia" term in them.

that standard:

  1. index 2 fields (use copyfield), 1 whitespace (or similar) tokenized, 1 keyword.
  2. you use edismax , boost keyword field more weight other

Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -