Alter Database Community_Assist Add FileGroup FullTextGroup Use Community_Assist Create FullText Catalog ClientNeedDescriptions on Filegroup FullTextGroup --Drop FullText Catalog ClientNeedDescriptions Create FullText index on GrantRequest(GrantRequestExplanation) Key Index [PK__GrantReq__75A91ED011DB90BA] on ClientNeedDescriptions With Change_tracking auto go Select * from GrantRequest Update GrantRequest Set GrantRequestExplanation= 'I just got a new job and needed a bus pass' where GrantRequestKey = 9 Select GrantRequestExplanation from GrantRequest where Freetext(GrantRequestExplanation, 'child') Select GrantRequestExplanation from GrantRequest where Contains(GrantRequestExplanation, 'formsof(Inflectional, needing)') Select GrantRequestExplanation from GrantRequest where Contains(GrantRequestExplanation, 'formsof(Inflectional, break)') Select GrantRequestExplanation from GrantRequest where Contains(GrantRequestExplanation, 'child*') Select GrantRequestExplanation from GrantRequest where Contains(GrantRequestExplanation, 'near((food, groceries),10)') Select GrantRequestExplanation from GrantRequest where Contains(GrantRequestExplanation, 'afford AND month') Select GrantRequestExplanation from GrantRequest where Contains(GrantRequestExplanation, 'Rent OR school') Select GrantRequestExplanation from GrantRequest where Contains(GrantRequestExplanation, 'Food AND NOT stamps')
Thursday, August 4, 2016
Full text Catalog
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment