Displaying 20 results from an estimated 5000 matches similar to: "Incomplete HTML escaping by Xapian::MSet::snippet() (CVE-2018-0499)"
2018 Jul 02
0
Xapian 1.4.6 released
Xapian 1.4.6 can now be downloaded from:
https://xapian.org/download
This release includes a fix for CVE-2018-0499:
https://trac.xapian.org/wiki/SecurityFixes/2018-07-02
The wiki will shortly have a summary of the most notable changes:
https://trac.xapian.org/wiki/ReleaseOverview/1.4.6
A big thanks to the following people for helping to make this release a
reality: Germán M. Bravo, Robert
2023 Aug 28
1
DatabaseModifiedError while iterating on mset
Olly Betts <olly at survex.com> wrote:
> On Wed, Aug 23, 2023 at 01:53:27PM +0000, Eric Wong wrote:
> > I'm already retrying the ->get_mset operations; but now I'm
> > wondering where I'd hit DatabaseModifiedErrors while inside a
> > Xapian::MSetIterator loop.
> >
> > I assume ->get_document is a place where it gets thrown;
> > but
2016 Jul 30
2
Letor: returning MSet after re-ranking
>
>
> I'd prefer to avoid adding things to the public API that don't get
> used by end users. However because LTR is outside the Xapian build
> tree, we can't easily give it privileged access to Xapian internals.
>
Sorry for a delayed response.
The way I was thinking of performing reranking with updated weights was to
add a class MSetRanker (basically containing a
2011 Mar 08
1
MSet order
Hello
I defined a weighting scheme to simulate a king of "euclidean" distance.
To test it, i used a database with 1000 documents.
If I run :
enquire.set_weighting_scheme(MyWeight());
Xapian::MSet matches = enquire.get_mset(0, 1000);
I have a correct list of results.
But if I run Xapian::MSet matches = enquire.get_mset(0, 10);
I don't have the top-10 results.
If I run Xapian::MSet
2016 Jul 31
2
Letor: returning MSet after re-ranking
On Sun, Jul 31, 2016 at 12:44:16AM +0100, Olly Betts wrote:
> Would a method which swapped two elements of an MSet provide what you
> need? That would provide a more generic way to adjust the ranking of
> an MSet which for example could be used to implement a diversification
> feature or something like SQL "GROUP BY".
Isn't the most common use going to be that the
2016 Jul 29
3
Pull requests: CJK words and Snippet generator
Hi James,
thanks for the feedback.
On Thu, Jul 28, 2016, at 00:22, James Aylett wrote:
> This sounds great! I know sufficiently little about CJK that I won't
> try to comment on that at all :)
I've just opened a pull request for the CJK tokenizer:
https://github.com/xapian/xapian/pull/114
> I wonder if we can arrange suitable defaults to use your
> implementation with the
2016 Aug 03
2
Pull requests: CJK words and Snippet generator
Hi,
On Fri, Jul 29, 2016, at 13:45, James Aylett wrote:
> On Fri, Jul 29, 2016 at 12:12:25PM +0200, rsto at paranoia.at wrote:
> > The FastMail snippet generator has been written when MSet didn't create
> > snippets. I'll first compare both implementations to see if there is a
> > good reason for them to coexist, or might just as well merge any
> > additional
2023 Aug 17
1
does Xapian::Enquire hold an MVCC revision?
In other words, is it possible to avoid duplicates if new
documents are inserted into the DB by another process in-between
->get_mset calls when reusing Xapian::Enquire objects?
I do some expensive processing on each mset window, so I always
limit the results to limit heap usage even if I'm planning on
going through a big chunk of the DB:
$mset = $enq->get_mset(0, 1000);
2007 Mar 29
2
Re: [Xapian-commits] 7990: trunk/xapian-core/ trunk/xapian-core/bin/ trunk/xapian-core/tests/harness/
On Thu, Mar 29, 2007 at 03:39:01PM +0100, richard wrote:
> bin/xapian-tcpsrv.cc,tests/harness/testsuite.cc: First of many
> parts of a large patch from Mark Hammond working towards enabling
> remote databases on windows. When displaying errors which might
> be socket errors, display the error number as well as the output
> of strerror - on windows, strerror doesn't display
2007 Sep 20
3
Incorrect get_matches_estimated() of Xapian::Mset
Hello, As I know, get_matches_estimated() return an estimate for the number of documents with matches the query.
But now, I found it get a disparity between the return value and real mathced number. For an example: the real matched number is 58, but the return value is 458; so when the users click the hinder page, get a blank page ... so they often complain to me.
I found that the main reason is
2023 Aug 18
1
does Xapian::Enquire hold an MVCC revision?
On Thu, Aug 17, 2023 at 09:28:26PM +0000, Eric Wong wrote:
> In other words, is it possible to avoid duplicates if new
> documents are inserted into the DB by another process in-between
> ->get_mset calls when reusing Xapian::Enquire objects?
The Database object itself effectively does (it works in a snapshot of
the state of the database when you open it, or last called reopen()
which
2016 Jul 26
2
Pull requests: CJK words and Snippet generator
Hi,
The Cyrus IMAP mail server uses Xapian as search engine. Recently,
FastMail has sponsored implementation of two Xapian features: CJK word
splitting and a generator for search snippets. I've been working on both
features and we would be happy to get them merged into Xapian master.
The CJK word tokenizer uses the word segmentation algorithms of the
International Components for Unicode
2018 Apr 03
0
sorting large msets
On Sat, Mar 31, 2018 at 12:58:19AM +0000, Eric Wong wrote:
> Olly Betts <olly at survex.com> wrote:
> > If you're just wanting the 200 newest, it'll be faster not to calculate
> > weights, so:
> >
> > $enquire->set_sort_by_value(0, 1);
> > $enquire->set_weighting_scheme(new Xapian::BoolWeight());
> >
> > For me, this drops the time
2010 Feb 18
2
xapian.DocNotFoundError: regression?
Hello,
I've installed xapian-core 1.1.3 and xapian-bindings 1.1.4 from the
tarballs announced by Olly the other day. With these versions,
Enquire.get_mset() seems to consistently be raising
xapian.DocNotFoundError.
I've attached a small test case which reproduces this. The same test
case works fine with 1.0.16 (not the latest 1.0.x, but it's what I had
installed).
Program output
2014 Apr 13
2
Adding an external library to Xapian
We are using the --enable-maintainer-mode and will move to git soon.
The diff file is attached.
*Siddhant Mutha*
Undergraduate Student
Department of Computer Science and Engineering
IIT Madras
Chennai
http://www.siddhantmutha.com/ <http:/www.siddhantmutha.com/>
On Sun, Apr 13, 2014 at 8:26 PM, James Aylett <james-xapian at tartarus.org>wrote:
> On 13 Apr 2014, at 15:48, Pallavi
2023 Aug 27
1
DatabaseModifiedError while iterating on mset
On Wed, Aug 23, 2023 at 01:53:27PM +0000, Eric Wong wrote:
> I'm already retrying the ->get_mset operations; but now I'm
> wondering where I'd hit DatabaseModifiedErrors while inside a
> Xapian::MSetIterator loop.
>
> I assume ->get_document is a place where it gets thrown;
> but once a document is retrieved, can iterating through
> terms in one document
2016 Jun 29
2
xapian-letor: FeatureVector discussion
>
>
>
> The approach I was thinking would look something like this:
>
> * instead of Features, which is really a namespace implemented as a
> class, we separate out the calculation of the different features
> into distinct subclasses of Feature, whose only job is to calculate
> a single feature. Currently the FeatureManager calls these (via
>
2015 Sep 07
0
test 1 / errors Interix 3.5 / xapian-core-1.2.21 / Eric Lindblad
Test 1 by Eric Lindblad 07-09-2015
http://www.ericlindblad.blogspot.com
The 'ambiguous overload' error cited 28-08-2015 was
unaffected from adding the below #ifdef following
incidents of the string #include <sys/types> in all
relevant xapian-core-1.2.21 files.
http://sourceforge.net/projects/libuuid/
libuuid-1.0.3.tar.gz
the following lines can be added to uuidP.h from the
2023 Aug 23
1
DatabaseModifiedError while iterating on mset
I'm already retrying the ->get_mset operations; but now I'm
wondering where I'd hit DatabaseModifiedErrors while inside a
Xapian::MSetIterator loop.
I assume ->get_document is a place where it gets thrown;
but once a document is retrieved, can iterating through
terms in one document (using TermIterator) also throw DB modified?
I'm dumping multiple terms per-document to a
2010 Apr 28
1
Xapian 1.0.20 released
I've uploaded Xapian 1.0.20 (including Search::Xapian 1.0.20.0), which
as usual you can download from:
http://xapian.org/download
The most notable changes in this release are:
Xapian::MSet:
* Fix incorrect values reported by get_matches_estimated(),
get_matches_lower_bound(), and get_matches_upper_bound() in certain cases
when sorting and collapsing (ticket#464).
getopt-related build