Hi Alexander,

Don't worry about the access to your installation, we will manage to fix this without it.

About the order of the operators, they are chained from left to right (as described here: <http://invenio-demo.cern.ch/help/search-guide#boolean>) so maybe we can modify a bit your query to remove the parenthesis:

Could you try:

915__:'StatID:(DE-HGF)0100' OR 915__:'StatID:(DE-HGF)0110' AND 9201_:'I:(DE-Juel1)ZB-20090406'


Cheers,
Ludmila



On 10/01/2012 03:43 PM, Alexander Wagner wrote:
On 01.10.2012 15:17, Ludmila Marian wrote:

Hello Ludmila!

Thank you for your very quick response! :)

BTW: The above is a simplified query, the full flexed thing would be:

9201_:'I:(DE-Juel1)ZB-20090406' AND (915__:'StatID:(DE-HGF)0100' OR
915__:'StatID:(DE-HGF)0110')

though I guess that the quotes prevent anything strange to happen.



I've tried a similar, less complex though, query on invenio-demo, and it
does as expected:
<http://invenio-demo.cern.ch/search?p=author%3Aellis+AND+%28title%3Asupergravity+OR+title%3Acosmological%29>

so I'm thinking maybe the problem comes from the parenthesis inside the
quotes

Urgh. This would be somewhat nasty, indeed as we have a bunch of them in
all our authority IDs (modelled from Christians thesis).

(they might not be well matched by the query parser)
Is there a public Invenio instance where I could try your exact query?

Hm, I fear not at the moment, Stefan has to few records and we are a bit
to much protected. Probably I could arrange for an ssh-tunnel if I give
you an ssh-login on our box, but I'll have to check. (They're a bit
restrictive here as well.)

Anyway, I fear your idea with the parantheses is right. In the very
example I can in fact drop the prefixes at the moment, and indeed till

9201_:'I:(DE-Juel1)ZB-20090406' AND (915__:'0100' OR 915__:'0110')

it works as expected, but as soon as I add the parantheses to either
search term in 915__: <boom>

As I fear we can not get along with stripping those parts in general, is
there a way to escape/masquerade them here in some way?

If not, could you please append at the end of the query '&verbose=9' and
send me the output concerning the basic search units? (I would like to
check if they are correctly computed)

You mean this log?
-----------------------------------------------------------------------------
wash_colls debugging info :

1) --- initial parameters ---
cc : JuSER
c : ['JuSER']

2) --- after check for the integrity of cc and the being or not c a list ---
cc : JuSER
c : ['JuSER']

3) --- keeping only the real colls of c ---
colls : ['JuSER']

4) --- in case no colls were left we use cc directly ---
colls : ['JuSER']

5) --- decide whether colls_out_for_diplay should be colls or is it
sufficient for it to be cc; remove duplicates ---
colls_out_for_display : ['JuSER']

6) --- remove collections that have ancestors about to be search, unless
they are hosted ---
colls_out_for_display : ['JuSER']

7) --- calculate the hosted_colls_out ---
hosted_colls_out : []

8) --- calculate the colls_out; remove duplicates ---
colls_out : ['VDB', 'VDBINPRINT', 'FullTexts', 'Authorities', 'InstColl']

9) --- remove the hosted_colls from the colls_out ---
colls_out : ['VDB', 'VDBINPRINT', 'FullTexts', 'Authorities', 'InstColl']

Hosted collections (perform_search_request): there were no hosted
collections to be searched

Search stage 1: basic search units are: [['+',
'%I:(DE-Juel1)ZB-20090406%', '9201_', 'a'], ['+',
"(915__:'StatID:(DE-HGF)0100'", '', 'w'], ['|',
"'StatID:(DE-HGF)0110')", '915__', 'w']]

Search stage 1: execution took 0.00 seconds.

Search stage 1: pattern %I:(DE-Juel1)ZB-20090406% gave hitlist
intbitset([7852, 8364, 15578, 15579, 15594, ..., 131346, 131349, 131353,
131354, 131356])

Search stage 1: pattern (915__:'StatID:(DE-HGF)0100' gave hitlist
intbitset([])

Search stage 1: pattern 'StatID:(DE-HGF)0110') gave hitlist intbitset([])

Search stage 2: basic search unit ['%I:(DE-Juel1)ZB-20090406%', '9201_',
'a'] gave 456 hits.

Search stage 2: basic search unit ["(915__:'StatID:(DE-HGF)0100'", '',
'w'] gave 0 hits.

Search stage 2: basic search unit ["'StatID:(DE-HGF)0110')", '915__',
'w'] gave 0 hits.

Search stage 2: execution took 0.01 seconds.

Boolean query returned no hits. Please combine your search terms
differently.

    456                'I:(DE-Juel1)ZB-20090406'
    0          (915__:'StatID:(DE-HGF)0100'
    0          'StatID:(DE-HGF)0110')



Search stage 3: boolean query gave 0 hits.

Search stage 3: execution took 0.00 seconds.

External collection (print_external_results_overview): pattern =
9201_:'I:(DE-Juel1)ZB-20090406' AND (915__:'StatID:(DE-HGF)0100' OR
915__:'StatID:(DE-HGF)0110')

External collection (print_external_results_overview):
basic_search_units = [['+', '%I:(DE-Juel1)ZB-20090406%', '9201_', 'a'],
['+', "(915__:'StatID:(DE-HGF)0100'", '', 'w'], ['|',
"'StatID:(DE-HGF)0110')", '915__', 'w']]

External collection (print_external_results_overview): search_engines =
set([])

External collection (print_external_results_overview): seealso_engines =
set([ec:CiteSeer, ec:Google Web, ec:INSPEC, ec:KISS Books/Journals,
ec:SPIRES HEP, ec:Google Scholar, ec:Google Books, ec:KISS Preprints,
ec:CERN Indico, ec:CERN Intranet, ec:Amazon, ec:ISO, ec:Scirus, ec:IHS,
ec:IEC, ec:NEBIS, ec:SLAC Library Catalog, ec:CERN EDMS])

External collection (print_external_results_overview):
search_engines_list (sorted) : []

External collection: beginning external search

External collection: Create seealso box

External collection: seealso_engines_list = [ec:Amazon, ec:CERN EDMS,
ec:CERN Indico, ec:CERN Intranet, ec:CiteSeer, ec:Google Books,
ec:Google Scholar, ec:Google Web, ec:IEC, ec:IHS, ec:INSPEC, ec:ISO,
ec:KISS Books/Journals, ec:KISS Preprints, ec:NEBIS, ec:SLAC Library
Catalog, ec:SPIRES HEP, ec:Scirus]
-----------------------------------------------------------------------------

--

Kind regards,

Alexander Wagner
Subject Specialist
Central Library
52425 Juelich

mail : [email protected]
phone: +49 2461 61-1586
Fax  : +49 2461 61-6103
www.fz-juelich.de/zb/DE/zb-fi


------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------

Kennen Sie schon unsere app? http://www.fz-juelich.de/app


--
Ludmila Marian ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to