Advertisement
vojtarek

Basic FTS

Aug 24th, 2011
429
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.10 KB | None | 0 0
  1. SELECT COUNT(*) FROM documents
  2. WHERE
  3. LANGUAGE='en'
  4. AND fts @@ to_tsquery('english', 'ehec | norovirus');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement