My favorites | Sign in
Logo
          
New issue | Search
for
| Advanced search | Search tips
Issue 243: Search is (was) only using the title
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jul 2008
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by Mar...@reality.com, Jul 19, 2008
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
Comment 1 by jdcohenesq, Jul 19, 2008
(No comment was entered for this change.)
Status: Fixed
Sign in to add a comment

Hosted by Google Code