Not able to view 'Dynamic Navigation' on search results page

98 views
Skip to first unread message

swati maini

unread,
Feb 1, 2012, 2:07:08 AM2/1/12
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Hi All

We have a requirement in our project to implement category search
which can be done using 'Dynamic Navigation' feature of GSA. We are
indexing results from CMS using feeds.But I am not able to see
'Dynamic Navigation' on search results page.

I have enabled the Dynamic Navigation and also added Attributes in
GSA. Here is the snippet of the xml generated by one result having
meta tags.

<FS NAME="date" VALUE="2010-12-06"/>
<MT N="audience" V="Sholay"/>
<MT N="topic" V="Amitabh"/>
<MT N="type" V="Hindi"/>
<MT N="Author" V="sch120"/>

I have created two attributes named: audience and topic, with labels:
AudienceCat and TopicCat respectively of type String.

Thanks
Swati

swati maini

unread,
Feb 1, 2012, 6:29:33 AM2/1/12
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
I am able to see 'Navigation' heading in the left sidebar with no
values.

Also, when I look at search result XML, there is no difference when
'Dynamic Navigation' is enabled or disabled.

What could be the reason, that I am not getting 'Dynamic Navigation'
results in search result XML?

Thanks
Swati

On Feb 1, 12:07 pm, swati maini <swati.ib...@gmail.com> wrote:
> Hi All
>
> We have a requirement in our project to implement categorysearch
> which can be done using 'DynamicNavigation' feature of GSA. We are
> indexingresultsfrom CMS using feeds.But I am not able to see
> 'DynamicNavigation' onsearchresultspage.
>
> I have enabled theDynamicNavigationand also added Attributes in

80none

unread,
Feb 1, 2012, 8:41:51 AM2/1/12
to google-search-...@googlegroups.com

Did you add a frontend to Dynamic Navigation config?

You should see PARAM tag at the bottom in output XML if DN is enabled for the frontend.

2012/02/01 20:29 "swati maini" <swati...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "Google Search Appliance/Google Mini" group.
To post to this group, send email to Google-Search-...@googlegroups.com.
To unsubscribe from this group, send email to Google-Search-Applia...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/Google-Search-Appliance-Help?hl=en.

Message has been deleted

Dave Watts

unread,
Feb 2, 2012, 9:08:50 AM2/2/12
to google-search-...@googlegroups.com
> In Front End, I checked the checkbox for 'Show Dyanmic Navigation'.
>
> and Output XML looks like this:
> ---------------------------------------------------------------
> <GSP VER="3.2">
>  <TM>0.020459</TM>
>  <Q>Hindi</Q>
>    <PARAM name="q" value="Hindi" original_value="Hindi"/>
>    <PARAM name="access" value="p" original_value="p"/>
>    <PARAM name="output" value="xml_no_dtd"
> original_value="xml_no_dtd"/>
>    <PARAM name="client" value="tda_poc" original_value="tda_poc"/>
>    <PARAM name="site" value="tda_feeds_coll"
> original_value="tda_feeds_coll"/>
>    <PARAM name="filter" value="1" original_value="1"/>
>    <PARAM name="lr" value="lang_en" original_value="lang_en"/>
>    <PARAM name="num" value="20" original_value="20"/>
>    <PARAM name="proxyreload" value="1" original_value="1"/>
>    <PARAM name="ie" value="UTF-8" original_value="UTF-8"/>
>    <PARAM name="ip" value="10.207.222.217"
> original_value="10.207.222.217"/>
>    <PARAM name="sort" value="date:D:L:d1"
> original_value="date:D:L:d1"/>
>    <PARAM name="entqr" value="3" original_value="3"/>
>    <RES SN="1" EN="2">
>     <M>2</M>
>     <FI/>
>     <XT/>
>     <R N="1" MIME="application/pdf">
>       <U>http://tda.dev.sapient.com/pdf/ExpandBABprogram.pdf</U>
>       <UE>http://tda.dev.sapient.com/pdf/ExpandBABprogram.pdf</UE>
>       <T>TD AMERITRADE INSTITUTIONAL PUTS ADVISORS ON THE <b>...</b></
> T>
>       <RK>4</RK>
>       <CRAWLDATE>1 Feb 2012</CRAWLDATE>
>       <ENT_SOURCE>T3-RVN38YXX3WSB2</ENT_SOURCE>
>       <FS NAME="date" VALUE="2009-10-09"/>
>       <S>Page 1. FOR IMMEDIATE RELEASE At the Company Kristin
> Petrick<br> Communications &amp; Public Affairs (402) 574-6569 kristin
> <b>...</b>  </S>
>       <LANG>en</LANG>
>       <HAS><L/><C SZ="" CID="vJl5nyYoNyAJ" ENC="UTF-8"/></HAS>
>      </R>
>    </RES>
>  </GSP>
> -----------------------------------------------
> It has the PARAM tags, but when we select 'Dynamic Navigation Option',
> it renders Dynamic Navigation results based on the below condition:

Those are not the right elements. PARAM elements reflect the input
values sent to the page, from the search form submission or wherever
they'd come from. You should have a separate PARM element below your
records, with your dynamic navigation fields in it.

Are you sure your documents actually have the metadata you're trying to use?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

swati maini

unread,
Feb 3, 2012, 5:06:53 AM2/3/12
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Hi

We are using web feeds and we are able to get and filter data based on
metadata. Our sampleFeed.xml looks like this:
------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE gsafeed PUBLIC "-//Google//DTD GSA Feeds//EN" "">
<gsafeed>
<header>
<datasource>samplefeed</datasource>
<feedtype>metadata-and-url</feedtype>
</header>
<group>
<record url="http://example.com/pdf/somePdf.pdf" action="add"
mimetype="application/pdf">
<metadata>
<meta name="audience" content="Sholay" />
<meta name="topic" content="Amitabh" />
<meta name="type" content="Hindi" />
</metadata>
</record>
<record url="http://example.com/pdf/somePdf2.doc" action="add"
mimetype="application/msword">
<metadata>
<meta name="audience" content="Love Actually" />
<meta name="topic" content="George Clooney" />
<meta name="type" content="English" />
</metadata>
</record>
</group>
</gsafeed>
-----------------------------------------------------------------------------------------------------------
Mentioning steps we followed to enable 'Dynamic Navigation':

1. Created three attributes as below under Serving -> Dynamic
Navigation:
Label Attribute Type Multi-
valued
AudienceCat audience String yes
TopicCat topic String yes
TypeCat Type String yes

2. Under Serving -> Front Ends, clicked 'Show Dynamic Navigation'
checkbox and saved Settings
-----------------------------------------------------------------------------------------------------------------

What might be the reason that I am not getting 'PARM' element in
search result XML? Even in the Search Result XML DTD, I cannot see
that element. Does it mean, it is not a valid element for Search
Result XML?

Thanks
Swati Maini
> Dave Watts, CTO, Fig Leaf Softwarehttp://www.figleaf.com/http://training.figleaf.com/

Jay Larson

unread,
Feb 3, 2012, 8:13:37 PM2/3/12
to Google-Search-...@googlegroups.com
maybe a silly question, but in your xslt, do you have this section configured properly?  

<!-- *** Dynamic Navigation *** -->
<xsl:variable name="show_dynamic_navigation">1</xsl:variable>
<xsl:variable name="dyn_nav_max_rows">6</xsl:variable>
<xsl:variable name="render_dynamic_navigation"><xsl:if
  test="$show_dynamic_navigation != '0' and count(/GSP/RES/PARM) > 0">1</xsl:if>
</xsl:variable>

Dave Watts

unread,
Feb 3, 2012, 11:39:55 PM2/3/12
to google-search-...@googlegroups.com
> Mentioning steps we followed to enable 'Dynamic Navigation':
>
> 1. Created three attributes as below under Serving -> Dynamic
> Navigation:
>
> ...

>
> 2.  Under Serving -> Front Ends, clicked 'Show Dynamic Navigation'
> checkbox and saved Settings
>
> What might be the reason that I am not getting 'PARM' element in
> search result XML? Even in the Search Result XML DTD, I cannot see
> that element. Does it mean, it is not a valid element for Search
> Result XML?

What version of the appliance software are you using? If you're using
a newer version, you also have to associate the dynamic navigation
configuration with the front end in question.

swati maini

unread,
Feb 4, 2012, 1:59:32 PM2/4/12
to Google-Search-...@googlegroups.com
Hi Jay

I am getting the parameters you have mentioned in the XSLT, but the problem is in the search result XML, I am not able to get '/GSP/RES/PARM'.

