Last modified: 2013-10-29 02:00:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19325, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17325 - Lucene wiki server (lsearch) does not run on Windows
Lucene wiki server (lsearch) does not run on Windows
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
lucene-search-2 (Other open bugs)
unspecified
All Windows XP
: Normal enhancement (vote)
: ---
Assigned To: Robert Stojnic
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-02 20:49 UTC by Kai Kühn
Modified: 2013-10-29 02:00 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch file to make lsearch2 run on Windows (5.90 KB, patch)
2009-02-02 20:49 UTC, Kai Kühn
Details
Patch file to make lsearch2 run on Windows (diff) (9.38 KB, patch)
2009-02-03 08:54 UTC, Kai Kühn
Details

Description Kai Kühn 2009-02-02 20:49:01 UTC
Created attachment 5770 [details]
Patch file to make lsearch2 run on Windows

lsearch2 does not run on Windows because it can not deal with symbolic links. I enhanced the implemenation of FSUtils.java (attached) to use NTFS hardlinks on Windows. They are definitly supported on Windows XP, but should also work on Windows 2000 and 2003 Server. Since hardlinks do not support directory links an extra tool is needed: linkd.exe (from Microsoft). It can be downloaded for free: 

http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en

Installation:

1. Exchange the exisiting FSUtils.java file with the attached and re-compile LuceneSearch.jar
2. Download the rktools package above and copy linkd.exe in the lsearch2 directory.

That's it.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2009-02-02 20:53:32 UTC
I don't *think* it's acceptable to have Microsoft downloads in our SVN.  Stuff in SVN normally should be under a free software license.

Also, it's more helpful to provide a diff (ideally a unified diff created with "svn diff", or TortoiseSVN's "Create Patch") than a whole new file -- providing a whole new copy of the file will cause issues if there were any unrelated changes between when you modified it and when someone tries to apply it.
Comment 2 Kai Kühn 2009-02-02 21:05:48 UTC
Right, I think you have to put a hint in the installation Howto for Windows users where to get linkd.exe rather than shipping it with lsearch. I will add a diff when I'm in the office tomorrow. 
Comment 3 Kai Kühn 2009-02-03 08:54:29 UTC
Created attachment 5774 [details]
 Patch file to make lsearch2 run on Windows (diff)

Here's a diff for the current version of FSUtils.java
Comment 4 Brett Hillebrand 2009-02-03 10:00:25 UTC
I'm failing to see the point of this BUG
Comment 5 Robert Stojnic 2009-02-03 10:12:07 UTC
There is a point ... lsearchd does not work on windows and this is a patch that makes it work on windows. 
Comment 6 Brett Hillebrand 2009-02-03 10:13:31 UTC
And what do you want done about that? This ticket isnt a "bug" as such.
Comment 7 Brett Hillebrand 2009-02-03 10:16:15 UTC
Just put a link to this ticket on the MediaWiki wiki on the lucene serach page.....marking as resolved
Comment 8 Robert Stojnic 2009-02-03 10:19:27 UTC
Please stop fiddling with this bug if you:

1) don't understand what's going on
2) you are not a developer

This is a valid patch of lucene-based search engine we have built for wikipedia (note this is not a patch against Lucene as is, but our wrapper around it). 

Comment 9 Aryeh Gregor (not reading bugmail, please e-mail directly) 2009-02-03 15:04:45 UTC
(In reply to comment #6)
> And what do you want done about that? This ticket isnt a "bug" as such.

Bugzilla is used for tracking enhancement requests as well as bugs.  Note the value of the Severity field ("enhancement").  Please don't close bugs unless you're a developer or otherwise certain you know what you're doing, thanks.
Comment 10 p858snake 2011-04-30 00:09:30 UTC
*Bulk BZ Change: +Patch to open bugs with patches attached that are missing the keyword*
Comment 11 Sumana Harihareswara 2011-12-22 16:10:40 UTC
cc'ing Oren Bochman so he can possibly review this patch.
Comment 12 Sumana Harihareswara 2012-06-11 18:48:44 UTC
Oren, have you had time to review this?

And Kai Kühn, please feel free to get Developer access

https://www.mediawiki.org/wiki/Developer_access

so that you can submit patches directly into our source control system in the future

https://www.mediawiki.org/wiki/Git/Tutorial
Comment 13 Andre Klapper 2013-03-26 11:19:31 UTC
[Merging "MediaWiki extensions/Lucene Search" into "Wikimedia/lucene-search2", see bug 46542. You can filter bugmail for: search-component-merge-20130326 ]
Comment 14 Chad H. 2013-10-29 02:00:49 UTC
lsearchd has reached its end of life, no future work shall be done on it. Marking WONTFIX.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links