Download & Extend

Use Search Lucene Content when available

Project:Search 404
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:zyxware
Status:closed (fixed)

Issue Summary

Just like it already does with Apache Solr, this module should use Search Lucene API/Content to search for nodes when available.

Comments

#1

Status:active» needs review

Patch attached.

AttachmentSize
search404.module.patch 878 bytes

#2

any movement on this?

#3

I didn't hear any response from the module maintainers yet... But my patch is working for some time now on my production site, so go ahead and try it out!

#4

Works great!!! Thank you for the patch!!! :)

#5

this module sounds great, I'm using lucene api for search

when I try to patch I get the following error:

$ sudo patch < search404.module_4.patch
(Stripping trailing CRs from patch.)
patching file search404.module
Hunk #1 FAILED at 102.
1 out of 1 hunk FAILED -- saving rejects to file search404.module.rej

what should I do?

#6

That patch is for the 6.x-1.8 version. Are you trying to apply it to the Drupal 5 version of the module by any chance? In any case, you can open the patch file with a text editor, have a look at what replacements it's supposed to do, and make the same changes by hand.

#7

Hello and thank you for the module.
Is there any updates about the integration of the patch into the module?

#8

Here's an updated patch against the current 6.x dev version.

AttachmentSize
search404_luceneapi.patch 1.04 KB

#9

Thank you for the patch I will apply this in the latest dev version of 6.x

Regards
Santhosh N.Raju

#10

Assigned to:Anonymous» zyxware

I have updated the dev version of Search404 with this patch

Let me know if things are fine.

Regards
Santhosh Raju

#11

Hi,
Version 6.x-1.x-dev (2010-Mar-22 ) gives me results with Lucene.
Thank you very much.

#12

Status:needs review» fixed

Thanks for the update J0nathan

I am marking this issue as fixed

Regards
Santhosh Raju

#13

Yep I just updated and it's working fine. thanks for committing this!

#14

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#15

Great fix! Works for me.

EDIT: I just noticed that version 1.9 offers this feature without making any code changes.

#16

have I missed something? I have both installed and I do not see the option for using Lucene with this module. Or does it automatically use it?

#17

have I missed something? I have both installed and I do not see the option for using Lucene with this module. Or does it automatically use it?

There is no configuration setting, it should just use Lucene automatically. (Unless you also have Apache SOLR installed, then that one takes precedence).

#18

hmm. I don't have Solr installed, but the search through a 404 doesn't reveal the same results as a general search (using the same terms)

nobody click here