SlideShare una empresa de Scribd logo
1 de 26
Searching Business Data with MOSS 2007 Enterprise Search Presenter: Corey Roth Enterprise Consultant Stonebridge Blog: www.dotnetmafia.com
Corey Roth Consultant for Stonebridge Worked in Consumer Electronics, Travel, Advertising, and Energy industries Currently doing MOSS development specializing in Enterprise Search OSU Graduate Microsoft Award for Customer Excellence (ACE) Winner E-mail: corey.roth@gmail.com Blog: www.dotnetmafia.com (mirrored on sharepointblogs.com)
Why Enterprise Search? Allows indexing and searching of business data from multiple systems with little or no code. Through Business Data Catalog (BDC) can index non-SharePoint applications BDC can index data in SQL Server, Web Services, and other database providers Can also be used to index Active Directory (People Search) Designed to search text – Other data types can work but there are limitations
Business Data Catalog Abstraction Layer between MOSS and Business Applications Provides support for displaying and searching data from databases and web services Designed for Readonly access Inserts/Updates/Deletes are possible but there are limitations Not a replacement for a DAL
Security Security is required for the following accounts Domain Accounts are recommended Content Access – Defined in Search Settings; Needs read access to database table; Needs BDC Execute permission Shared Service Provider Account – Used for profile pages; Needs BDC Execute/Select in Clients permission Administrators – Specify an account with full control or you will run into issues End Users – Need BDC Execute/Select in Clients permission
Steps Create MetaData Model for Business Application Import MetaData Create Content Source Crawl Business Data Create Managed Properties and map them to Crawled Properties Crawl Business Data (Again) Create Search Scope
Step 1 - BDC Metadata Model XML file which maps entities from databases or web services to the BDC Defines default actions when a search result is clicked Requires a unique id in the data source* Three types of methods Finder -Returns all records from a table or view SpecificFinder - Returns details for a specific record IDEnumerator- Used by Enterprise Search to determine rows to index
BDC Metadata Model Version Number – Increment every time you import during development LobSystemInstance element AuthenticationMode – RevertToSelf AccessControlList element – Specifies Security (can also do through SSP) Action element – Sets a default action (sets a URL to go for that item)
BDC Tools Tools can be useful for generating XML MetaData schema Office SharePoint Server SDK BDC Meta Man MOSS BDC Design Studio Many Others Available Now
Start Small Crawls over entire tables can take a long time Avoid crawling full tables when testing Modify Schema file to crawl partial tables i.e.: SELECT TOP 50…
Demo
Step 3 - Content Sources Content Sources can map to one or more BDC Application Definition Used to start and stop content crawls Typically map one application definition to one content source
Step 4 - Crawling Uses IDEnumerator method to get list of rows to import. Calls SpecificFinder method for each Id returned by IDEnumerator Stores columns from table or web service as crawled properties
Demo
Step 5 - Managed Properties Out of the box, a search will do a full-text search on all text properties Can be used to create advanced search pages After first crawl, columns are available as crawled properties Map crawled properties to managed properties for more specific searches Non-text types are not indexed by default
Demo
Step 7 - Scopes Scopes are used to specify different types of content to search (i.e.: Products, People, Sales, etc.) Scopes can be defined by Content Source or Managed Property Typically map to a Content Source to make it easier to test application definitions Can be displayed in drop down lists in conjunction with the SearchBox web part
Search Center Out of the box site and web parts for searching and displaying results Can be created using the Site Settings menu on the root web site by enabled certain features Supports keyword search only (no wildcard) For wildcard search consider a Search Center Replacement such as Ontolica or write your own search page
Keyword Syntax Used to search by Managed Properties Can specify Scopes (Scope:”MyScope”) Can be passed via URL to CoreResultsWebPart (k Query String parameter) AND implied between each keyword (i.e.: Color:”Red” Size:”M” is the same Color=“Red” AND Size=“M”) OR implied when multiple keywords of the same managed property used (i.e.: Color:”Red” Color:”Blue” translates to Color=“Red” OR Color=“Blue”)
Search CenterFeatures Required Site Collection Features Office SharePoint Server Enterprise Site Collection features – BDC Web Parts Office SharePoint Server Search Web Parts – Enterprise Search Web Parts Office SharePoint Server Publishing Infrastructure – Not necessarily required unless you want to activate the feature below Site Features Office SharePoint Server Publishing – Adds Create Site menu item and publishing features (not required but convenient)
Search CenterWeb Parts SearchBox CoreResultsWebPart BestBets Paging AdvancedSearch
Search CenterCustomization CoreResultsWebPart displays search results Columns property – XML specifying Managed Properties XSL – Transform the HTML output of the search results Column names are specified in lower case in XSL (i.e.: Color will be color)
Deployment and Migration MOSS has no built in way to move Enterprise Search settings! SharePoint Shared Services Provider Creation (SSSPPC) can help (see blog  for more info)
References Dot Net Mafia Blog http://www.dotnetmafia.com Office SharePoint Server SDK http://msdn2.microsoft.com/en-us/library/ms550992.aspx Faceted Search Web Parts http://www.codeplex.com/FacetedSearch SharePoint Shared Services Provider Creation http://www.codeplex.com/SSSPPC BDC Meta Man http://www.bdcmetaman.com Ontolica http://www.ontolica.com
Questions?
Thanks Corey Roth coreyroth@gmail.com www.dotnetmafia.com

