full text search on views?

  •  

    Can we buld full text search on views? If yes, can I build a search catalog on a view that allowed both varchar and text columns?

  • No, you cannot fulltext index a view.

    You could try to join the view with the FT table(s). Or use an EXISTS subquery, like this:

    SELECT *

      FROM vMyView

     WHERE EXISTS (SELECT *

                     FROM ftTable 

                    WHERE ftTable.keyfield = vMyView.keyfield 

                      AND Contains(*, ' "keywords" ')

                  )

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply