I am getting some strange (to me) results when using Google CSE on my site.
Background:
The site has a MAIN search field (Google CSE #1 we'll call it).. that was set up in the Google CSE admin panel.. and set to be a site wide search.
I recently added a page that will be the front end search for a directory of PDF's.
I went back to Google CSE admin page.. made a NEW entry for this PDF sub-directory..
pointed to only this directory and its child/sub-directories..
set it to ONLY return .pdf results..
outside of these two differences, both CSE accounts/entries are set-up identical.
The problem or question I have is..
the 'results' pages (while have the same exact settings, search field on top of results, full row...single page..etc)..are different a bit.
the 'new' page results has a tan colored 'ad block' on top of the results..
and 'more importantly' the results page SEARCH field itself looks different, and the SEARCH BUTTON itself looks different, and has an 'x' (close/clear) button right after it
if the settings are the same,.. how am I getting different looks? if only PDF file type or confined to a sub-directory for indexing/searching are different?.. do those settings somehow give different looking elements like that?
the new page SEARCH/SUBMIT button also have a magnifying glass on it. where original one has search text..
I didnt see anything in the "Look and Feel" section of the admin pages
what is affecting the different looks?
answer: choosing hide ads or not under the BUSINESS section in Google CSE admin page changes the 'looks' of the search field & submit button...
why that should affect the visual results, I have no clue.
Related
On the website I run we have a single search field where you can enter a name or profession. When you search you are served with a page full of results that come from 3 seperate sources.
Once you click on one field e.g. John Do, you will be taken to his page. On that page we have a back to search, but it goes to a blank screen.
I want to go back to the actual search results so the person doesn't have to do it all again, but I'm not sure where to start. Any suggestions?
That's a tricky situation.
There can be many solutions for this issue but I'll will name some of them.
Activate the cache of the pages (Quick trick, no suitable for websites that relies on users (*login)), you can go back and your form will be the same with the results without any issue.
Manage the load of the page of Jhon Do as a ajax load and #hashtag references, you don't reload the page but you just manage the states of the HTML. (Can be done with JS frameworks or React)
Depends on which platform are you working try to manage the variable of the search with this concept post-redirect-get
Hope that is helps!
Cheers.
i have an intranet (which is my main website) and a several sub-websites, which refers to the departments of the company. I need to add a list with people related to department of the current web-site. The list can be the same view of the SharePoint native search.
I find this component (Search Results), which i was able to add my criterias (like people which department is equals to "HR"), and i get the right results. However, i couldn't find an way to make the view similar to the results of the image above.
Somebody can help me? Thanks
Edit:
I've changed the configurations to use "People Item" display index. Firstly, i had to import a javascript file. Then, even though that i had the right results, the properties aren't filled in the fields of the display item (as is shown in the image below).
My home page is the root node, and consists of HTML editable text and repeaters. The page types used by the repeaters have been excluded from the smart search, but editable text isn't showing in results.
Currently my path is set to: /%
Everything else seems fine, i'm getting results that i expect (minus some url alias issues), but this has be stuck.
Some ideas:
Have you used the correct Documents index type?
https://docs.kentico.com/display/K8/Defining+document+indexes
Have you selected the root page type as allowed content (probably CMS.Root)?
Is the Search Preview (located on the Search Index itself) showing the page?
David
Yes, checking for whether page type is included in the index is probably the first thing one should look out for while debugging for Search Index not returning specific page type results.
Would someone be willing to offer me some assistance with customizing the search results page and the search box web part properties.
First problem: Search Box Properties
When I add an additional query term (eg. fileextension="xml") the search runs as expected but the refinement panel dissapears on the search results page. I don't want it to dissapear! I just want certain filters to be pre-applied.
Second Problem: Search Results Page
How do I customize the way results are displayed. For instance, I would like to add different refinement options to the refinement panel. I would also like to change what information is displayed under each individual result. Currently it seems to show a summary of the content, followed by the author and sometimes the date. I'd like to change this. How???
Any help greatly appreciated.
The results part you need to update the XSLT, You can do this via one of the web part properties. You will also need to make sure that the fields you want to put in to the results are included in your columns(Also a web part property)
Check this out
https://littletalk.wordpress.com/2011/08/26/customizing-search-core-result-xslt-in-sharepoint-2010/
Refinement options are based on Your crawled properties. Check this out
http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/03/15/get-to-know-the-refinement-web-part-in-sharepoint-2010-enterprise-search.aspx
Not sure as to why your refinement panel is disappearing, Check to see if the URL changes dramatically when you add your fileextension="xml" to the web part property, it may be that this addition is changing the URL so much the refinement panel is loaded or can't load but don't hold me to this
cheers to the
Truez
I am currently working on a project which requires content to be published onto a view or page depending on a search result criteria. For example: I search through my content for the word dog and this word appears on 4 of 20 pieces of content. I wish to view all of those items on a page that is not the Search Results page, but rather one that displays all the content found, so I can print each piece of content.
I apologize if this post is awkwardly worded. At this moment it is just an idea and I am trying to get a better picture of how to change publishing based on search results to a certain area.
Thank you for your time -- and if anyone wishes to ask follow up questions, I'd be more than willing to help clarify.
You can use a view with exposed filter. Create a view, create a filter criteria there, then in settings - check "Expose this filter to visitors, to allow them to change it". A user will see a form in a view, wich you can also make separate from a view, by setting "exposed form" to "yes" and putting it in a sepparate block.