Drupal - What is Server and index in Search Api Drupal - search

I spent 2 days studying "Seach Api Module" in Drupal
Somebody can explain for me , What is Purpose of "Server"
and "Index" in "Search APi Module",
Why we need to Create "Server" and "Index", and We Can I find them, Does
"Index" create a xml file like Solr Server
Thanks in advance!

The Server is what's doing the searching and where the content defined by the index is being held. An example would be Database Search or Search API Solr.
The Index defines what fields are going to be indexed, as well as other settings pertaining to your search such as facets. It is tied to a type of content, like node, taxonomy terms, or users.
If you have Search API installed, you can find the settings at example.com/admin/config/search/search_api. There you can add your Server and define your Index.

Related

While implementing the Algolia search, facets are not filtering the search results

I am implementing Algolia search on my Drupal-9 website and using the following contributed modules:
Search API Algolia
Facets
After configuring the modules, the content/data indexing is working fine and is reflecting on Algolia server.
For search page, I am using Drupal views of type Index Algolia index and search is working fine using the Full text search filter.
After configuring the Facets, the block is displaying the Content Type facet and showing the total count as well like
page (12)
blog (9)
Upon clicking these facets, the search results are not filtered.
I have configured the Type Facet and its display on Algolia server.
On Algolia server the facets and search is working fine and as expected but Facets not working on my Drupal site.
I am not using any specific value in Filter key while configuring facet source configuration

How to graphically select a element on a page outside the own website

So, I have a website where i need to insert a lot of products from our suppliers' website, and I would like to automate it.
I was reading this question, that would solve most of the "front-end" part, and on the backend than I only need to get the link of the page, and use a basic web crawler library to search on that page the given selector.
However I'm missing the part where I inject a possible JS library on the supplier website, in order to allow others to select the element with the mouse, and not to find it using something like the Chrome console.
I was thinking about fetching the source page on the server side, and that returning it, but all the resources like CSS, JS, images, will be blocked by CSRF protection, and so here's my question:
Are there ways to do this in any way?
Edit:
ok maybe it's not so clear what I want to achieve... here's how thing should go:
Someone decides to insert a new supplier, that he should set the CSS path for the product name, the CSS path for the product description etc etc (section where i appreciate suggestion), and then he only needs to insert the products links and the server will get the informations using the CSS path inserted before.

Redirect to a specific link routing

i'm using express to make a electronic document management (EDMS) in node.js.
After the user login, I'll have a simple box, where he's chosee between two options:
a. search XML files
b. search Other Documents files
is there a way to create specific routing for, if he chooses to go only with XML, all links i'll be under that routing?
Something like xml/home/ and otherDocuments/home/ and the rest of the methods ill be xml/something and otherDocuments/something?

Drupal Search API Query

How to customize search api query?
I have already added index from backend also added server.
By following this link but didn't get any solution.
https://api.drupal.org/api/drupal/modules%21search%21search-results.tpl.php/7.

Enabling search for my site that uses rss

my site is here
The main flash app uses rss (or xml) to display data. I'm wondering how I can add search functionality to it. One idea is to create multiple custom rss for each filter and search query, but I thought that it would be a nightmare to add more data later on. So I'm wondering if there's another way to do it?
RSS feed is located here My site is hosted at edicy.com and I can't install any other server side extensions other than use XHTML, XML, HTML and Javascript.
Index your data using a search engine like solr or sphinx then have your flash app talk to the server to post a query to it and retrieve the results in XML

Resources