After installing it,when I click the faceted search, the following warning is showing:

* warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in F:\PHPnow-1.5.4\htdocs\drupal\sites\all\modules\luceneapi_cck\luceneapi_cck.module on line 83.
* warning: Invalid argument supplied for foreach() in F:\PHPnow-1.5.4\htdocs\drupal\sites\all\modules\luceneapi_cck\luceneapi_cck.module on line 143.

Comments

cpliakas’s picture

Category: support » bug
Issue tags: +6.x-1.0-alpha4

szrima,

This warning will happen when no fields are selected to be indexed, and it is sloppy coding on my part. This will be fixed in the next release.

Thanks for posting!
~Chris

51ucars’s picture

Thanks Chris.

cpliakas’s picture

Status: Active » Fixed

Issue fixed in commit #330234.

cpliakas’s picture

Title: Issue about this module » "Both parameters should have at least 1 element" error

Changing title for transparency.

Status: Fixed » Closed (fixed)

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

nally’s picture

I'm still getting this (with alpha 3) even though I have selected many fields to be indexed.

I'm not sure I have it configured properly though as facets for said fields are now showing up.

With regard to setting these CCK fields to be indexed, is this set from:
admin/settings/luceneapi_node/cck
?

(The "Lucene Field Type" is set to "Text".)

szy’s picture

Status: Closed (fixed) » Active

No changes here? The bug is still present when selecting 'keyword'
in CCK fields configuration.

Szy.

cpliakas’s picture

Status: Active » Closed (fixed)

Closing since the fix has already been committed to HEAD. The issue is the lack of an alpha-4 release, which has been delayed in favor of developing http://drupal.org/project/facetapi. In fact, this module will be deprecated for that project going forward.

Thanks,
Chris