Más contenido relacionado

Más de Corey Roth

Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...
Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...
Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...Corey Roth
 
What you need to know about Search in SharePoint 2013 Preview - DFW SharePoin...
What you need to know about Search in SharePoint 2013 Preview - DFW SharePoin...What you need to know about Search in SharePoint 2013 Preview - DFW SharePoin...
What you need to know about Search in SharePoint 2013 Preview - DFW SharePoin...Corey Roth
 
Office 365 - Introduction to SharePoint Online Development - Lync and Learn
Office 365 - Introduction to SharePoint Online Development - Lync and LearnOffice 365 - Introduction to SharePoint Online Development - Lync and Learn
Office 365 - Introduction to SharePoint Online Development - Lync and LearnCorey Roth
 
New SharePoint development features using Visual Studio 2012 - SharePoint Sat...
New SharePoint development features using Visual Studio 2012 - SharePoint Sat...New SharePoint development features using Visual Studio 2012 - SharePoint Sat...
New SharePoint development features using Visual Studio 2012 - SharePoint Sat...Corey Roth
 
Pitching Office 365 to your Energy Customers - Microsoft Worldwide Partner Co...
Pitching Office 365 to your Energy Customers - Microsoft Worldwide Partner Co...Pitching Office 365 to your Energy Customers - Microsoft Worldwide Partner Co...
Pitching Office 365 to your Energy Customers - Microsoft Worldwide Partner Co...Corey Roth
 
Making the Most of Search in SharePoint Online - TechEd North America
Making the Most of Search in SharePoint Online - TechEd North AmericaMaking the Most of Search in SharePoint Online - TechEd North America
Making the Most of Search in SharePoint Online - TechEd North AmericaCorey Roth
 
New SharePoint development features using Visual Studio 11 - San Antonio Shar...
New SharePoint development features using Visual Studio 11 - San Antonio Shar...New SharePoint development features using Visual Studio 11 - San Antonio Shar...
New SharePoint development features using Visual Studio 11 - San Antonio Shar...Corey Roth
 
Office 365 - Introduction to SharePoint Online Development - SharePoint Satur...
Office 365 - Introduction to SharePoint Online Development - SharePoint Satur...Office 365 - Introduction to SharePoint Online Development - SharePoint Satur...
Office 365 - Introduction to SharePoint Online Development - SharePoint Satur...Corey Roth
 
