/customsearch/community?hl=en
This content is likely not relevant anymore. Try searching or browse recent questions.
-
7/22/19
results-only search not working in hebrew 0 Recommended Answers 3 Replies 3 Upvotes
1 Recommended Answer
$0 Recommended Answers
For our search engine, I'm taking the exact code Google provides - for a results-only search. It works fine for our English and Spanish sites, but is returning a small blank gray area, set with "visibility: hidden". Also when I switch to a regular search (gcse-search), Hebrew works as well. But it fails in results-only mode. Is this an issue with Google or am I doing something wrong?

Thanks in advance!
Details
All Replies (3)
7/23/19
Hi Dovid,

Can you please help me understand your query with more details. If possible, please provide examples/screenshots and steps to reproduce your problem.

Thanks
marked this as an answer
Helpful?
7/23/19
Fine, sorry for the lack of detail. I was hoping this was a known issue.

I'm using the code provided by Google:

<script async src="https://cse.google.com/cse.js?cx=004534433483110276002:sauppvhh3si"></script>
<div class="gcse-searchresults-only"></div>

And here is the search form on the calling page:

<form action="/search/" method="post" accept-charset="UTF-8" onsubmit="this.q.value = this.keywords.value;">
<input id="topSearchKeys" type="text" name="keywords" value="$keywords"/>
<input type="hidden" name="q"/>
<input class="pushbutton" type="submit" name="submit" value="$i18n_SEARCH"/>
</form>

I"ve tried setting the form's method to both 'get' and 'post'.

When calling it with 'get', here is the URL of the search page:


...so the parameter seems to be correctly passed.

Again, a regular search works fine, but I can't get the search-results only search to work, although the exact same code does work in English and Spanish.

Thanks again,
Dovid
marked this as an answer
Helpful?
7/23/19
Hi Dovid,

Created a test page "search box" where I had a simply search box code as below:

<form name="google search" action="Your results page.html"> 
<input id="search" name="q" size="50" type="text" /> 
<input value="Search" type="submit"/> 
</form> 

Then create a separate "results page" and pasted your "Results-only" code. In the action parameter above entered this results page. Then performed search with "הכרזה" and did got results served.

Was not able to reproduce the problem.

Thanks
marked this as an answer
Helpful?
This question is locked and replying has been disabled.
Discard post? You will lose what you have written so far.
Write a reply
10 characters required
Failed to attach file, click here to try again.
Discard post?
You will lose what you have written so far.
Personal information found

We found the following personal information in your message:

This information will be visible to anyone who visits or subscribes to notifications for this post. Are you sure you want to continue?

A problem occurred. Please try again.
Create Reply
Edit Reply
Delete post?
This will remove the reply from the Answers section.
Notifications are off
Your notifications are currently off and you won't receive subscription updates. To turn them on, go to Notifications preferences on your Profile page.
Report abuse
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
This reply is no longer available.
/customsearch/threads
//accounts.google.com/ServiceLogin
You'll receive email notifications for new posts at
Unable to delete question.
Unable to update vote.
Unable to update subscription.
You have been unsubscribed
Deleted
Unable to delete reply.
Removed from Answers
Marked as Recommended Answer
Removed recommendation
Undo
Unable to update reply.
Unable to update vote.
Thank you. Your response was recorded.
Unable to undo vote.
Thank you. This reply will now display in the answers section.
Link copied
Locked
Unlocked
Unable to lock
Unable to unlock
Pinned
Unpinned
Unable to pin
Unable to unpin
Marked
Unmarked
Unable to mark
Reported as off topic
/customsearch/profile/0?hl=ru