search for: haystack

Displaying 20 results from an estimated 99 matches for "haystack".

2017 Feb 27
2
errors on rebuild
Hello, I am trying to rebuild an index of 2+ million documents and have not been successful. I am running Python 2.7 Django 1.7 Haystack 2.1.1 Xapian 1.2.21 The index rebuild command I’m using is: django-admin.py rebuild_index --noinput --batch-size=100000 The rebuild completes but an immediate xapian-check returns this error: xapian-check ./archive_index record: baseB blocksize=8K items=2219301 lastblock=126957 revision=223 level...
2017 Mar 02
2
errors on rebuild
Hi Olly, Thanks for the detailed response. I hadn’t realized there was a new xapian haystack backend. I’m going to try that but I have some upgrades to do first. Django 1.8, etc. Thanks, Ryan > On Feb 28, 2017, at 3:40 PM, Olly Betts <olly at survex.com> wrote: > > On Mon, Feb 27, 2017 at 10:29:46AM -0800, Ryan Cross wrote: >> I am trying to rebuild an index of 2...
2017 Mar 25
0
errors on rebuild
Hi Olly, After upgrades my stack is now: Python 2.7 Django 1.8 Haystack 2.6.0 Xapian 1.4.3. (latest xapian haystack backend with some modifications) Using the same rebuild command as below but with —batch-size=50000 The issue has now become one of performance. I am indexing 2.2 million documents. Using delve I can see that performance starts off at about 100,000 re...
2015 Nov 14
1
Xapian-Haystack is available in Python 3
Hi, I'm the current developer of Xapian-Haystack, and I'm glad to announce that we've been finally able to install and pass all the tests of Xapian-Haystack with Xapian 1.3.3 in both Python 2 and 3, which means that Xapian-Haystack now supports Python 3. This naturally would not be possible without your efforts to push Xapian bindings to...
2017 Feb 28
0
errors on rebuild
On Mon, Feb 27, 2017 at 10:29:46AM -0800, Ryan Cross wrote: > I am trying to rebuild an index of 2+ million documents and have not been successful. I am running > > Python 2.7 > Django 1.7 > Haystack 2.1.1 > Xapian 1.2.21 > > The index rebuild command I’m using is: django-admin.py rebuild_index --noinput --batch-size=100000 > The rebuild completes but an immediate xapian-check returns this error: [...] > Trying the latest stable version, Xapian 1.4.3, it fails during the rebuild...
2015 Oct 05
1
A xapian problem
Hello folks- I have an issue with my Xapian index, and I am hoping someone can help me out with some ideas. I am running Xapian on Debian Squeeze as part of an openPLM installation. It is a django application that uses Postgresql as the database, and Haystack as the search engine. A couple of weeks ago, I misconfigured a crontab, and it made a recursive backup that filled up the hard drive on my server. I've got it cleaned out now, but I nothing I try to clear the index is working- I keep getting the error "DatabaseCorruptError: Cannot ope...
2017 Apr 03
3
errors on rebuild
On Sat, Mar 25, 2017 at 06:36:25PM -0500, Ryan Cross wrote: > After upgrades my stack is now: > > Python 2.7 > Django 1.8 > Haystack 2.6.0 > Xapian 1.4.3. (latest xapian haystack backend with some modifications) > > Using the same rebuild command as below but with —batch-size=50000 > > The issue has now become one of performance. I am indexing 2.2 million > documents. Using delve I can see that performance...
2009 Apr 18
2
[LLVMdev] [patch] vmkit compiled using gcc
I have tested compiling vmkit using gcc3.4 and gcc4.4 Some vmkit files required that I added some explicit typecasts and #includes in order to compile. I have attached my changes against the vmkit svn trunk rev 69439 Using this patch both versions of gcc managed to compiled vmkit on my machine. Cheers Xerxes -------------- next part -------------- An embedded and charset-unspecified text was
2009 Apr 18
0
[LLVMdev] [patch] vmkit compiled using gcc
Applied thanks! http://lists.cs.uiuc.edu/pipermail/vmkit-commits/2009-April/000815.html Btw, what are the error messages for these? > - char * res = strstr(haystack, needle); > + char * res = (char *)strstr(haystack, needle); > - char* ptr = strrchr(name, '/'); > + char* ptr = (char*)strrchr(name, '/'); Nicolas Xerxes Rånby wrote: > I have tested compiling vmkit using gcc3.4 and gcc4.4 > Some vmkit files required that I add...
2019 Oct 11
7
New matrix function
...dex-a-small-matrix-in-a-larger-matrix I couldn't find anything. The above function can be seen as a "generalisation" of the "which" function as well as the function described in the following post: https://coolbutuseless.github.io/2018/04/03/finding-a-length-n-needle-in-a-haystack/ Would be possible to add such a function to base R? I am happy to work with someone from the R core team (if you wish) and suggest an implementation in C. Thank you Best regards, Morgan [[alternative HTML version deleted]]
2020 Jun 02
0
[PATCH nbdkit 2/5] vddk: Move reexec code to a new file.
...p ("/proc/self/exe", argv.ptr); + nbdkit_debug ("failure to execvp: %m"); +} + +/* See if prepend is already in LD_LIBRARY_PATH; if not, re-exec. */ +void +reexec_if_needed (const char *prepend) +{ + const char *env = getenv ("LD_LIBRARY_PATH"); + CLEANUP_FREE char *haystack = NULL; + CLEANUP_FREE char *needle = NULL; + + if (reexeced) + return; + if (env && asprintf (&haystack, ":%s:", env) >= 0 && + asprintf (&needle, ":%s:", prepend) >= 0 && + strstr (haystack, needle) != NULL) + return; +...
2019 Oct 11
3
New matrix function
...find anything. > > > > The above function can be seen as a "generalisation" of the "which" > > function as well as the function described in the following post: > > > > > https://coolbutuseless.github.io/2018/04/03/finding-a-length-n-needle-in-a-haystack/ > > > > Would be possible to add such a function to base R? > > > > I am happy to work with someone from the R core team (if you wish) and > > suggest an implementation in C. > > That seems like it would sometimes be a useful function, and maybe > someone wil...
2013 Jan 03
6
[LLVMdev] Build Failure
...ith few benefits. We regularly keep -Wreturn-type working > despite this (see all of the llvm_unreachable after switch > statements), So why not add -Wno-uninitialized and friends to the command line? It seems a better option than simply ignoring warnings and then missing a real bug in the haystack of warning messages. > but the fix to silence GCC's -Wuninitialized false positives actively > degrades the quality of the code -- it forces dead stores to > variables. These dead stores are a waste and prevent tools like > Valgrind from finding very real bugs in the logic which ca...
2009 Feb 09
2
SquirrelMail Prefs Deleted
FYI. I just had all of the squirrelmail prefs for all the users on one of my servers disappear. I have never had anything like this happen ever before. I'm in the process of finding the needle in the haystack of logs to try to get a handle on this. I'm sending this to the list as a heads up. Seems like Squirrelmail is not doing so good here over the last few months. John Hinton
2005 Jun 02
1
Logon script execution intermittent
...kstations. Users logon scripts are not being run during logon in a reliable fashion. The could run without issue for 10 logons and on the 11th no mapped drives doesn't seem to be a specific workstation or XP version. Currently running with cranked up logging levels looking for a needle in a haystack. Anyone run into this? Douglas Sterner
2005 Feb 16
1
memmem broken?
We have a bad bug in udev if compiled with klibc. I seems that the needle string can't have a strlen of 1. This test case illustrates it: #include <stdio.h> #include <string.h> int main(int argc, char *argv[], char *envp[]) { char *hay = "a/b"; char *needle = "/"; if (memmem(hay, strlen(hay), needle, strlen(needle)) == NULL) printf("This uses the
2017 Apr 03
0
errors on rebuild
On Sun, 2 Apr 2017, at 20:29, Olly Betts wrote: > On Sat, Mar 25, 2017 at 06:36:25PM -0500, Ryan Cross wrote: > > After upgrades my stack is now: > > > > Python 2.7 > > Django 1.8 > > Haystack 2.6.0 > > Xapian 1.4.3. (latest xapian haystack backend with some modifications) > > > > Using the same rebuild command as below but with —batch-size=50000 > > > > The issue has now become one of performance. I am indexing 2.2 million > > documents. Using del...
2013 Jan 03
0
[LLVMdev] Build Failure
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] > On Behalf Of greened at obbligato.org > Subject: Re: [LLVMdev] Build Failure > It seems a better option than simply ignoring warnings and then missing > a real bug in the haystack of warning messages. Definitely agree with that. Our project coding standards require _zero_ warnings at commit time (but that only applies to our code, not imported libraries). > I've committed fixes to lots of -Wuninitialized warnings in my tree. > It's all just initializing loca...
2010 Sep 01
0
[LLVMdev] "Cannot fine DIE"
...itted into > my module > is correct or even sensible. The only way to test it is to try and > debug it > with gdb, but all that will tell you is that *something* failed - it > won't > tell you where or what. It's not so much like looking for a needle > in a > haystack - more like looking for a particular needle in a needlestack. You can also try running "dwarfdump --verify" on your dsymutil file (not on the dSYM bundle, but on the file inside the bundle). It sometimes gives a bit more information. Also simply using "dwarfdump - a" can...
2008 Jul 21
2
Getting plot axes where they should be!
Hi Folks, I've been digging for the solution to this for several hours now. If there is a solution, it must be one of the worst "needle-in-a-haystack" examples in R documentation! Essentially, I want to make an x-y plot in which the X-axis really is the X-axis (i.e. its vertical position is at y=0), and the Y-axis really is the Y-axis (i.e. its horizontal position is at x=0). Discussion, with toy examples, below. I have sort-of solved thi...