SlideShare ist ein Scribd-Unternehmen logo
1 von 29
Downloaden Sie, um offline zu lesen
WHAT IS A FACET?
facet of a brilliant diamond of issues.
facet joint injections.
faceted beads make a statement of a high society look.
facets of modern life, the internet has touched forensic science.
We'll have two days to explore the many facets of this small island.
facet publishing is the leading international publisher of books for
the library and information profession.
faceted classification, search and navigation application,
waypoint, is transforming the way users find information.
WHY DO YOU NEED IT?
If you have a lot of data which needs to be searched or the main function
of your site is finding data via a search.
The Faceted Search module provides a search API and a search interface
which allows users to rapidly browse the site’s content. The search
interface also provides a information navigation/discovery tool
(something similar to breadcrumbs).
The Facet function will create an index(s) for all requested search data.
With it, you will also generate a index access or facet block for each
indexed item.
You need the following modules:
‱ https://drupal.org/project/facetapi
‱ https://drupal.org/project/search_api
‱ https://drupal.org/project/search_api_db
‱ https://drupal.org/project/entity
‱ https://drupal.org/project/ctools
‱ https://drupal.org/project/views
See the following:
http://beautiful7mind.wordpress.com/2013/03/10/
step-by-step-how-to-implement-facet-search-on-
data-in-drupal-7/
http://envisioninteractive.com/drupal/drupal-7-
views-with-faceted-filters-without-apachesolr/
http://munich2012.drupal.org/program/sessions/bu
ilding-amazing-searches-search-api-and-facet-
api.html
The following informational message is displayed after the Search API was enabled
After selecting all the needed modules, click the “Save” configuration. If your module
page does not look like this one, then you need to download and enable “module
filter”.
Before setting up the ‘search’ facets, you need to setup your “content type” to have
the taxonomy terms or items that will be indexed. Be sure that there is data available
to setup the facets (I used the “devel” to generate my data).
Next you need to set up a server to process the data by accessing the “Search
API” interface via Configuration -> Search and metadata then click “Add server” to
add a server. You can set up as many servers as required. One for your local site
(to use a Database server) and one for the production site (to use a Solr server).
Here you will define the server name and then select a “Service class”.
This is defined by module “search_api_db” for the database services.
After clicking the “create server” button this confirmation page is displayed.
Return back to the “Search API” configuration page to configure the setting for the
index the site’s data. The Index has five different configuration/status pages to use in
setting up the different facets to search the data.
First use the setting’s page to set which server to use. These are defined by
the server created in a previous step.
Select the “Fields” Tab to add the fields needed in the search. Use the “Add
Related Fields” at the bottom of the page to add your Taxonomy Fields
Once they have been added you can select them to be part of the index
You will need to “enable” the index on the “Status” page. Click the “enable” button
to have it available.
Now the “Facets” need to be defined in the “Facets Tab”. Select the needed data
and “Save configuration”. Once save the Administration message is displayed
Here you define the facet blocks you want and well as you have
three different “Facet” configurations available and the ability to
export the configurations
Before the searches will work you must index the data, so go back to the status tab and
click on the “Index now” button.
Now that the “Facets” have been created, the index blocks are available go to
Structure -> blocks and scroll to the bottom portion of the page and place the
blocks in a region for display.
Now enable “views” so you can display the data
To set-up a view to see the data go to Structure -> Views, then click
on the “+ Add new view”. After naming, selecting the what to show
and the Display Format, then click on “Continue & edit”.
Now to configure the view to display the appropriate data. You can add the
required fields by clicking on the “Add” next to the FIELDS area. Select all the
required data to be displayed, set the page url, set the menu information and
then click on the “Save” button in the upper right corner. You will see a preview of
the view in the lower portion of the page.
Display output of the Test view page along with the Facet blocks.
Now to see the Facet block in action
.
Output after clicking on the “Author” bicaje
To add the search capability to the view you need to add filters and make then
exposed the user.
Now you have a search function for the site which will use the indexes/facets that
were created
Any questions???
Thank you for listening


Weitere Àhnliche Inhalte

Was ist angesagt?

SP Fest Chicago - User Profiles: I Didn’t Know I Could Do That!!
SP Fest Chicago - User Profiles:  I Didn’t Know I Could Do That!!SP Fest Chicago - User Profiles:  I Didn’t Know I Could Do That!!
SP Fest Chicago - User Profiles: I Didn’t Know I Could Do That!!Stacy Deere
 
HTML 5 Fundamental
HTML 5 FundamentalHTML 5 Fundamental
HTML 5 FundamentalLanh Le
 
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris FebresThe beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris FebresBookNet Canada
 
APEX Themes and Templates
APEX Themes and TemplatesAPEX Themes and Templates
APEX Themes and TemplatesInSync Conference
 
CSS Positioning and Features of CSS3
CSS Positioning and Features of CSS3CSS Positioning and Features of CSS3
CSS Positioning and Features of CSS3Jaimin Brahmbhatt
 
SharePoint 2010 Content Query Web Part
SharePoint 2010 Content Query Web PartSharePoint 2010 Content Query Web Part
SharePoint 2010 Content Query Web PartKim Frehe
 
Web 102 INtro to CSS
Web 102  INtro to CSSWeb 102  INtro to CSS
Web 102 INtro to CSSHawkman Academy
 
Html5 structure & semantic
Html5 structure & semanticHtml5 structure & semantic
Html5 structure & semanticMuktadiur Rahman
 

Was ist angesagt? (9)

SP Fest Chicago - User Profiles: I Didn’t Know I Could Do That!!
SP Fest Chicago - User Profiles:  I Didn’t Know I Could Do That!!SP Fest Chicago - User Profiles:  I Didn’t Know I Could Do That!!
SP Fest Chicago - User Profiles: I Didn’t Know I Could Do That!!
 
HTML5 - My First Webpage
HTML5 - My First Webpage HTML5 - My First Webpage
HTML5 - My First Webpage
 
HTML 5 Fundamental
HTML 5 FundamentalHTML 5 Fundamental
HTML 5 Fundamental
 
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris FebresThe beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
 
APEX Themes and Templates
APEX Themes and TemplatesAPEX Themes and Templates
APEX Themes and Templates
 
CSS Positioning and Features of CSS3
CSS Positioning and Features of CSS3CSS Positioning and Features of CSS3
CSS Positioning and Features of CSS3
 
SharePoint 2010 Content Query Web Part
SharePoint 2010 Content Query Web PartSharePoint 2010 Content Query Web Part
SharePoint 2010 Content Query Web Part
 
Web 102 INtro to CSS
Web 102  INtro to CSSWeb 102  INtro to CSS
Web 102 INtro to CSS
 
Html5 structure & semantic
Html5 structure & semanticHtml5 structure & semantic
Html5 structure & semantic
 

Andere mochten auch

IntroducciĂłn a la bĂșsquedas con facetas en Drupal 7
IntroducciĂłn a la  bĂșsquedas con facetas en Drupal 7IntroducciĂłn a la  bĂșsquedas con facetas en Drupal 7
IntroducciĂłn a la bĂșsquedas con facetas en Drupal 7Heissen LĂłpez
 
Flexible Shape Matching
Flexible Shape MatchingFlexible Shape Matching
Flexible Shape MatchingAhmed Gad
 
Boolean Logic Searching: A Primer
Boolean Logic Searching: A PrimerBoolean Logic Searching: A Primer
Boolean Logic Searching: A Primercswetzel
 
The Evolution of Search
The Evolution of SearchThe Evolution of Search
The Evolution of SearchTom Anthony
 
AI Uninformed Search Strategies by Examples
AI Uninformed Search Strategies by ExamplesAI Uninformed Search Strategies by Examples
AI Uninformed Search Strategies by ExamplesAhmed Gad
 

Andere mochten auch (8)

Database api
Database apiDatabase api
Database api
 
IntroducciĂłn a la bĂșsquedas con facetas en Drupal 7
IntroducciĂłn a la  bĂșsquedas con facetas en Drupal 7IntroducciĂłn a la  bĂșsquedas con facetas en Drupal 7
IntroducciĂłn a la bĂșsquedas con facetas en Drupal 7
 
Flexible Shape Matching
Flexible Shape MatchingFlexible Shape Matching
Flexible Shape Matching
 
Boolean Logic Searching: A Primer
Boolean Logic Searching: A PrimerBoolean Logic Searching: A Primer
Boolean Logic Searching: A Primer
 
FormaciĂłn apache Solr
FormaciĂłn apache SolrFormaciĂłn apache Solr
FormaciĂłn apache Solr
 
The Evolution of Search
The Evolution of SearchThe Evolution of Search
The Evolution of Search
 
Search engines
Search enginesSearch engines
Search engines
 
