On 26.02.2013 18:31, Tibor Simko wrote:

Hi!

On Wed, 20 Feb 2013, Alexander Wagner wrote:
I understood this but didn't understand why the high level api
returned more results for query that went basically exact match on
logical field x. I guess I'll understand that from the docs, and if
not I'll ask again :)

Usually it is the other way round, i.e. p_r_s() returns less hits than
s_p().  This is because p_r_s() filters collections while s_p() searches
regardless of collection.  Hence the latter may get restricted records,
deleted records, and whatnot.  Was it really the other way round,
p_r_s() giving more records than s_p() in your case?  If so, we should
have closer look.

It is indeed as I described.

But as far as I understand it (here you're the experts) this stems from
the fact that search_pattern() does not really like a complex query like
"pub:2008->2012", right?

I admit I used search_pattern() mainly cause it returned an intbitset
straight away. (I've to do bean counting at the moment it is convenient
to use intersect, difference, union and friends.) However, I feel I
really want something like
intbitset(perform_request_search(p=searchstring)) instead, allowing for
the more advanced parameters of p_r_s() and the identical results
compared to the usual websearch, ie. I don't have to take care of
deleted records and such.

--

Kind regards,

Alexander Wagner
Subject Specialist
Central Library
52425 Juelich

mail : a.wag...@fz-juelich.de
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
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Reply via email to