Sponsored Content
Full Discussion: Google search appliance
Top Forums Web Development Google search appliance Post 302306444 by uunniixx on Sunday 12th of April 2009 08:57:06 PM
Old 04-12-2009
We need to pass a new parameter: swrnum to Google Search Appliance Engine. When we pass the new parameter the search is set to query again to the number of results found in our initial search. The new search term is passed in as as_q (as = advanced search).The original term, q, is passed in as a hidden field. The results will show both terms combined, plus the new results

Now my next question is how to capture the Search Engine result set because I do not want the user to redirect to GSA page, instead I want to control the final display through my code? What tool functions supports is?

Please advice.
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

A google search shellscript

This little doey allows you do fire up a google search right from your terminal. --------------------------------------------------- #!/bin/sh #(save me into the path as "google") clear && for i in "$@"; do lynx http://www.google.com/search?q="$@"; done ... (3 Replies)
Discussion started by: JoeTheGuy
3 Replies

2. Web Development

Cool Google Search Mashups

One of my favorite mashups is the Google search mashup. You can see it here at the top right hand corner of the site; where you enter a normal Google search work or phrase and Google serves the result, mashedup, back into your site. The same is true on The CEP Blog, where there the same... (0 Replies)
Discussion started by: Neo
0 Replies

3. UNIX for Advanced & Expert Users

google search changes with an underscore

How does adding an underscore change a google search? I was searching for John Elway and got different results with and without an unscore. (3 Replies)
Discussion started by: cokedude
3 Replies

4. What is on Your Mind?

Changes to Google Site Search Location

We are going to move the Google Site Search that is located in the upper right hand corner of the site to the toolbar. Both are showing at the moment, and the plans is to create a UserCP option to "turn on" the Google Site Search where it is currently showing for users who prefer not to use the... (2 Replies)
Discussion started by: Neo
2 Replies

5. What is on Your Mind?

Google Site Search in Search Drop Down Menu (Again)

Have just added (after missing for some time), the latest version of Google Site Search for our site in the Navbar Search Menu: https://www.unix.com/members/1-albums215-picture791.png Cheers and Enjoy. Here is the URL for that link in case you need it: https://goo.gl/P8p82c (4 Replies)
Discussion started by: Neo
4 Replies

6. What is on Your Mind?

YouTube: Search Engine Optimization | How To Fix Soft 404 Errors and A.I. Tales from Google Search

Getting a bit more comfortable making quick YT videos in 4K, here is: Search Engine Optimization | How To Fix Soft 404 Errors and A.I. Tales from Google Search Console https://youtu.be/I6b9T2qcqFo (0 Replies)
Discussion started by: Neo
0 Replies
WWW::Search::AltaVista::AdvancedWeb(3pm)		User Contributed Perl Documentation		  WWW::Search::AltaVista::AdvancedWeb(3pm)

NAME
WWW::Search::AltaVista::AdvancedWeb - class for advanced Alta Vista web searching SYNOPSIS
use WWW::Search; my $search = new WWW::Search('AltaVista::AdvancedWeb'); $search->native_query(WWW::Search::escape_query('(bmw AND mercedes) AND NOT (used OR Ferrari)')); $search->maximum_to_retrieve('100'); while (my $result = $search->next_result()) { print $result->url, " "; } DESCRIPTION
Class hack for Advance AltaVista web search mode originally written by John Heidemann http://www.altavista.com. This hack now allows for AltaVista AdvanceWeb search results to be sorted and relevant results returned first. Initially, this class had skiped the 'r' option which is used by AltaVista to sort search results for relevancy. Sending advance query using the 'q' option resulted in random returned search results which made it impossible to view best scored results first. This class exports no public interface; all interaction should be done through WWW::Search objects. HELP
Use AND to join two terms that must both be present for a document to count as a match. Use OR to join two terms if either one counts. Use AND NOT to join two terms if the first must be present and the second must NOT. Use NEAR to join two terms if they both must appear and be within 10 words of each other. Try this example: cars AND bmw AND mercedes You don't have to capitalize the "operators" AND, OR, AND NOT, or NEAR. But many people do to make it clear what is a query term and what is an instruction to the search engine. One other wrinkle that's very handy: you can group steps together with parentheses to tell the system what order you want it to perform operations in. (bmw AND mercedes) NEAR cars AND NOT (used OR Ferrari) Keep in mind that grouping should be used as much as possible because if you attempt to enter a long query using AND to join the words you may not receive any results because the entire query would be like one long phrase. For best reuslts follow the example herein. AUTHOR
"WWW::Search" hack by Jim Smyser, <jsmyser@bigfoot.com>. COPYRIGHT
Copyright (c) 1996 University of Southern California. All rights reserved. Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge that the software was developed by the University of Southern California, Information Sciences Institute. The name of the University may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. VERSION HISTORY
2.07 - unescape URLs, and bugfix for undefined $hit 2.06 - do not use URI::URL 2.02 - Added HELP POD. Misc. Clean-up for latest changes. 2.01 - Additional query modifiers added for even better results. 2.0 - Minor change to set lowercase Boolean operators to uppercase. 1.9 - First hack version release. native_setup_search This private method does the heavy lifting after native_query() is called. perl v5.12.4 2011-11-02 WWW::Search::AltaVista::AdvancedWeb(3pm)
All times are GMT -4. The time now is 10:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy