Community

[solved] Latest uploaded news can't be search

Latest uploaded news can't be search,
it always need to run cron first then the news can be search.

How to fix this?

Comments

_

there's nothing to fix.... that's correct behavior. Content is indexed for searching during cron on purpose.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

what is the meaning Content

what is the meaning Content is indexed for searching?

everytime the news uploaded, website must run cron once time?

"everytime the news uploaded,

"everytime the news uploaded, website must run cron once time?"

correct - maybe more than once if there is a lot of "news"

admin/config/search/settings shows the status of the search indexing

why not make a rule to run a

why not make a rule to run a cron after each post !!

_

seriously? because not every site wants (or can handle) that.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

where to set this?

where to set this?

=-=

in the rules.module however doing so is not prudent. You should set up a cron job on the server to run every 15 mins. If multiple users save nodes cron will fire too often and likely get stuck.