Displaying 10 results from an estimated 10 matches for "get_metadata".
Did you mean:
set_metadata
2004 Oct 17
0
Question about ices and stream information
...: 834
Error opening No record at -1: Error opening: No such file or directory
Executing get_next() function... tracknum: 834
Executing get_lineno() function... start: 834
Exiting get_lineno, end: 679
Playing /downloads/mp3s/Underworld/Underworld - Rez.mp3 // This is track 834 in the db
Executing get_metadata function - tracknum 679
Mounted on http://localhost:8000/ices
Executing get_metadata function - tracknum 679
forcing to the next track (SIGUSR1), the following is displayed on the console:
Executing get_next() function... tracknum: 679
Executing get_lineno() function... start: 679
Exiting get_lin...
2016 Jan 09
1
synonym expansion for boolean prefixes.
...match the current configuration,
>> > so it's not as dynamic as the above.
>>
>> Well, the configuration needs to be somewhere. Would it make sense to
>> from a performance point of view to be looking up foo_tag_term in
>> document metadata?
>
> Calling get_metadata() is pretty much exactly equivalent to reading the
> synonyms for a term - both read one Btree entry, just from different
> tables.
Just this morning I realized any lookup would happen during query parsing,
which seems pretty unlikely to be a bottleneck.
d
2018 Apr 06
1
sorting large msets
...01 seconds.
> > > This is because in that case we can just stop once we've found 200
> > > matches.
With a few million documents, that ENQ_ASCENDING sounds promising :)
So, it looks like if I had ideal ordering, I could do something
along the lines of:
my $doc_id = $db->get_metadata('last_doc_id') || 0xffffffff;
$db->replace_document($doc_id--, $_) foreach (@doc);
$db->set_metadata('last_doc_id', $doc_id);
And get killer performance.
Olly Betts <olly at survex.com> wrote:
> On Sat, Mar 31, 2018 at 12:58:19AM +0000, Eric Wong wrote:
> >...
2016 Jan 05
2
synonym expansion for boolean prefixes.
Olly Betts <olly at survex.com> writes:
> A better option for this is probably a FieldProcessor - you set one for
> a prefix and the it gets passed the value and returns a Query object
> for it. E.g. in lua (where you can just pass an anon function for the
> FieldProcessor - we ought to support C++11 lambdas for such things):
[snip]
> To achieve this with synonyms in a
2016 Jan 09
0
synonym expansion for boolean prefixes.
...e synonyms in the database to match the current configuration,
> > so it's not as dynamic as the above.
>
> Well, the configuration needs to be somewhere. Would it make sense to
> from a performance point of view to be looking up foo_tag_term in
> document metadata?
Calling get_metadata() is pretty much exactly equivalent to reading the
synonyms for a term - both read one Btree entry, just from different
tables.
Longer term, I wonder if synonyms should happen via FieldProcessor -
that would neatly deal with how to do synonyms for different fields in
a flexible way, and also allow...
2004 Aug 06
2
reencode scripts if anyone is interested
...don't have to wait for your listeners to catch up, you can start
storing your music as vorbis now. ices even parses vorbis comments
for title streaming.
* Proper FIFO handling - including reencoding. The only thing you lack
(obviously) is ID3 parsing.
* A new function for the playlists, get_metadata, which lets playlists
set the title stream for each track if, say, you have better
information in a database than in your ID3s. Also you no longer are
required to define any functions but get_next.
* If ices receives SIGUSR1 it will skip to the next track in the playlist.
* Build system imp...
2017 Aug 30
2
Segmentation fault with doveadm search
...bug//usr/bin/doveadm...done.
done.
(gdb) run
Starting program: /usr/bin/doveadm search -u email at example.com mailbox Junk savedbefore 30d
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) where
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff76ef1b5 in mailbox_get_metadata (box=box at entry=0x5555557e1c70,
items=items at entry=MAILBOX_METADATA_GUID,
metadata_r=metadata_r at entry=0x7fffffffe2f0) at mail-storage.c:1544
#2 0x0000555555570918 in cmd_search_box (info=<optimized out>,
ctx=0x5555557c8230) at doveadm-mail-search.c:28
#3 cmd_search_run (c...
2004 Aug 06
2
reencode scripts if anyone is interested
I decided to make a few shell scripts that can be used to connect to
icecast, decode/reencode a stream, and then send the result back to icecast.
I guess this can be done with liveice, but this seemed like a simpler
solution for my needs. I have it triggered by a cgi script that i click on
when at work and want to listen to my tunes at a lower, more reliable
bitrate.
There are basically
2018 Mar 31
2
sorting large msets
Olly Betts <olly at survex.com> wrote:
> On Fri, Mar 30, 2018 at 05:21:43PM +0000, Eric Wong wrote:
> > Hello, is there a way to optimize sorting by certain values
> > for queries which return a huge amount of results?
> [...]
> > $enquire->set_sort_by_value_then_relevance(0, 1);
>
> If you're just wanting the 200 newest, it'll be faster not to
2017 Aug 30
2
Segmentation fault with doveadm search
...create_box = 0x7ffff76e5e30 <fail_mailbox_create>,
update_box = 0x7ffff76e5e00 <fail_mailbox_update>,
delete_box = 0x7ffff76e5dd0 <fail_mailbox_delete>,
rename_box = 0x7ffff76e5da0 <fail_mailbox_rename>,
get_status = 0x7ffff69d0170 <quota_get_status>, get_metadata = 0x0,
set_subscribed = 0x7ffff76e5d30 <fail_mailbox_set_subscribed>,
attribute_set = 0x0, attribute_get = 0x0, attribute_iter_init = 0x0,
attribute_iter_next = 0x0, attribute_iter_deinit = 0x0,
list_index_has_changed = 0x0, list_index_update_sync = 0x0,
sync_init = 0x7fff...