My content describes sizes of things, such as LCD TV screens and computer monitors.

However Fast Search indexes the 19" as just '19', so when a user searches for '19"' the result is nothing. Is it possible to support this sort of search?

he query being generated for Views is fine, it escapes the " quote in the keyword. SELECT node.nid, node.created AS node_created_created FROM node node LEFT JOIN search_index search_index ON node.nid = search_index.sid WHERE (node.status = '1') AND (node.type IN ('aggregator-item')) AND ((search_index.word = '19\"')) ORDER BY node_created_created DESC LIMIT 0, 30

Comments

douggreen’s picture

Does the standard Drupal search find items like this? views_fastsearch is built ontop of the Drupal search engine, so if it's not indexed by Drupal, then views_fastsearch won't find it.

A reasonable solution might be to filter the query criteria and strip out non-indexed characters. Without doing some research, I'm not sure what these are. Do you? Is it any punctuation character?

douggreen’s picture

Assigned: Unassigned » douggreen
Status: Active » Fixed

Fixed in both 4.7 and 5 - the Drupal search engine doesn't index quote characters.

douggreen’s picture

Status: Fixed » Closed (fixed)