Thanks
Swati Maini

swati maini

unread,
Feb 4, 2012, 2:03:28 PM2/4/12
to Google-Search-...@googlegroups.com, google-search-...@googlegroups.com
Hi Dave

I am not sure of the version of the application s/w we are using, as I do not have access for the VM.

But, you can tell the step in detail which you think we might be missing. As I cannot see anywhere else where we are supposed to do entry for associating 'Dynamic Navigation' to a front end.

Thanks
Swati Maini

Dave Watts

unread,
Feb 4, 2012, 2:35:49 PM2/4/12
to google-search-...@googlegroups.com
> I am not sure of the version of the application s/w we are using, as I do
> not have access for the VM.

You can identify the software version by clicking any of the "About"
links at the bottom of every page in the admin console.

swati maini

unread,
Feb 4, 2012, 2:46:24 PM2/4/12
to google-search-...@googlegroups.com
application s/w version is 6.8.

Thanks
Swati Maini

Dave Watts

unread,
Feb 4, 2012, 3:51:47 PM2/4/12
to google-search-...@googlegroups.com
> application s/w version is 6.8.

Did you (or someone else) upgrade this appliance from a previous
software version? If so, did you choose the option to migrate the
existing index? If you did that, dynamic navigation won't work until
you reset the index. To be entirely honest, I'm not sure it'll work
even then - you might have to upgrade to a newer version. The problem
is, if you don't create the index from scratch, the index won't have
the necessary fields for storing dynamic navigation information.

Ashish

unread,
Feb 5, 2012, 7:24:38 AM2/5/12
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Hi Swati,

Have you checked that in dynamic navigation the attributes has been
applied on the specific frontend (check "Applied To Frontends")in ur
case it should be "tda_poc".

Let me know if you still face the issue.

On Feb 5, 1:51 am, Dave Watts <dwa...@figleaf.com> wrote:
> > application s/w version is 6.8.
>
> Did you (or someone else) upgrade this appliance from a previous
> software version? If so, did you choose the option to migrate the
> existing index? If you did that, dynamic navigation won't work until
> you reset the index. To be entirely honest, I'm not sure it'll work
> even then - you might have to upgrade to a newer version. The problem
> is, if you don't create the index from scratch, the index won't have
> the necessary fields for storing dynamic navigation information.
>
> Dave Watts, CTO, Fig Leaf Softwarehttp://www.figleaf.com/http://training.figleaf.com/

Ashish

unread,
Feb 5, 2012, 7:31:31 AM2/5/12
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Navigate to servings--> Dynamic navigations and check on the right
side "Applied To Frontends" .If you have missed to add correct
frontend then this may be the reason. So click on edit & add your
frontend there and save the configuration

swati maini

unread,
Feb 5, 2012, 11:48:57 AM2/5/12
to google-search-...@googlegroups.com
Hi Ashish

Thanks !!
We are using version 6.8. Here, when I click on 'Dynamic Navigation' it just gives button to enable or disable it. Also, we need to specify the list of attributes which needs to be added to 'Dynamic Navigation'.
It by default adds it to the front-ends.

Thanks
Swati Maini

swati maini

unread,
Feb 5, 2012, 11:57:31 AM2/5/12
to google-search-...@googlegroups.com
Hi Dave

Thanks!!
I am not sure whether we upgraded or not. I can get back to you on this in day or two. Because this is owned by someone else.

Is there anything that can be done, to get it working? Or, resetting the index can be one of the options. For that also, I need to check if we can do or not. Because, on this appliance some 2 or 3 projects work at a time.

Also, for Dynamic Navigation, XSLT have parameters(''/GSP/RES/PARM'). But when I look into the appliance Result XML DTD(http://bosgoogle01/google.dtd), there also I cannot see those parameters(PARM element). Hence, are they valid params or not?

Thanks
Swati Maini

Dave Watts

unread,
Feb 5, 2012, 12:06:14 PM2/5/12
to google-search-...@googlegroups.com
> Is there anything that can be done, to get it working? Or, resetting the
> index can be one of the options. For that also, I need to check if we can do
> or not. Because, on this appliance some 2 or 3 projects work at a time.

If the index hasn't been enabled to support dynamic navigation,
there's nothing you can do with the index as it stands.

> Also, for Dynamic Navigation, XSLT have parameters(''/GSP/RES/PARM'). But
> when I look into the appliance Result XML
> DTD(http://bosgoogle01/google.dtd), there also I cannot see those
> parameters(PARM element). Hence, are they valid params or not?

They are required parameters for dynamic navigation. I can tell you
that from personal experience. Whether they're valid or not is a
separate (and unimportant) issue. Validity simply means, conformance
to a DTD or schema. It doesn't look like the DTD has been updated to
include these elements, but again, they're needed for dynamic
navigation to work.

Ashish

unread,
Feb 5, 2012, 1:06:44 PM2/5/12
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Hi Swati,

To use dynamic navigation on a search appliance that has been updated
to release 6.8, you do not need to reset the index, but a recrawl of
the content (or resending of the content feeds) is required to index
the metadata used by dynamic navigation.

Recrawl if you have applied the dynamic navigation after indexing.

On Feb 5, 10:06 pm, Dave Watts <dwa...@figleaf.com> wrote:
> > Is there anything that can be done, to get it working? Or, resetting the
> > index can be one of the options. For that also, I need to check if we can do
> > or not. Because, on this appliance some 2 or 3 projects work at a time.
>
> If the index hasn't been enabled to support dynamic navigation,
> there's nothing you can do with the index as it stands.
>
> > Also, for Dynamic Navigation, XSLT have parameters(''/GSP/RES/PARM'). But
> > when I look into the appliance Result XML
> > DTD(http://bosgoogle01/google.dtd), there also I cannot see those
> > parameters(PARM element). Hence, are they valid params or not?
>
> They are required parameters for dynamic navigation. I can tell you
> that from personal experience. Whether they're valid or not is a
> separate (and unimportant) issue. Validity simply means, conformance
> to a DTD or schema. It doesn't look like the DTD has been updated to
> include these elements, but again, they're needed for dynamic
> navigation to work.
>
> Dave Watts, CTO, Fig Leaf Softwarehttp://www.figleaf.com/http://training.figleaf.com/

Dave Watts

unread,
Feb 5, 2012, 1:16:08 PM2/5/12
to google-search-...@googlegroups.com
> To use dynamic navigation on a search appliance that has been updated
> to release 6.8, you do not need to reset the index, but a recrawl of
> the content (or resending of the content feeds) is required to index
> the metadata used by dynamic navigation.

I'm pretty confident that this is completely, entirely wrong, despite
the fact that this is what the public documentation says. First, the
metadata used by dynamic navigation is the same metadata you use for
any other metadata-driven tasks: filtering using inmeta or
requiredfields/partialfields, displaying additional fields. Second,
the 6.8 release notes explicitly say that, if you want to use dynamic
navigation, you must not choose the option to migrate the index. From
the 6.8 installation notes (you need a login to the support portal to
read this online):

"About the Update Process

The update process updates the system and the software at the same
time, using two update files. During the process, you choose between
the following update paths:

Install the 6.8.0.G.30 system and software and recreate the index,
describe in Rebuilding the index. If you plan to use the new Dynamic
Navigation feature, choose this option.
Install the 6.8.0.G.30 system and software and migrate the
existing index data, describe in Migrating the index data. Do not use
this option if you plan to use the new Dynamic Navigation feature.

You can stop the update process at different points and revert to the
existing software version.

Installing the new software takes approximately one-half hour to
forty-five minutes. Depending on which update path you follow,
additional time is required for rebuilding the index or migrating the
index data.
Rebuilding the index

In this update path, you install the 6.8.0.G.30 system and software.
The Google Search Appliance crawls your content files and builds a new
search index.

Rebuilding the index through a fresh crawl of the content takes
approximately 1 hour per 5,000 to 100,000 documents, depending on the
number and type of documents crawled, the values set for host load
limits, the response time of the content servers and the latency and
capacity of your network. The time to rebuild the index will be
similar to the amount of time it took to create the original index.

If you decide to recreate the index, the search appliance's existing
index is deleted, then rebuilt during the new crawl.

Use this update path if you plan to use the new Dynamic Navigation feature."

swati maini

unread,
Feb 6, 2012, 11:36:40 AM2/6/12
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Can someone provide example of search result XML with 'Dynamic
Navigation' attributes?
> Dave Watts, CTO, Fig Leaf Softwarehttp://www.figleaf.com/http://training.figleaf.com/

Dave Watts

unread,
Feb 6, 2012, 11:42:30 AM2/6/12
to google-search-...@googlegroups.com

Ashish

unread,
Feb 11, 2012, 5:24:13 AM2/11/12
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Hi Dave,

http://code.google.com/apis/searchappliance/documentation/68/NewFeatures.html

On this link uder dynamic navigation it is written that:
To use dynamic navigation on a search appliance that has been updated
to release 6.8, you do not need to reset the index, but a recrawl of
the content (or resending of the content feeds) is required to index
the metadata used by dynamic navigation.

On Feb 6, 9:42 pm, Dave Watts <dwa...@figleaf.com> wrote:
> > Can someone provide example of search result XML with 'Dynamic
> > Navigation' attributes?
>
> http://gsa09.gsa.figleaf.com/search?q=new+york&btnG=Google+Search&acc...
>
> Dave Watts, CTO, Fig Leaf Softwarehttp://www.figleaf.com/http://training.figleaf.com/

Ashish

unread,
Feb 11, 2012, 5:29:31 AM2/11/12
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Hi Swati,

The first steps that you have mentioned where you defined label and
attributes on same page at the bottom there is
Frontends ...Please check. Your frontend should be in that list "Added
frontends" list. Then 2nd step is fine.


Thanks,
Ashish

Dave Watts

unread,
Feb 11, 2012, 10:42:40 AM2/11/12
to google-search-...@googlegroups.com
> http://code.google.com/apis/searchappliance/documentation/68/NewFeatures.html
>
> On this link uder dynamic navigation it is written that:
> To use dynamic navigation on a search appliance that has been updated
> to release 6.8, you do not need to reset the index, but a recrawl of
> the content (or resending of the content feeds) is required to index
> the metadata used by dynamic navigation.

You might want to reread my previous response more closely. The
release notes contradict the documentation.

swati maini

unread,
Feb 18, 2012, 12:31:21 PM2/18/12
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Hi

I raised this issue with Google Support. Please find reponse below:

On 6.8.0.G.30, dynamic navigation will work only with metadata that is
in the content itself, not metadata that is added through a feed. It
should work with a content feed if the metadata is part of the content
itself.

Because Dynamic Navigation in version 6.8.0.G.30 is a Preview feature,
it is not necessarily fully functional. After it was released, we
noticed the issue that you are having, and fixed it with a patch. If
you would like to use external metadata with Dynamic Navigation, you
should upgrade to version 6.8.0.G.30-P6

Related to this Use Case I have one more query, raising it as a
separate thread.

Thanks all for ur help !!


On Feb 11, 8:42 pm, Dave Watts <dwa...@figleaf.com> wrote:
> >http://code.google.com/apis/searchappliance/documentation/68/NewFeatu...
>
> > On this link uderdynamicnavigationit is written that:
> > To usedynamicnavigationon a search appliance that has been updated
> > to release 6.8, you do not need to reset the index, but a recrawl of
> > the content (or resending of the content feeds) is required to index
> > the metadata used bydynamicnavigation.
>
> You might want to reread my previous response more closely. The
> release notes contradict the documentation.
>
> Dave Watts, CTO, Fig Leaf Softwarehttp://www.figleaf.com/http://training.figleaf.com/

swati maini

unread,
Feb 18, 2012, 12:59:15 PM2/18/12
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Can someone share process for upgrading GSA 6.8.0.G.30 ->> 6.8.0.G.30-
P6 ??

I have the link, https://support.google.com/enterprise/doc/gsa/00/update_index_page.html,
but don't have credentials for the same (If it does not include
anything confidential).

Thanks
Swati Maini
Message has been deleted

Dave Watts

unread,
Feb 18, 2012, 1:03:41 PM2/18/12
to google-search-...@googlegroups.com
> Can someone share process for upgrading GSA  6.8.0.G.30 ->> 6.8.0.G.30-
> P6 ??
>
> I have the link, https://support.google.com/enterprise/doc/gsa/00/update_index_page.html,
> but don't have credentials for the same (If it does not include
> anything confidential).

If you raised the issue with Google support successfully, you can
either (a) use the same credentials you used for that, or (b) ask them
for valid credentials to access the support site.

The process is just like any other upgrade, really - you go to Version
Manager and install it.

http://your_gsa:9941/

You'll need the initial admin account to log into Version Manager.

Reply all
Reply to author
Forward
0 new messages