skip to main |
skip to sidebar
Answering the Queries Your Users Really Want to Ask
Answering the Queries Your Users Really Want to Ask When querying a database, what do users want? - They’re not sure
- They don’t want to be precise
- They do want to use their own terminology
- The want the answers fast
What do we give them? - Really limited choices
- Really strict terminology
- …
What we will cover Can’t we just use LIKE? - WHERE Description LIKE ‘%hockey%’
Strings vs Words - Search for: Pen
- Get Back: Pencil = fail
- Or Open, pendulum, penis
CONTAINS - AND
- OR
- (‘”exact match”’)
- FORMSOF(INFLECTIONAL, word)
- FORMSOF(THESAURUS, word)
FREETEXT - search for a sentence
- with ranking
CONTAINSTABLE For true location of where to place your personalised thesaurus: Upgrade Options - New Index Structure (the structure has been brought internal to the database engine)
- Upgrade options:
- Import(default)
- Rebuild
- Reset
- Possible Upgrade methods
- In place
- Restore/attach
Potential Extensions - New data types
- XML data types
- CLR UDT
- Extend the IFTS feature set
- snippets with hit-highlights
- field weighted relevance
- customizable tokenizing
- customizable proximity operator
- property level search
- Be heard now!
Summary - IFTS can add significant value
- Implementation -> straightforward
- Management -> straightforward
- Users love this
- SQL Server 2008 has changed the game!
No comments:
Post a Comment