List Info

Thread: force public and secure search




force public and secure search
country flaguser name
United States
2007-08-03 09:49:19
I'm sure this has been answered before but I can't seem to
find any
answers for this.

I know how to hide the "Public" and "Public
and Secure" radio buttons
from the front end, but doing so forces only Public search. 
How can I
force Public and Secure search in the XSLT?  I found several
related
settings but there's so many if statements I don't know
which value to
change.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google Search Appliance" group.
To post to this group, send email to
Google-Search-Appliancegooglegroups.com
To unsubscribe from this group, send email to
Google-Search-Appliance-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Google-Search-Applian
ce?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: force public and secure search
country flaguser name
United States
2007-08-03 11:32:45
You can try the following to change the value of the access
parameter
used when no value is explicitly given in the URL. In the
"Search
Parameters" section of the XSLT change:

<xsl:variable name="access">
  <xsl:choose>
    <xsl:when test="/GSP/PARAM[(name='access') and ((value='s') or
(value='a'))]">
      <xsl:value-of select="/GSP/PARAM[name='access']/
original_value"/>
    </xsl:when>
    <xsl:otherwise>p</xsl:otherwise>
  </xsl:choose>
</xsl:variable>

to

<xsl:variable name="access">
  <xsl:choose>
    <xsl:when test="/GSP/PARAM[(name='access') and ((value='s') or
(value='p'))]">
      <xsl:value-of select="/GSP/PARAM[name='access']/
original_value"/>
    </xsl:when>
    <xsl:otherwise>a</xsl:otherwise>
  </xsl:choose>
</xsl:variable>

If you the hide the buttons this should have the required
effect.

Thor.

On Aug 3, 3:49 pm, "7lay...gmail.com"
<7lay...gmail.com> wrote:
> I'm sure this has been answered before but I can't seem
to find any
> answers for this.
>
> I know how to hide the "Public" and
"Public and Secure" radio buttons
> from the front end, but doing so forces only Public
search.  How can I
> force Public and Secure search in the XSLT?  I found
several related
> settings but there's so many if statements I don't know
which value to
> change.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google Search Appliance" group.
To post to this group, send email to
Google-Search-Appliancegooglegroups.com
To unsubscribe from this group, send email to
Google-Search-Appliance-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Google-Search-Applian
ce?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: force public and secure search
country flaguser name
United States
2007-08-03 12:26:38
This doesn't seem to work.  I hid the radio buttons and
replaced the
old code with yours but it still only does a public search
with zero
results.  I tried appending &proxyreload=1 but the same
thing
happened.  I then tried appending &access=a and it
successfully showed
secure content.

I'll try again in 30 minutes.  Sometimes I've found the GSA
needs a
little "me time" before a new front end starts
working.

On Aug 3, 12:32 pm, Thor <thor.mitch...gmail.com> wrote:
> You can try the following to change the value of the
access parameter
> used when no value is explicitly given in the URL. In
the "Search
> Parameters" section of the XSLT change:
>
> <xsl:variable name="access">
>   <xsl:choose>
>     <xsl:when test="/GSP/PARAM[(name='access') and ((value='s') or
> (value='a'))]">
>       <xsl:value-of select="/GSP/PARAM[name='access']/
> original_value"/>
>     </xsl:when>
>     <xsl:otherwise>p</xsl:otherwise>
>   </xsl:choose>
> </xsl:variable>
>
> to
>
> <xsl:variable name="access">
>   <xsl:choose>
>     <xsl:when test="/GSP/PARAM[(name='access') and ((value='s') or
> (value='p'))]">
>       <xsl:value-of select="/GSP/PARAM[name='access']/
> original_value"/>
>     </xsl:when>
>     <xsl:otherwise>a</xsl:otherwise>
>   </xsl:choose>
> </xsl:variable>
>
> If you the hide the buttons this should have the
required effect.
>
> Thor.
>
> On Aug 3, 3:49 pm, "7lay...gmail.com"
<7lay...gmail.com> wrote:
>
> > I'm sure this has been answered before but I can't
seem to find any
> > answers for this.
>
> > I know how to hide the "Public" and
"Public and Secure" radio buttons
> > from the front end, but doing so forces only
Public search.  How can I
> > force Public and Secure search in the XSLT?  I
found several related
> > settings but there's so many if statements I don't
know which value to
> > change.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google Search Appliance" group.
To post to this group, send email to
Google-Search-Appliancegooglegroups.com
To unsubscribe from this group, send email to
Google-Search-Appliance-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Google-Search-Applian
ce?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: force public and secure search
country flaguser name
United States
2007-08-03 14:06:09
You're absolutely right. I missed a step. 

