Skip Menu |

This queue is for tickets about the Lucene CPAN distribution.

Report information
The Basics
Id: 34993
Status: new
Priority: 0/
Queue: Lucene

Owner: Nobody in particular
Requestors: DEEPFRYED [...]

Bug Information
Severity: Important
Broken in: 0.18
Fixed in: (no value)

Subject: RAMDirectory does not accept file path as argument in constructor
Download (untitled) / with headers
text/plain 165b
Hi, RAMDirectory.xs does not implement the file/path argument to allow reading a FSDirectory into memory. Please see attached patch which seems to work. Cheers,
Subject: ramdir_patch.diff
Download ramdir_patch.diff
text/x-diff 264b
2c2 < new(CLASS) --- > new(CLASS, path) 3a4 > const char* path; 5c6,11 < RETVAL = new RAMDirectory(); --- > if (path && strlen(path)) { > RETVAL = new RAMDirectory(path); > } > else { > RETVAL = new RAMDirectory(); > } 24d29 <

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to