|
|
What steps will reproduce the problem?
1. Add an event with uniquestring314 in the description but NOT the title
2. Search for uniquestring314
3. Profit
What is the expected output? What do you see instead?
It should find the event; it does not.
Please provide any additional information below.
Problem was missing OR in query.
Fixed at code sprint by changing:
.map{|term| %{title:"#{term}"~#{"%1.1f" %
SOLR_SIMILARITY}^#{SOLR_TITLE_BOOST} "#{term}"~#{"%1.1f" % SOLR_SIMILARITY}}}
to
.map{|term| %{title:"#{term}"~#{"%1.1f" %
SOLR_SIMILARITY}^#{SOLR_TITLE_BOOST} OR "#{term}"~#{"%1.1f" %
SOLR_SIMILARITY}}}
in self.search in event.rb
|