I'm pretty sure I know where but I want to actually test it
this time,
and as it's now 8pm here and I'm meant to be going out this
evening
I'm afraid it will have to wait!

Thor.

On Aug 3, 6:26 pm, "7lay...gmail.com"
<7lay...gmail.com> wrote:
> This doesn't seem to work.  I hid the radio buttons and
replaced the
> old code with yours but it still only does a public
search with zero
> results.  I tried appending &proxyreload=1 but the
same thing
> happened.  I then tried appending &access=a and it
successfully showed
> secure content.
>
> I'll try again in 30 minutes.  Sometimes I've found the
GSA needs a
> little "me time" before a new front end
starts working.
>
> On Aug 3, 12:32 pm, Thor <thor.mitch...gmail.com> wrote:
>
> > You can try the following to change the value of
the access parameter
> > used when no value is explicitly given in the URL.
In the "Search
> > Parameters" section of the XSLT change:
>
> > <xsl:variable name="access">
> >   <xsl:choose>
> >     <xsl:when test="/GSP/PARAM[(name='access') and ((value='s') or
> > (value='a'))]">
> >       <xsl:value-of
select="/GSP/PARAM[name='access']/
> > original_value"/>
> >     </xsl:when>
> >     <xsl:otherwise>p</xsl:otherwise>
> >   </xsl:choose>
> > </xsl:variable>
>
> > to
>
> > <xsl:variable name="access">
> >   <xsl:choose>
> >     <xsl:when test="/GSP/PARAM[(name='access') and ((value='s') or
> > (value='p'))]">
> >       <xsl:value-of
select="/GSP/PARAM[name='access']/
> > original_value"/>
> >     </xsl:when>
> >     <xsl:otherwise>a</xsl:otherwise>
> >   </xsl:choose>
> > </xsl:variable>
>
> > If you the hide the buttons this should have the
required effect.
>
> > Thor.
>
> > On Aug 3, 3:49 pm, "7lay...gmail.com" <7lay...gmail.com> wrote:
>
> > > I'm sure this has been answered before but I
can't seem to find any
> > > answers for this.
>
> > > I know how to hide the "Public" and
"Public and Secure" radio buttons
> > > from the front end, but doing so forces only
Public search.  How can I
> > > force Public and Secure search in the XSLT? 
I found several related
> > > settings but there's so many if statements I
don't know which value to
> > > change.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google Search Appliance" group.
To post to this group, send email to
Google-Search-Appliancegooglegroups.com
To unsubscribe from this group, send email to
Google-Search-Appliance-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Google-Search-Applian
ce?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: force public and secure search
country flaguser name
United States
2007-08-03 14:24:48
Enjoy your weekend and thanks for your help!  This certainly
isn't
mission critical today so it can wait.

On Aug 3, 3:06 pm, Thor <thor.mitch...gmail.com> wrote:
> You're absolutely right. I missed a step. 
>
> I'm pretty sure I know where but I want to actually
test it this time,
> and as it's now 8pm here and I'm meant to be going out
this evening
> I'm afraid it will have to wait!
>
> Thor.
>
> On Aug 3, 6:26 pm, "7lay...gmail.com"
<7lay...gmail.com> wrote:
>
> > This doesn't seem to work.  I hid the radio
buttons and replaced the
> > old code with yours but it still only does a
public search with zero
> > results.  I tried appending &proxyreload=1 but
the same thing
> > happened.  I then tried appending &access=a
and it successfully showed
> > secure content.
>
> > I'll try again in 30 minutes.  Sometimes I've
found the GSA needs a
> > little "me time" before a new front end
starts working.
>
> > On Aug 3, 12:32 pm, Thor <thor.mitch...gmail.com> wrote:
>
> > > You can try the following to change the value
of the access parameter
> > > used when no value is explicitly given in the
URL. In the "Search
> > > Parameters" section of the XSLT change:
>
> > > <xsl:variable name="access">
> > >   <xsl:choose>
> > >     <xsl:when test="/GSP/PARAM[(name='access') and ((value='s') or
> > > (value='a'))]">
> > >       <xsl:value-of
select="/GSP/PARAM[name='access']/
> > > original_value"/>
> > >     </xsl:when>
> > >    
<xsl:otherwise>p</xsl:otherwise>
> > >   </xsl:choose>
> > > </xsl:variable>
>
> > > to
>
> > > <xsl:variable name="access">
> > >   <xsl:choose>
> > >     <xsl:when test="/GSP/PARAM[(name='access') and ((value='s') or
> > > (value='p'))]">
> > >       <xsl:value-of
select="/GSP/PARAM[name='access']/
> > > original_value"/>
> > >     </xsl:when>
> > >    
<xsl:otherwise>a</xsl:otherwise>
> > >   </xsl:choose>
> > > </xsl:variable>
>
> > > If you the hide the buttons this should have
the required effect.
>
> > > Thor.
>
> > > On Aug 3, 3:49 pm, "7lay...gmail.com" <7lay...gmail.com> wrote:
>
> > > > I'm sure this has been answered before
but I can't seem to find any
> > > > answers for this.
>
> > > > I know how to hide the
"Public" and "Public and Secure" radio
buttons
> > > > from the front end, but doing so forces
only Public search.  How can I
> > > > force Public and Secure search in the
XSLT?  I found several related
> > > > settings but there's so many if
statements I don't know which value to
> > > > change.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google Search Appliance" group.
To post to this group, send email to
Google-Search-Appliancegooglegroups.com
To unsubscribe from this group, send email to
Google-Search-Appliance-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Google-Search-Applian
ce?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: force public and secure search
country flaguser name
United States
2007-08-07 14:59:17
bump 