AI Uninformed Search Strategies by Examples
AI Uninformed Search Strategies by ExamplesAI Uninformed Search Strategies by Examples
AI Uninformed Search Strategies by Examples
 

Ähnlich wie Facet and Search API

Birt (business intelligence and reporting tools)
Birt (business intelligence and reporting tools)Birt (business intelligence and reporting tools)
Birt (business intelligence and reporting tools)Dharmesh Kumar Sharma
 
Download and visualise v0 3
Download and visualise v0 3Download and visualise v0 3
Download and visualise v0 3Noel Hatch
 
ETL Microsoft Material
ETL Microsoft MaterialETL Microsoft Material
ETL Microsoft MaterialAhmed Hashem
 
Scraping Handout
Scraping HandoutScraping Handout
Scraping HandoutCindy Royal
 
Search Enginesv2
Search Enginesv2Search Enginesv2
Search Enginesv2athiracyborg
 
Create a basic performance point dashboard epc
Create a basic performance point dashboard   epcCreate a basic performance point dashboard   epc
Create a basic performance point dashboard epcEPC Group
 
Style Intelligence Evaluation Documentation
Style Intelligence Evaluation DocumentationStyle Intelligence Evaluation Documentation
Style Intelligence Evaluation DocumentationArleneWatson
 
Share point 2010 portal setup
Share point 2010 portal setupShare point 2010 portal setup
Share point 2010 portal setupVinod Dangudubiyyapu
 
Cis407 a ilab 1 web application development devry university
Cis407 a ilab 1 web application development devry universityCis407 a ilab 1 web application development devry university
Cis407 a ilab 1 web application development devry universitylhkslkdh89009
 
Mule data bases
Mule data basesMule data bases
Mule data basesNaresh Naidu
 
UiPath Studio Web workshop Series - Day 3
UiPath Studio Web workshop Series - Day 3UiPath Studio Web workshop Series - Day 3
UiPath Studio Web workshop Series - Day 3DianaGray10
 
Microsoft Access 2007
Microsoft Access 2007Microsoft Access 2007
Microsoft Access 2007Reshma Arun
 
HARJOT.ppt
HARJOT.pptHARJOT.ppt
HARJOT.pptsatgup78
 
Informatica complex transformation i
Informatica complex transformation iInformatica complex transformation i
Informatica complex transformation iAmit Sharma
 
Share point 2010_overview-day4-code
Share point 2010_overview-day4-codeShare point 2010_overview-day4-code
Share point 2010_overview-day4-codeNarayana Reddy
 

Ähnlich wie Facet and Search API (20)

Birt (business intelligence and reporting tools)
Birt (business intelligence and reporting tools)Birt (business intelligence and reporting tools)
Birt (business intelligence and reporting tools)
 
Download and visualise v0 3
Download and visualise v0 3Download and visualise v0 3
Download and visualise v0 3
 
ETL Microsoft Material
ETL Microsoft MaterialETL Microsoft Material
ETL Microsoft Material
 
BI Step by Step
BI Step by StepBI Step by Step
BI Step by Step
 
Scraping Handout
Scraping HandoutScraping Handout
Scraping Handout
 
Oracle ADF 11g Tutorial
Oracle ADF 11g TutorialOracle ADF 11g Tutorial
Oracle ADF 11g Tutorial
 
Search Enginesv2
Search Enginesv2Search Enginesv2
Search Enginesv2
 
Ms Access
Ms AccessMs Access
Ms Access
 
Create a basic performance point dashboard epc
Create a basic performance point dashboard   epcCreate a basic performance point dashboard   epc
Create a basic performance point dashboard epc
 
Chapter12 (1)
Chapter12 (1)Chapter12 (1)
Chapter12 (1)
 
Style Intelligence Evaluation Documentation
Style Intelligence Evaluation DocumentationStyle Intelligence Evaluation Documentation
Style Intelligence Evaluation Documentation
 
Share point 2010 portal setup
Share point 2010 portal setupShare point 2010 portal setup
Share point 2010 portal setup
 
leggi
leggileggi
leggi
 
Cis407 a ilab 1 web application development devry university
Cis407 a ilab 1 web application development devry universityCis407 a ilab 1 web application development devry university
Cis407 a ilab 1 web application development devry university
 
Mule data bases
Mule data basesMule data bases
Mule data bases
 
UiPath Studio Web workshop Series - Day 3
UiPath Studio Web workshop Series - Day 3UiPath Studio Web workshop Series - Day 3
UiPath Studio Web workshop Series - Day 3
 