Extending SharePoint 2010 to your customers and partners
Extending SharePoint 2010 to your customers and partnersExtending SharePoint 2010 to your customers and partners
Extending SharePoint 2010 to your customers and partnersCorey Roth
 
Advanced BCS - Business Data Connectivity Models and Custom Connectors - SPTe...
Advanced BCS - Business Data Connectivity Models and Custom Connectors - SPTe...Advanced BCS - Business Data Connectivity Models and Custom Connectors - SPTe...
Advanced BCS - Business Data Connectivity Models and Custom Connectors - SPTe...Corey Roth
 
Instant ECM with SharePoint 2010 - SPTechCon Boston 2011
Instant ECM with SharePoint 2010 - SPTechCon Boston 2011Instant ECM with SharePoint 2010 - SPTechCon Boston 2011
Instant ECM with SharePoint 2010 - SPTechCon Boston 2011Corey Roth
 
SharePoint 2010 Development for ASP.NET Developers - SharePoint Saturday Hous...
SharePoint 2010 Development for ASP.NET Developers - SharePoint Saturday Hous...SharePoint 2010 Development for ASP.NET Developers - SharePoint Saturday Hous...
SharePoint 2010 Development for ASP.NET Developers - SharePoint Saturday Hous...Corey Roth
 
Getting the most ouf of SharePoint Search - Tulsa SharePoint Interest Group
Getting the most ouf of SharePoint Search - Tulsa SharePoint Interest GroupGetting the most ouf of SharePoint Search - Tulsa SharePoint Interest Group
Getting the most ouf of SharePoint Search - Tulsa SharePoint Interest GroupCorey Roth
 
Instant ECM with SharePoint 2010
Instant ECM with SharePoint 2010Instant ECM with SharePoint 2010
Instant ECM with SharePoint 2010Corey Roth
 
SharePoint 2010 Development for ASP.NET Developers - Tyson Devcon 2010
SharePoint 2010 Development for ASP.NET Developers - Tyson Devcon 2010SharePoint 2010 Development for ASP.NET Developers - Tyson Devcon 2010
SharePoint 2010 Development for ASP.NET Developers - Tyson Devcon 2010Corey Roth
 
Advanced BCS - Business Data Connectivity Models and Custom Connectors
Advanced BCS - Business Data Connectivity Models and Custom ConnectorsAdvanced BCS - Business Data Connectivity Models and Custom Connectors
Advanced BCS - Business Data Connectivity Models and Custom ConnectorsCorey Roth
 
Introduction to SharePoint 2010 Enterprise Search - NWA TechFest 2010
Introduction to SharePoint 2010 Enterprise Search - NWA TechFest 2010Introduction to SharePoint 2010 Enterprise Search - NWA TechFest 2010
Introduction to SharePoint 2010 Enterprise Search - NWA TechFest 2010Corey Roth
 
Power shell basics in sharepoint 2010 - SharePoint Saturday Houston 2010
Power shell basics in sharepoint 2010 - SharePoint Saturday Houston 2010Power shell basics in sharepoint 2010 - SharePoint Saturday Houston 2010
Power shell basics in sharepoint 2010 - SharePoint Saturday Houston 2010Corey Roth
 
Introduction To Enterprise Search - OKCSUG 2010
Introduction To Enterprise Search - OKCSUG 2010Introduction To Enterprise Search - OKCSUG 2010
Introduction To Enterprise Search - OKCSUG 2010Corey Roth
 
Writing Code To Interact With Enterprise Search
Writing Code To Interact With Enterprise SearchWriting Code To Interact With Enterprise Search
Writing Code To Interact With Enterprise SearchCorey Roth
 

Más de Corey Roth (20)

Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...
Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...
Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...
 
What you need to know about Search in SharePoint 2013 Preview - DFW SharePoin...
What you need to know about Search in SharePoint 2013 Preview - DFW SharePoin...What you need to know about Search in SharePoint 2013 Preview - DFW SharePoin...
What you need to know about Search in SharePoint 2013 Preview - DFW SharePoin...
 
