Closed (fixed)
Project:
Views (for Drupal 7)
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
8 Nov 2006 at 12:39 UTC
Updated:
23 Dec 2006 at 01:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
yched commentedSeems interesting.
Just a few remarks :
- From the code and from the example url you provide :
It seems this is not actually a "word search" : if I type "temp", I match "contemporary art"
- your clear the characters ",?!" from the search "words". Why not other punctuation symbols (;:-) ?
Comment #2
merlinofchaos commentedI'm holding off on committing this functionality until yched's comments are addressed, but I am ok with it.
Comment #3
gordon commented1. Yes it isn't really a word search, but it splits the query up into words before appling them to a contained in. I did think adding spaces to each side, but then this will exclude works with something right after them like a ,. The use of the term word search is in want of a better name.
2. I had no reason for excluding them. I have added them.
I have changed the patch so that you can do things like add " around text, to make it a bit more searchy.
Comment #4
yched commentedYes, a real "word search" is tricky with MySQL...
Comment #5
merlinofchaos commentedCommited to 5 and 4.7 branches; will go out in 5-1.1-beta and 4.7-1.1
Comment #6
merlinofchaos commentedComment #7
(not verified) commented