Displaying 6 results from an estimated 6 matches for "apitest_simpledata".
2015 Jan 27
2
TestCases Failure
Please find my inline reply.
On 27 January 2015 at 03:02, Olly Betts <olly at survex.com> wrote:
>
> The script which automates most of the release process runs "make
> distcheck", which runs the testsuite, so these tests didn't fail for me
> when I made the 1.3.2 release.
>
> When I run "make distcheck" in the "build" folder, it gives
2015 Feb 03
2
Fwd: Waiting for Reply regarding "TestCases Failure"
..../runtest ./apitest --verbose topercent2
Output:
Running test './apitest --verbose topercent2' under eatmydata and valgrind
Running tests with backend "none"...
Running tests with backend "inmemory"...
Running test: topercent2...
Command: ls -R .chert
Output:
.chert:
db=apitest_simpledata
.chert/db=apitest_simpledata:
flintlock
You ought to have a database in .chert/db=apitest_simpledata - if so,
> then checking it would be interesting (again send the output):
>
> ../bin/xapian-check .chert/db=apitest_simpledata
>
Output for the above command is "Failed to check...
2016 Jul 28
2
Weighting Schemes: Implementing Piv+ Normalization
...tring>ptr++; fixes compile errors.
But tfidfweight3 test case is failing with remote backends :-
$ ./runtest gdb ./apitest -v tfidfweight3
Running test: tfidfweight3... SerialisationError: REMOTE:Bad encoded
double: short mantissa (context: remote:prog(../bin/xapian-progsrv -t300000
.glass/db=apitest_simpledata)
I'm wondering if I need to introduce a new method in serialise-double.h for
string parameters (normalizations in this case)? To be honest, I have
little idea about that part of Xapian so probably a workaround might be
better. :)
Thanks,
Vivek
On Thu, Jul 28, 2016 at 3:14 AM, James Aylett...
2016 Jul 27
2
Weighting Schemes: Implementing Piv+ Normalization
Hi,
I have added support for Piv normalization in Tf-Idf weighting scheme as a
intermediate step to implementing the support for Piv+ normalization. All
tests pass.
But I'm running into some issues with Piv+ normalization. In the Piv+
formula , there are two parameters (s and delta) that control the weight
assigned. I think the way I'm serialising and unserialising these
parameters has
2016 Jul 29
2
Weighting Schemes: Implementing Piv+ Normalization
...se is failing with remote backends :-
> >
> > $ ./runtest gdb ./apitest -v tfidfweight3
> >
> > Running test: tfidfweight3... SerialisationError: REMOTE:Bad encoded
> > double: short mantissa (context: remote:prog(../bin/xapian-progsrv
> -t300000
> > .glass/db=apitest_simpledata)
>
> You're deserialising something that wasn't serialised, or wasn't
> serialised properly.
>
> If I put 'xapian bad encoded double short mantissa' into Google, I get
> this page as the top result (it may be further down the page for you):
>
> https://xa...
2006 Dec 06
1
Bug and patch for +terms with wildcards
...+ unsigned flags = Xapian::QueryParser::FLAG_WILDCARD |
+ Xapian::QueryParser::FLAG_LOVEHATE;
+ queryparser.set_stemmer(Xapian::Stem("english"));
+ queryparser.set_stemming_strategy(Xapian::QueryParser::STEM_ALL);
+ Xapian::Database db = get_database("apitest_simpledata");
+ queryparser.set_database(db);
+ Xapian::Enquire enquire(db);
+
+ Xapian::Query qobj = queryparser.parse_query("th*", flags);
+ enquire.set_query(qobj);
+ Xapian::MSet mymset = enquire.get_mset(0, 10);
+ // Check that 6 documents were returned.
+ TEST_MSET_SI...