Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Full-text Indexing for a view with multiple databases

Can MS SQL support full-text indexing for a view that connects (joins or unions) multiple databases?

like image 278
BenMaddox Avatar asked Aug 08 '26 04:08

BenMaddox


1 Answers

Yes, absolutely. Each index will be queried individually and the results will be combined by the engine.

For example, if you've got:

  • DatabaseA, TableA, FieldA with a full text index
  • DatabaseB, TableB, FieldB with a full text index

And you have a view that includes both fields from both tables in both databases, it'll work fine when you query that view. From SQL Server's perspective, it doesn't matter whether they're in the same database or not.

If that doesn't match your scenario, try posting more detail about your challenges. Thanks!

like image 79
Brent Ozar Avatar answered Aug 10 '26 21:08

Brent Ozar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!