Closed (fixed)
Project:
Views Fast Search
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 Jan 2007 at 00:16 UTC
Updated:
12 Feb 2007 at 17:59 UTC
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
Comment #1
douggreen commentedDoes 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?
Comment #2
douggreen commentedFixed in both 4.7 and 5 - the Drupal search engine doesn't index quote characters.
Comment #3
douggreen commented