Search Presentation

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Search Presentation - Presentation Transcript

    1. Barcelona DrupalCon An Update on Drupal Searching
    2. (INSERT PICTURE OF BARCELONA) (maybe Gaudi House on Catalunya) By Doug Green [email_address] [email_address] An Update on Drupal Searching
      • Search in General
      • Indexing
      • Searching – in this talk
      • User Interface – in this talk
      An Update on Drupal Searching
      • Overview of this Talk
      An Update on Drupal Searching
      • Start with the easy & fun stuff
        • Views based UI improvements
      • How does Core Search work
      • How does Core Search SQL work
      • Three patches to improve Core Search SQL
      • VFS proof of concept
      • Other Search Options – not in this talk
        • SoC Fuzzy Search
        • Semantec Search, Faceted Search
      • Views based searching
      An Update on Drupal Searching
      • Presented at OS/CMS
      • modules - VFB, VFS, daterange
      • demos
        • filter block
        • override search box
        • views search plugin
      • d.o #130714
      • Core Search Overview
      • Need to understand to talk about
        • performance and link referencing
      • indexing
      • UI
      • node searches / user searches
      • extending with Search Implementors
      • credit
      An Update on Drupal Searching
      • Search Node Ranking
      • Keyword Relevance / Node Linking
      • Recently Posted (newness)
      • Number of Comments
      An Update on Drupal Searching
      • d.o #146466
      • Introduction to Queries
      • AND
      • OR
      • Exclude
      • Phrase
      • Advanced Tab
      An Update on Drupal Searching
        • dogs cats
        • dogs OR cat
        • dogs or cats
        • dogs -cats
        • “ sheep dog”
        • type:forum
      • AND SQL
      • SELECT sid from {search_index}
        • WHERE (word = 'cat' OR word = 'dog')
        • GROUP BY sid HAVING COUNT(*) >= 2
      An Update on Drupal Searching
      • SELECT sid from {search_dataset}
        • WHERE (data LIKE '% cat %'
        • AND data LIKE '% dog %')
      • Why >= and why the second query?
      • OR SQL
      • SELECT sid from {search_index}
        • WHERE (word = 'cat' OR word = 'dog')
        • GROUP BY sid HAVING COUNT(*) >= 1
      An Update on Drupal Searching
      • SELECT sid from {search_dataset}
        • WHERE (data LIKE '% cat %'
        • OR data LIKE '% dog %')
      • Why the second query?
      • Exclude SQL
      • same as previous (AND or OR depending)
      An Update on Drupal Searching
      • SELECT sid from {search_dataset}
        • WHERE (data LIKE '% cat %'
        • AND data NOT LIKE '% dog %')
      • Why the second query?
        • Mysql 3 doesn't support Subqueries
      • d.o #143888
      • AND: SELECT sid from {search_index}
        • WHERE (word = 'cat' OR word = 'dog')
        • GROUP BY sid HAVING COUNT(*) = 2
      • OR: SELECT sid from {search_index}
        • WHERE (word = 'cat' OR word = 'dog')
        • GROUP BY sid
      • One Solution – Unique Index
      An Update on Drupal Searching
      • d.o #143160
      • Exclude:
        • SELECT ... WHERE NOT IN (...)
      • Yes, this is kinda slow
      • But, I bet 99% of users never use it
      • And, all remaining queries aren't
        • penalized for something hardly used
      • Second Solution – Subqueries
      An Update on Drupal Searching
      • d.o #151910 and #143888 (views)
      • Necessary to {search_index} AND queries
      • Drastically smaller {search_index} table
      • Added benefit {search_node_links}
      • Third Solution – Node Link Tracker
      An Update on Drupal Searching
      • d.o #146466
      • views_fastsearch
      • Includes All of above
      • Plus Views Argument handler for links
      • My Playground - VFS
      An Update on Drupal Searching
      • d.o/project/views_fastsearch
      • http://www.civicactions.com/blog/search
      • d.o #146466
      • d.o #143888
      • d.o #151910
      • d.o #143160
      • d.o #146466
      • g.d.o #4102 (Search group)
      • More References
      An Update on Drupal Searching
    3. [email_address] views_fastsearch An Update on Drupal Searching

    + Doug GreenDoug Green, 3 years ago

    custom

    1666 views, 1 favs, 0 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1666
      • 1666 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 1
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Tags