Office 365 - Introduction to SharePoint Online Development - Lync and Learn
Office 365 - Introduction to SharePoint Online Development - Lync and LearnOffice 365 - Introduction to SharePoint Online Development - Lync and Learn
Office 365 - Introduction to SharePoint Online Development - Lync and Learn
 
New SharePoint development features using Visual Studio 2012 - SharePoint Sat...
New SharePoint development features using Visual Studio 2012 - SharePoint Sat...New SharePoint development features using Visual Studio 2012 - SharePoint Sat...
New SharePoint development features using Visual Studio 2012 - SharePoint Sat...
 
Pitching Office 365 to your Energy Customers - Microsoft Worldwide Partner Co...
Pitching Office 365 to your Energy Customers - Microsoft Worldwide Partner Co...Pitching Office 365 to your Energy Customers - Microsoft Worldwide Partner Co...
Pitching Office 365 to your Energy Customers - Microsoft Worldwide Partner Co...
 
Making the Most of Search in SharePoint Online - TechEd North America
Making the Most of Search in SharePoint Online - TechEd North AmericaMaking the Most of Search in SharePoint Online - TechEd North America
Making the Most of Search in SharePoint Online - TechEd North America
 
New SharePoint development features using Visual Studio 11 - San Antonio Shar...
New SharePoint development features using Visual Studio 11 - San Antonio Shar...New SharePoint development features using Visual Studio 11 - San Antonio Shar...
New SharePoint development features using Visual Studio 11 - San Antonio Shar...
 
Office 365 - Introduction to SharePoint Online Development - SharePoint Satur...
Office 365 - Introduction to SharePoint Online Development - SharePoint Satur...Office 365 - Introduction to SharePoint Online Development - SharePoint Satur...
Office 365 - Introduction to SharePoint Online Development - SharePoint Satur...
 
Extending SharePoint 2010 to your customers and partners
Extending SharePoint 2010 to your customers and partnersExtending SharePoint 2010 to your customers and partners
Extending SharePoint 2010 to your customers and partners
 
Advanced BCS - Business Data Connectivity Models and Custom Connectors - SPTe...
Advanced BCS - Business Data Connectivity Models and Custom Connectors - SPTe...Advanced BCS - Business Data Connectivity Models and Custom Connectors - SPTe...
Advanced BCS - Business Data Connectivity Models and Custom Connectors - SPTe...
 
Instant ECM with SharePoint 2010 - SPTechCon Boston 2011
Instant ECM with SharePoint 2010 - SPTechCon Boston 2011Instant ECM with SharePoint 2010 - SPTechCon Boston 2011
Instant ECM with SharePoint 2010 - SPTechCon Boston 2011
 
SharePoint 2010 Development for ASP.NET Developers - SharePoint Saturday Hous...
SharePoint 2010 Development for ASP.NET Developers - SharePoint Saturday Hous...SharePoint 2010 Development for ASP.NET Developers - SharePoint Saturday Hous...
SharePoint 2010 Development for ASP.NET Developers - SharePoint Saturday Hous...
 
Getting the most ouf of SharePoint Search - Tulsa SharePoint Interest Group
Getting the most ouf of SharePoint Search - Tulsa SharePoint Interest GroupGetting the most ouf of SharePoint Search - Tulsa SharePoint Interest Group
Getting the most ouf of SharePoint Search - Tulsa SharePoint Interest Group
 
Instant ECM with SharePoint 2010
Instant ECM with SharePoint 2010Instant ECM with SharePoint 2010
Instant ECM with SharePoint 2010
 
SharePoint 2010 Development for ASP.NET Developers - Tyson Devcon 2010
SharePoint 2010 Development for ASP.NET Developers - Tyson Devcon 2010SharePoint 2010 Development for ASP.NET Developers - Tyson Devcon 2010
SharePoint 2010 Development for ASP.NET Developers - Tyson Devcon 2010
 
