Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: kinosearch: discuss

delete_by_term problem?

 

 

kinosearch discuss RSS feed   Index | Next | Previous | View Threaded


dmarkham at gmail

Sep 7, 2008, 9:31 PM

Post #1 of 2 (3479 views)
Permalink
delete_by_term problem?

I can do searches by "svid:foo" but it does not like me deleting docs by svid..
I think I'm using it correctly...

$invindexer->delete_by_term( svid => $svid);
Invalid parameter: 'svid' at xs/XSBind.c:314 kino_XSBind_allot_params
at build_index.pl line 54

anyone seen this?

-Dan

_______________________________________________
KinoSearch mailing list
KinoSearch [at] rectangular
http://www.rectangular.com/mailman/listinfo/kinosearch


marvin at rectangular

Sep 7, 2008, 10:13 PM

Post #2 of 2 (3207 views)
Permalink
Re: delete_by_term problem? [In reply to]

On Sep 7, 2008, at 9:31 PM, Dan wrote:

> $invindexer->delete_by_term( svid => $svid);
> Invalid parameter: 'svid' at xs/XSBind.c:314 kino_XSBind_allot_params
> at build_index.pl line 54

The API changed in trunk, to be parallel with several other APIs. It
now takes labeled params:

$invindexer->delete_by_term(
field => 'svid',
term => $svid,
);

Marvin Humphrey
Rectangular Research
http://www.rectangular.com/


_______________________________________________
KinoSearch mailing list
KinoSearch [at] rectangular
http://www.rectangular.com/mailman/listinfo/kinosearch

kinosearch discuss RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.