Microsoft Access 2007
Microsoft Access 2007Microsoft Access 2007
Microsoft Access 2007
 
HARJOT.ppt
HARJOT.pptHARJOT.ppt
HARJOT.ppt
 
Informatica complex transformation i
Informatica complex transformation iInformatica complex transformation i
Informatica complex transformation i
 
Share point 2010_overview-day4-code
Share point 2010_overview-day4-codeShare point 2010_overview-day4-code
Share point 2010_overview-day4-code
 

KĂŒrzlich hochgeladen

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vĂĄzquez
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel AraĂșjo
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
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
 

KĂŒrzlich hochgeladen (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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...
 

Facet and Search API

  • 1.
  • 2. WHAT IS A FACET? facet of a brilliant diamond of issues. facet joint injections. faceted beads make a statement of a high society look. facets of modern life, the internet has touched forensic science. We'll have two days to explore the many facets of this small island. facet publishing is the leading international publisher of books for the library and information profession. faceted classification, search and navigation application, waypoint, is transforming the way users find information.
  • 3. WHY DO YOU NEED IT? If you have a lot of data which needs to be searched or the main function of your site is finding data via a search. The Faceted Search module provides a search API and a search interface which allows users to rapidly browse the site’s content. The search interface also provides a information navigation/discovery tool (something similar to breadcrumbs). The Facet function will create an index(s) for all requested search data. With it, you will also generate a index access or facet block for each indexed item.
  • 4. You need the following modules: ‱ https://drupal.org/project/facetapi ‱ https://drupal.org/project/search_api ‱ https://drupal.org/project/search_api_db ‱ https://drupal.org/project/entity ‱ https://drupal.org/project/ctools ‱ https://drupal.org/project/views
  • 6.
  • 7. The following informational message is displayed after the Search API was enabled After selecting all the needed modules, click the “Save” configuration. If your module page does not look like this one, then you need to download and enable “module filter”.
  • 8. Before setting up the ‘search’ facets, you need to setup your “content type” to have the taxonomy terms or items that will be indexed. Be sure that there is data available to setup the facets (I used the “devel” to generate my data).
  • 9. Next you need to set up a server to process the data by accessing the “Search API” interface via Configuration -> Search and metadata then click “Add server” to add a server. You can set up as many servers as required. One for your local site (to use a Database server) and one for the production site (to use a Solr server).
  • 10. Here you will define the server name and then select a “Service class”. This is defined by module “search_api_db” for the database services.
  • 11. After clicking the “create server” button this confirmation page is displayed.
  • 12. Return back to the “Search API” configuration page to configure the setting for the index the site’s data. The Index has five different configuration/status pages to use in setting up the different facets to search the data.
  • 13. First use the setting’s page to set which server to use. These are defined by the server created in a previous step.
  • 14. Select the “Fields” Tab to add the fields needed in the search. Use the “Add Related Fields” at the bottom of the page to add your Taxonomy Fields Once they have been added you can select them to be part of the index
  • 15. You will need to “enable” the index on the “Status” page. Click the “enable” button to have it available.
  • 16.
  • 17. Now the “Facets” need to be defined in the “Facets Tab”. Select the needed data and “Save configuration”. Once save the Administration message is displayed
  • 18. Here you define the facet blocks you want and well as you have three different “Facet” configurations available and the ability to export the configurations
  • 19. Before the searches will work you must index the data, so go back to the status tab and click on the “Index now” button.
  • 20. Now that the “Facets” have been created, the index blocks are available go to Structure -> blocks and scroll to the bottom portion of the page and place the blocks in a region for display.
  • 21. Now enable “views” so you can display the data
  • 22. To set-up a view to see the data go to Structure -> Views, then click on the “+ Add new view”. After naming, selecting the what to show and the Display Format, then click on “Continue & edit”.
  • 23. Now to configure the view to display the appropriate data. You can add the required fields by clicking on the “Add” next to the FIELDS area. Select all the required data to be displayed, set the page url, set the menu information and then click on the “Save” button in the upper right corner. You will see a preview of the view in the lower portion of the page.
  • 24. Display output of the Test view page along with the Facet blocks.
  • 25. Now to see the Facet block in action
.
  • 26. Output after clicking on the “Author” bicaje
  • 27. To add the search capability to the view you need to add filters and make then exposed the user.
  • 28. Now you have a search function for the site which will use the indexes/facets that were created
  • 29. Any questions??? Thank you for listening