I have a node type with a CCK field called "lastname". While in the content type page, I have set the field to be indexed, it appears that after I enabled search config and reindexed the whole site (now indexed at 100%), I cannot find any node by entering the "lastname" in the core search.
I should mention that the node type that contains the "lastname" field is being indexed just fine by title, body, etc, ... Only the custom CCK fields are not indexed or searchable anymore.

Comments

jbomb’s picture

Status: Active » Postponed (maintainer needs more info)

I was unable to reproduce this with the following steps.

  1. I added a text field to the page content type in a fresh install of Drupal.
  2. Added a new page with the text field.
  3. Enabled the search module
  4. indexed the site by running cron.
  5. Searched for the contents of the text field, which produced the page in the results.
  6. Next, I enabled search config
  7. Re-indexed the site
  8. Executed the same search and received the expected result.

Where did you "set the field to be indexed?" Also, are you using field access? Is the field hidden on the node display?

gafir777’s picture

Hi,

Thanks for your support on this issue. I should have mentioned, the field is hidden in both the full node and the teaser in the following content type page: /admin/content/node-type/book/display

Teaser >>hidden
Full Node >>hidden

However, the field is not "excluded". I was simply hiding the field because I'm displaying them at the theme level. (in my node-book.tpl.php.)

That's for the "Basic" tab of the page. In the "Search tab", the field is set as:
Search Index Plain Text
Search Result Plain Text

These settings were working fine before the search config was installed.

Try to set the field as in the basic tab, and you might be able to reproduce this issue.

gafir777’s picture

Status: Postponed (maintainer needs more info) » Active
jbomb’s picture

Alright, I created a test field and set the display to hidden for both teaser and full node in the basic tab for the CCK field's display settings, and made sure that I set the "Search" tab to index "plain text" as you described. I re-indexed the site, however the search still returned the results as expected.

Is the content type selected in the advanced options for search? Note that selected content types are excluded from the index. Also, are you using the content search or the user search, and are you using field access?

jbomb’s picture

gafir777 did you have any luck sorting this out?

Alan D.’s picture

Status: Active » Closed (cannot reproduce)

No response, so closing.