diff options
author | Eric Wong <e@80x24.org> | 2021-04-13 10:54:45 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-04-13 15:05:02 -0400 |
commit | 8ab43c1c27c725a8ef9307f5dba3e565169d48ca (patch) | |
tree | 12c761c064692e1c08b106b246fa72f713a73ee8 /lib/PublicInbox/LeiQuery.pm | |
parent | 26e0fe73de93f451ae5575f7625fec8ae020673c (diff) | |
download | public-inbox-8ab43c1c27c725a8ef9307f5dba3e565169d48ca.tar.gz |
This will have a over.sqlite3 for content-based deduplication. It may exhibit ibxish methods, so serving a read-only (or even R/W) IMAP or instance or displaying HTML isn't outside the realm of possibility.
Diffstat (limited to 'lib/PublicInbox/LeiQuery.pm')
-rw-r--r-- | lib/PublicInbox/LeiQuery.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiQuery.pm b/lib/PublicInbox/LeiQuery.pm index 224eba69..8bca1020 100644 --- a/lib/PublicInbox/LeiQuery.pm +++ b/lib/PublicInbox/LeiQuery.pm @@ -53,6 +53,7 @@ sub qstr_add { # PublicInbox::InputPipe::consume callback for --stdin my ($self) = @_; # $_[1] = $rbuf if (defined($_[1])) { $_[1] eq '' and return eval { + $self->{mset_opt}->{q_raw} = $self->{mset_opt}->{qstr}; $self->{lse}->query_approxidate($self->{lse}->git, $self->{mset_opt}->{qstr}); _start_query($self); @@ -142,6 +143,7 @@ no query allowed on command-line with --stdin PublicInbox::InputPipe::consume($self->{0}, \&qstr_add, $self); return; } + $mset_opt{q_raw} = \@argv; $mset_opt{qstr} = $self->{lse}->query_argv_to_string($self->{lse}->git, \@argv); _start_query($self); |