If anyone can address this I'd appreciate it very, very
much!  I
simply can't trust users to remember to click the Public and
Secure
radio button every time.  This is a design flaw of the GSA
UI in my
opinion.

On Aug 3, 3:24 pm, "7lay...gmail.com"
<7lay...gmail.com> wrote:
> Enjoy your weekend and thanks for your help!  This
certainly isn't
> mission critical today so it can wait.
>
> On Aug 3, 3:06 pm, Thor <thor.mitch...gmail.com> wrote:
>
> > You're absolutely right. I missed a step. 
>
> > I'm pretty sure I know where but I want to
actually test it this time,
> > and as it's now 8pm here and I'm meant to be going
out this evening
> > I'm afraid it will have to wait!
>
> > Thor.
>
> > On Aug 3, 6:26 pm, "7lay...gmail.com" <7lay...gmail.com> wrote:
>
> > > This doesn't seem to work.  I hid the radio
buttons and replaced the
> > > old code with yours but it still only does a
public search with zero
> > > results.  I tried appending
&proxyreload=1 but the same thing
> > > happened.  I then tried appending
&access=a and it successfully showed
> > > secure content.
>
> > > I'll try again in 30 minutes.  Sometimes I've
found the GSA needs a
> > > little "me time" before a new front
end starts working.
>
> > > On Aug 3, 12:32 pm, Thor
<thor.mitch...gmail.com> wrote:
>
> > > > You can try the following to change the
value of the access parameter
> > > > used when no value is explicitly given
in the URL. In the "Search
> > > > Parameters" section of the XSLT
change:
>
> > > > <xsl:variable
name="access">
> > > >   <xsl:choose>
> > > >     <xsl:when
test="/GSP/PARAM[(name='access') and ((value='s') or
> > > > (value='a'))]">
> > > >       <xsl:value-of
select="/GSP/PARAM[name='access']/
> > > > original_value"/>
> > > >     </xsl:when>
> > > >    
<xsl:otherwise>p</xsl:otherwise>
> > > >   </xsl:choose>
> > > > </xsl:variable>
>
> > > > to
>
> > > > <xsl:variable
name="access">
> > > >   <xsl:choose>
> > > >     <xsl:when
test="/GSP/PARAM[(name='access') and ((value='s') or
> > > > (value='p'))]">
> > > >       <xsl:value-of
select="/GSP/PARAM[name='access']/
> > > > original_value"/>
> > > >     </xsl:when>
> > > >    
<xsl:otherwise>a</xsl:otherwise>
> > > >   </xsl:choose>
> > > > </xsl:variable>
>
> > > > If you the hide the buttons this should
have the required effect.
>
> > > > Thor.
>
> > > > On Aug 3, 3:49 pm, "7lay...gmail.com" <7lay...gmail.com> wrote:
>
> > > > > I'm sure this has been answered
before but I can't seem to find any
> > > > > answers for this.
>
> > > > > I know how to hide the
"Public" and "Public and Secure" radio
buttons
> > > > > from the front end, but doing so
forces only Public search.  How can I
> > > > > force Public and Secure search in
the XSLT?  I found several related
> > > > > settings but there's so many if
statements I don't know which value to
> > > > > change.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google Search Appliance" group.
To post to this group, send email to
Google-Search-Appliancegooglegroups.com
To unsubscribe from this group, send email to
Google-Search-Appliance-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Google-Search-Applian
ce?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )