Closed monfresh closed 9 years ago
I think description
is not being included either. My guess is that those fields require string_agg
like the categories and keywords, which do work.
I can't reproduce this. I think it might have been because of the way the DB was populated on the demo website. After I saved the example service (thereby triggering the full text search index to update), I was able to get results that match both the service name and description. I also wrote tests for this in the code and they passed.
One of the service names in the example data is "Passport Photos", but when I search for
keyword=passport
, or evenkeyword=Passport Photos
, no results show up. Looking at thetsv_body
column for the example location, I don't see the wordspassport
orphotos
. The SQL for the other service attributes, such asdescription
, seems to be the same as the one forname
, so I'm not sure what's going on.