[SPT/CWIS] advanced search and release flag

davide battistin davidebattistin at gmail.com
Thu Oct 11 02:16:34 CDT 2007


I followed your instructions and the result - searching for 'dominio'
and knowing that a number of my non-fully-published-records contains
that word - was:



SE: In GroupedSearch() with 1 search groups
SE: ----- GROUP ---------------------------
SE: Searching text field "Description" for string " dominio"
SE: Normalized search string is 'dominio'
SE: Word identified (dominio)
SE: Searching for word 'dominio' in field Description
SE: Looking up word "dominio"
SE: Have 6 results after word search
SE: Have 6 results before filter callbacks
SE: Ended up with 6 results

This happens both with advanced and simple search. Of course there has
to be something wrong with the metadata field setup. I took a look at
my SPT - the one I have installed as localhost, because I cannot
access the original one - and I didn't see anything wrong in the
metada field Release flag, not even in its corrispondent field in the
database as seen through phpmyadmin.

ps: in my setup release flag is set metadata tool only, not in
included in simple nor in advanced search, but I guess this doesn't
mean much.

thanks

kind regards

davide battistin

2007/10/11, Edward Almasy <ealmasy at scout.wisc.edu>:
> On Oct 10, 2007, at 3:45 AM, davide battistin wrote:
> > I'm writing from Italy. We are about to publish our SPT, but there is
> > one problem : the advanced search allows to see the not ok for viewing
> > resources, even if I perform the search as an anonimous user without
> > any kind of privilege. Is there something we could do in the code?
>
>    We haven't been able to reproduce the
>    problem here.  Has anyone else run into
>    a similar issue?
>
>    One thing that may help reveal the
>    source of the difficulty is to add the
>    debug trigger "DBUGLVL=4" to the start
>    of the text you're searching for.  So,
>    for example, you would enter:
>        DBUGLVL=4 geometry lesson
>    into the quick search box.  This will
>    cause the search engine to output some
>    additional diagnostic info.
>
>    If the search is correctly filtering
>    out unreleased resources, the diagnostic
>    info should include a line like:
>      SE: added comparison (field = Release Flag op = = val = 1)
>    If it doesn't, then something is probably
>    wrong with your metadata field setup.
>
>    Ed
>
>
> ---
>    Edward Almasy
> ealmasy at scout.wisc.edu
>    Co-Director                                         1210 W Dayton
> Street
>    Internet Scout                                          Madison
> WI 53706
>    Computer Sciences Department                        608-262-6606
> (voice)
>    University of Wisconsin - Madison
> 608-265-9296 (fax)
>
>
>
> _______________________________________________
> SPT-CWIS-Users mailing list
> SPT-CWIS-Users at scout.wisc.edu
> http://www.scout.wisc.edu/mailman/listinfo/spt-cwis-users
>



More information about the SPT-CWIS-Users mailing list