Dynamic Navigation links does not return the matches

52 views
Skip to first unread message

Sumithra

unread,
Aug 15, 2012, 5:33:03 PM8/15/12
to Google-Search-...@googlegroups.com
Hello,

GSA Dynamic navigation in my website is rendered the first time of each search. It is rendered correctly along with the search results. When I click on the dynamic navigation links that are displayed, I get the error there are no matches found. Below is my URL. When I click on the dynamic navigation links it submits the following request. The 'dnavs' parameter is present in the URL and it has the sub-category name as 'prd_cat' and the value as 'International' which matches to the link I clicked on the navigation.

https://localhost:7006/search.do?access=p&output=xml_no_dtd&client=dynamic_nav2&proxyreload=1&proxystylesheet=dynamic_nav2&getfields=*&site=FTTUS_FA_qa1&site=FTTUS_FA_qa1&q=funds+inmeta:prd_cat%3DInternational&dnavs=inmeta:prd_cat%3DInternational

I get the following error message:

Your search - funds inmeta:prd_cat=International - did not match any documents.
No pages were found containing "funds inmeta:prd_cat=International".

Does anybody has any idea on what is going wrong here. Even though in the dynamic navigation link it shows there are 420 matches, when I click on the link I get the error saying there are no matches. I debugged to see if the call goes to GSA and it does. GSA responds back with the html saying the above error message. Why is GSA not able to find the matches?

Thanks,
Sumithra.

Mathias Bierl

unread,
Aug 15, 2012, 6:00:08 PM8/15/12
to Google-Search-...@googlegroups.com
Did you check the results and the corresponding meta tags that there is exactly the value "International" in the meta tag prd_cat ? (by using the xml output of the results and the parameter getfields=prd_cat)
Do you use the default style sheet or a customized one ?

Sumithra

unread,
Aug 15, 2012, 7:41:49 PM8/15/12
to Google-Search-...@googlegroups.com
On Wednesday, August 15, 2012 3:00:08 PM UTC-7, Mathias Bierl wrote:
Did you check the results and the corresponding meta tags that there is exactly the value "International" in the meta tag prd_cat ? (by using the xml output of the results and the parameter getfields=prd_cat)
Do you use the default style sheet or a customized one ?

The results are not returned if I click on the dynamic navigation links. Hence I couldn't verify if the results have anything matching the meta tag 'prd_cat'.

It is not working in default style sheet too.

If I type anything directly in the search box, GSA returns the results along with the dynamic navigation links. When I click on the navigation links there are no results and GSA returns the response: "Your search - funds inmeta:prd_cat=International - did not match any documents."

But this same url and query string with 'dnavs' returns results fine in the GSA server. I have a proxy to connect to my GSA host and to send the request.

Is there any other services that need to be proxied for Dynamic navigation? My understanding was it is the same /search service with additional url parameter 'dnavs'. When I click on the dynamic navigation link, GSA adds the inmeta attribute. Why is GSA not able to process the new search query with the inmeta attribute added to it? 

Thanks,
Sumithra 

Mathias Bierl

unread,
Aug 16, 2012, 11:26:31 AM8/16/12
to Google-Search-...@googlegroups.com
You misunderstood me. I mean that on this result page you got results when you remove the proxystylesheet parameter: Do you see there the meta tag prd_cat and which value is exactly inside this of one of the expected results

Sumithra

unread,
Aug 16, 2012, 2:44:29 PM8/16/12
to Google-Search-...@googlegroups.com
On Thursday, August 16, 2012 8:26:31 AM UTC-7, Mathias Bierl wrote:
You misunderstood me. I mean that on this result page you got results when you remove the proxystylesheet parameter: Do you see there the meta tag prd_cat and which value is exactly inside this of one of the expected results
 
Thanks for the details. Thank you so much for helping me debug. It was very helpful.
 
I looked at the xml output by removing the proxystylesheet parameter and adding getfields parameter to the one I need. The search didn't return the results. My proxy was adding a different collection using the site parameter. When I remove the site parameter it returns the results. I still need to test it out throughly. For now I figured out the issue.
 
Thanks,
Sumithra.

Michael Cizmar

unread,
Aug 23, 2012, 10:27:07 PM8/23/12
to Google-Search-...@googlegroups.com
Be also mindful that you are proxying the dynamic and therefore need to encode or double encode the filters.

Barry Rowe

unread,
Nov 7, 2012, 10:26:21 AM11/7/12
to Google-Search-...@googlegroups.com
Sumithra,
 
I'm running into the exact same problem you're seeing, and I've tracked down the problem in my case.  What seems to be happening is the Dynamic Navigation links are not only appending the dnavs= query parameter, but also adding "+inmeta:metaTagNam%3Dvalue" to the "q" query parameter, which fails to find any results. For example I get this url from a dynamic link:
 
 
which returns no results, but if I modify the q parameter, and pull off the +inmeta:categories%3Duser, and just leave the "dnavs" parameter (like below), I get my results back properly. This seems like a bug to me.  Have you seen the same behavior?
 

Jeremy Garreau

unread,
Nov 8, 2012, 2:23:38 PM11/8/12
to Google-Search-...@googlegroups.com
Hi Barry,

Are you using 7.0 or 6.14 ? If yes, did you enable metadata expansion under query settings ?

If yes, try to disable the feature, it might be linked :)

Barry Rowe

unread,
Nov 14, 2012, 3:28:31 PM11/14/12
to Google-Search-...@googlegroups.com
Jeremy,
 
I am using v6.014
 
I believe I may not have been getting proper results, due to incomplete indexes.  I had just pushed several feed results to the GSA earlier in the day when I was seeing this issue.  I don't see the problem at this point, though sometimes when I select a dynamic navigation link, I end up with many more results for the filtered resultset than the original query result.  (it's like the original query terms are being ignored).
 
I do have another question though:
 
Is it possible to have the dynamic navigation information returned in XML output for a search?  As in, I want to get the result set back in XML, but I want the Dynamic Navigation information included.  I can't find a combination of query parameters that will provide this, though it seems it is possible according to this blog post: https://doitsaas.zendesk.com/entries/21741681-dynamic-navigation-in-your-own-search-app 
 
Thank you,
Barry

Mathias Bierl

unread,
Nov 14, 2012, 3:32:03 PM11/14/12
to Google-Search-...@googlegroups.com
This is the normal behaviour. The dynamic results are a seperate node in the return xml

Barry Rowe

unread,
Nov 14, 2012, 4:04:28 PM11/14/12
to Google-Search-...@googlegroups.com
Thanks, I figured out what I was doing incorrectly.  I wasn't providing both the client and proxystylesheet parameters when I was setting the output=xml_no_dtd.  I can see the Dynamic navigation information in the request now in the PARM node of the <RES> node using a url like:
 
 
This gets me where I need to go I think!  I'm working on updated a xslt that transforms results to JSON to include the dynamic navigation information when present.
 
Thanks,
Barry
Reply all
Reply to author
Forward
0 new messages