Custom field info. in Search Engines - search

Can I show custom field info. on Search Engine Pages?
For example, when I type the keyword "google" on Google Search Engine, along with the regular search results, I also get some more information such as CEO, Founded, Headquarters, Founder, etc.. on the right sidebar, similar to the below image.
And I wondered if I could ever show up my company information also like that.
Any help would be greatly appreciated.

Yes, if you have a website accessible by Google's indexing bots and your page(s) contain Structured Data Markup providing such info, more specifically by Customizing the Knowledge Graph for your company (and provided that Google's indexing service considers the info relevant enough to show up in search results, of course).

Related

Search a specific search of a journal article based on the user type

I have this requirement:
We have a journalarticle and we wish to have sections which have content for internal and external users for the application.
We are able to hide the content from rendering by implementing custom template on web content display and using a simple custom-field for a user which helps us to classify it.
Having said that when we search something as an external user, the search portlet is able to fetch an article where the search text is a part of internal user content, and due to the above mentioned template the content is not visible.
In short, from the user's perspective the resultant article does not match the searched term.
I wish to seek some pointer to check whether there is a mechanism to ensure that when an external user searches something then we only search the dynamic-element of the doc which matches the user type?
We have thousands of such articles and create multiple copy of the same article does not seems viable solution.. so any pointers would be a great help.
Liferay version : 6.2 GA4 CE
Thanks!
AJ
First of all: Not finding a search term in a document can be a sign of good working synonym resolution in the search engine. It's questionable if this behaviour is always wrong or only in this particular case. Remember google bombs?
That being said, I believe that this architecture of half-visible documents is flawed from the beginning. Ideally I'd suggest to change it, for example by splitting the information to two articles, so that you can use the standard permissions to resolve. If you link both, you can determine how/which article or template to use. It's not an ideal solution, but might be a workaround.
Another workaround might be to change Liferay's indexer component and index two different versions of the article, with two different permissions. Of course, you'll have to change the search side as well, so that you'll find each article at most once, even if it's now twice in the search engine.
Again - not ideal, but might be the quickest fix that you can get right now without changing the underlying architecture. However, to change the underlying architecture is my actual recommendation.

search news by keyword using Google CSE

I want to search results from "Google News" via "Google Custom Search Engine Api (CSE)" based on location/country and keyword.
I tried using it by setting up a CSE which only searches inside the site "news.google.com" but then it only returns old news article clippings. Not sure how to grab the recent news articles. Also, i noticed that if we set schema type NewsArticle, its not accurate as not all news sites having this schema type of page.
I knew that there is a workaround to use RSS feeds for getting google news and it returns results as required. Example - https://news.google.com/news/feeds?hl=en&q=corruption&ie=utf-8&num=10&output=rss . But, I afraid this is not a correct and recommended way to get go with.
Will appreciate if anyone could advice right setting in CSE or other recommended solution.

Filter Search and Free text search using Foursquare api

We are currently developing a food/restaurant search on our website using Foursquare API.
We have hit an issue which is the free text search. If I would like to search for a specific restaurant/food venue eg. "Lucilda Pizzeria" will it allow me to do so?
Can we use the Food Category in the Category tree https://developer.foursquare.com/categorytree to allow people to filter the venues? Eg. "Minnesota" - "Bagel Shop"
Hope anyone can please clear up these questions for me.
Thanks to anyone who will get back to me with an answer.
Take a look at the getting started guide to search: https://developer.foursquare.com/start, then read about the search and explore endpoints. In your use case, I would recommend making an explore API request with the intent=food parameter passed in.

Kentico smart search with custom web part

I have custom web part registered in Kentico web page and I would like to use Kentico smart search to search information from web part.
My custom web part contains grid view with following columns
Item Code
Item Name
Item Price
Mfg. Date
If user is going to enter "Laptops" in search box then system should search information based on Item Name.
Can anyone give me brief idea about Kentico smart search which satisfy above functionality?
Have you tried using the smart search index and set it to be the document crawler? In this case the crawler will index the HTML output of the pages - including the output of the web part.
I think you have a fundamental misunderstanding of how smart search operates.
Basically you'll use Smart search to index your database.
You can then use Kentico's Smart search API to filter a dataset to be used to bind into a repeater or datalist of some type.
The only thing I can suggest is consulting the Kentico documentation for your version of Kentico, specifically looking for smart search. If you included more information such as the Kentico version and the source of your data (documents, custom tables, etc) then someone may be able to give a clearer answer.

Definitive method to exclude page sections from main search engines

I have quite a few constant parts of pages I'd like to exclude from displaying in search results to prevent obscuring of the unique content on each respective page.
I read that class="nocontent" will perform this action for Google. But what about the other main search engines like Yahoo and Bing? Is there a globally accepted solution for this, or is there an additional step to get them to do the same?
Thank you for any assistance.
Google doesn't offer such a feature for the general search. The class nocontent is only for Google Custom Search. The comments googleon/googleoff are only for Google Search Appliance.
Yahoo! introduced the class robots-nocontent in 2007. Google doesn't support it.
There is a microformats draft, but it has probably no support.
Despite that, there are some "hacks" that could accomplish what you need, but I wouldn't count on or use them. For example: inserting content with JS, or embedding content in iframe (and blocking the source URL in robots.txt).

Resources