(Pdb) catalog.searchResults(AbbreviationIndex = ABC)
*** TypeError: ('two-length tuple expected', 'ABC')
(Pdb) catalog.searchResults([AbbreviationIndex ,ABC])
*** TypeError: searchResults() takes exactly 1 argument (2 given)
(Pdb) res = catalog.searchResults()
(Pdb) res == None
True
How
Am Sonntag, 21. Mai 2006 17:58 schrieb mats.nordgren:
(Pdb) catalog.searchResults(AbbreviationIndex = ABC)
*** TypeError: ('two-length tuple expected', 'ABC')
(Pdb) catalog.searchResults([AbbreviationIndex ,ABC])
*** TypeError: searchResults() takes exactly 1 argument (2 given)
(Pdb)
On Sun, 2006-05-21 at 18:49 +0200, Florian Lindner wrote:
Am Sonntag, 21. Mai 2006 17:58 schrieb mats.nordgren:
Have you tried
catalog.searchResults(idx=('AbbreviationIndex', 'ABC'))
Do you mean idx as a placeholder for something or really idx?
idx would be your index name. I think
My bad, should be
catalog.searchResults(AbbreviationIndex=('ABC', 'ABC')
Field indices expect a high and low as Alen stated
Sincerely,
Mats
On Sun, 21 May 2006 18:49:46 +0200, Florian Lindner wrote
Am Sonntag, 21. Mai 2006 17:58 schrieb mats.nordgren:
(Pdb)