Advanced BCS - Business Data Connectivity Models and Custom Connectors
Advanced BCS - Business Data Connectivity Models and Custom ConnectorsAdvanced BCS - Business Data Connectivity Models and Custom Connectors
Advanced BCS - Business Data Connectivity Models and Custom Connectors
 
Introduction to SharePoint 2010 Enterprise Search - NWA TechFest 2010
Introduction to SharePoint 2010 Enterprise Search - NWA TechFest 2010Introduction to SharePoint 2010 Enterprise Search - NWA TechFest 2010
Introduction to SharePoint 2010 Enterprise Search - NWA TechFest 2010
 
Power shell basics in sharepoint 2010 - SharePoint Saturday Houston 2010
Power shell basics in sharepoint 2010 - SharePoint Saturday Houston 2010Power shell basics in sharepoint 2010 - SharePoint Saturday Houston 2010
Power shell basics in sharepoint 2010 - SharePoint Saturday Houston 2010
 
Introduction To Enterprise Search - OKCSUG 2010
Introduction To Enterprise Search - OKCSUG 2010Introduction To Enterprise Search - OKCSUG 2010
Introduction To Enterprise Search - OKCSUG 2010
 
Writing Code To Interact With Enterprise Search
Writing Code To Interact With Enterprise SearchWriting Code To Interact With Enterprise Search
Writing Code To Interact With Enterprise Search
 

Último

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Último (20)

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

Searching Business Data With Moss 2007 Enterprise Search 2

  • 1. Searching Business Data with MOSS 2007 Enterprise Search Presenter: Corey Roth Enterprise Consultant Stonebridge Blog: www.dotnetmafia.com
  • 2. Corey Roth Consultant for Stonebridge Worked in Consumer Electronics, Travel, Advertising, and Energy industries Currently doing MOSS development specializing in Enterprise Search OSU Graduate Microsoft Award for Customer Excellence (ACE) Winner E-mail: corey.roth@gmail.com Blog: www.dotnetmafia.com (mirrored on sharepointblogs.com)
  • 3. Why Enterprise Search? Allows indexing and searching of business data from multiple systems with little or no code. Through Business Data Catalog (BDC) can index non-SharePoint applications BDC can index data in SQL Server, Web Services, and other database providers Can also be used to index Active Directory (People Search) Designed to search text – Other data types can work but there are limitations
  • 4. Business Data Catalog Abstraction Layer between MOSS and Business Applications Provides support for displaying and searching data from databases and web services Designed for Readonly access Inserts/Updates/Deletes are possible but there are limitations Not a replacement for a DAL
  • 5. Security Security is required for the following accounts Domain Accounts are recommended Content Access – Defined in Search Settings; Needs read access to database table; Needs BDC Execute permission Shared Service Provider Account – Used for profile pages; Needs BDC Execute/Select in Clients permission Administrators – Specify an account with full control or you will run into issues End Users – Need BDC Execute/Select in Clients permission
  • 6. Steps Create MetaData Model for Business Application Import MetaData Create Content Source Crawl Business Data Create Managed Properties and map them to Crawled Properties Crawl Business Data (Again) Create Search Scope
  • 7. Step 1 - BDC Metadata Model XML file which maps entities from databases or web services to the BDC Defines default actions when a search result is clicked Requires a unique id in the data source* Three types of methods Finder -Returns all records from a table or view SpecificFinder - Returns details for a specific record IDEnumerator- Used by Enterprise Search to determine rows to index
  • 8. BDC Metadata Model Version Number – Increment every time you import during development LobSystemInstance element AuthenticationMode – RevertToSelf AccessControlList element – Specifies Security (can also do through SSP) Action element – Sets a default action (sets a URL to go for that item)
  • 9. BDC Tools Tools can be useful for generating XML MetaData schema Office SharePoint Server SDK BDC Meta Man MOSS BDC Design Studio Many Others Available Now
  • 10. Start Small Crawls over entire tables can take a long time Avoid crawling full tables when testing Modify Schema file to crawl partial tables i.e.: SELECT TOP 50…
  • 11. Demo
  • 12. Step 3 - Content Sources Content Sources can map to one or more BDC Application Definition Used to start and stop content crawls Typically map one application definition to one content source
  • 13. Step 4 - Crawling Uses IDEnumerator method to get list of rows to import. Calls SpecificFinder method for each Id returned by IDEnumerator Stores columns from table or web service as crawled properties
  • 14. Demo
  • 15. Step 5 - Managed Properties Out of the box, a search will do a full-text search on all text properties Can be used to create advanced search pages After first crawl, columns are available as crawled properties Map crawled properties to managed properties for more specific searches Non-text types are not indexed by default
  • 16. Demo
  • 17. Step 7 - Scopes Scopes are used to specify different types of content to search (i.e.: Products, People, Sales, etc.) Scopes can be defined by Content Source or Managed Property Typically map to a Content Source to make it easier to test application definitions Can be displayed in drop down lists in conjunction with the SearchBox web part
  • 18. Search Center Out of the box site and web parts for searching and displaying results Can be created using the Site Settings menu on the root web site by enabled certain features Supports keyword search only (no wildcard) For wildcard search consider a Search Center Replacement such as Ontolica or write your own search page
  • 19. Keyword Syntax Used to search by Managed Properties Can specify Scopes (Scope:”MyScope”) Can be passed via URL to CoreResultsWebPart (k Query String parameter) AND implied between each keyword (i.e.: Color:”Red” Size:”M” is the same Color=“Red” AND Size=“M”) OR implied when multiple keywords of the same managed property used (i.e.: Color:”Red” Color:”Blue” translates to Color=“Red” OR Color=“Blue”)
  • 20. Search CenterFeatures Required Site Collection Features Office SharePoint Server Enterprise Site Collection features – BDC Web Parts Office SharePoint Server Search Web Parts – Enterprise Search Web Parts Office SharePoint Server Publishing Infrastructure – Not necessarily required unless you want to activate the feature below Site Features Office SharePoint Server Publishing – Adds Create Site menu item and publishing features (not required but convenient)
  • 21. Search CenterWeb Parts SearchBox CoreResultsWebPart BestBets Paging AdvancedSearch
  • 22. Search CenterCustomization CoreResultsWebPart displays search results Columns property – XML specifying Managed Properties XSL – Transform the HTML output of the search results Column names are specified in lower case in XSL (i.e.: Color will be color)
  • 23. Deployment and Migration MOSS has no built in way to move Enterprise Search settings! SharePoint Shared Services Provider Creation (SSSPPC) can help (see blog for more info)
  • 24. References Dot Net Mafia Blog http://www.dotnetmafia.com Office SharePoint Server SDK http://msdn2.microsoft.com/en-us/library/ms550992.aspx Faceted Search Web Parts http://www.codeplex.com/FacetedSearch SharePoint Shared Services Provider Creation http://www.codeplex.com/SSSPPC BDC Meta Man http://www.bdcmetaman.com Ontolica http://www.ontolica.com
  • 26. Thanks Corey Roth coreyroth@gmail.com www.dotnetmafia.com

Notas del editor

  1. Maybe mention BDC List Web Part, etc.
  2. Security issues can be troubleshot via Event Log and SharePoint logs.
  3. UniqueId can be faked with proper queries.
  4. Give basic tips for setting up a search and recommend starting with a minimal set of records.
  5. Demo the use of BDC Tools, the MetaData Model and the Import Process
  6. Demo setting up a content source and start a crawl.
  7. Map a Property for the column Size and recrawl.
  8. Demo the use of BDC Tools, the MetaData Model and the Import Process