postgresql - Text search with weights for individual keywords -
i have phrase matched against text column. phrase has multiple keywords, each associated given weight. example,
johnson [10] software [5] company [2] i using postgresql full text search, , may use thinking-sphinx or solr. there function in these 3 options allows me search different weights each keyword?
solr allows this.
your query this
q=(johnson)^10 (software)^5 (company)^2 note default operator (and or or) defined in schema.xml comes play here.
Comments
Post a Comment