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
Comment #1
cpliakas commentedszrima,
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
Comment #2
51ucars commentedThanks Chris.
Comment #3
cpliakas commentedIssue fixed in commit #330234.
Comment #4
cpliakas commentedChanging title for transparency.
Comment #6
nally commentedI'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".)
Comment #7
szy commentedNo changes here? The bug is still present when selecting 'keyword'
in CCK fields configuration.
Szy.
Comment #8
cpliakas commentedClosing 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