public
Description: Ambition adapter for Sphinx
Clone URL: git://github.com/technicalpickles/ambitious-sphinx.git
Updated README
Josh Nichols (author)
Tue Feb 12 17:45:48 -0800 2008
commit  be4cc422fcc59b13717d0dec8377e4918d380349
tree    a70a38589e52f7cd80d1ddb6231ea324a0cbe9ca
parent  c629eb5cfdb2fe8d79017da6f277d201f3c8c41a
0
...
1
2
3
4
 
5
6
 
7
8
 
9
10
 
11
12
 
13
14
 
15
16
 
17
 
18
19
 
 
20
 
21
 
22
23
24
...
1
2
3
 
4
5
 
6
7
 
8
9
 
10
11
 
12
13
 
14
15
 
16
17
18
19
 
20
21
22
23
24
25
26
27
28
0
@@ -1,24 +1,28 @@
0
 An Ambitious Sphinx Adapter
0
 ===========================
0
 
0
-Ever want to do some sexy full text searching?
0
+I don't know about you, but I like me some sexy full-text searching.
0
 
0
-How about finding all tweets that have "Obama" in the any of its attributes?
0
+Want to find all meals that mention bacon?
0
 
0
-Tweet.select { "Obama" }
0
+ Meal.select {'bacon'}
0
 
0
-What about tweets with "McCain" and "Clinton"?
0
+What about bacon bits and sour cream?
0
 
0
-Tweet.select { "McCain" && "Clinton" }
0
+ Meal.select {'bacon bits' && 'sour cream'}
0
 
0
-"Edwards" or "Huckabee" ?
0
+Maybe with bacon in the name, or cheese in the recipe?
0
 
0
-Tweet.select { "Edwards" || "Huckabee" }
0
+ Meal.select {|m| m.name =~ 'bacon' || m.recipe =~ 'cheese'}
0
 
0
+Cheese in the name, but not grilled?
0
 
0
-### Big honking disclaimer
0
+ Meal.select {|m| m.name =~ 'bacon' && m.name !~ 'grilled'}
0
+
0
 
0
+### Big honking disclaimer
0
 
0
+We're still learning a lot about how sphinx and ambition work, so things are likely to change a lot.
0
 
0
 ### Getting Started
0
 

Comments

    No one has commented yet.