indexer
{

}

searchd
{
  address = 127.0.0.1
  port = 3312
  log = C:/ror/rails_apps/drug/log/searchd.log
  query_log = C:/ror/rails_apps/drug/log/searchd.query.log
  pid_file = C:/ror/rails_apps/drug/log/searchd.development.pid

}

source drug_0_core
{
type     = mysql
sql_host = localhost
sql_user = root
sql_pass =
sql_db   = drug_development



sql_query_pre    = SET NAMES utf8

sql_query_pre    =
sql_query        = SELECT `drugs`.`id` * 1 + 0 AS `id` , CAST
(`drugs`.`name` AS CHAR) AS `name`, CAST(`drugs`.`category` AS CHAR)
AS `category`, CAST(`drugs`.`synonyms` AS CHAR) AS `synonyms`, CAST
(`drugs`.`brands` AS CHAR) AS `brands`, `drugs`.`id` AS
`sphinx_internal_id`, 3822703872 AS `class_crc`, '3822703872' AS
`subclass_crcs`, 0 AS `sphinx_deleted` FROM drugs    WHERE
`drugs`.`id` >= $start   AND `drugs`.`id` <= $end    GROUP BY
`drugs`.`id`  ORDER BY NULL
sql_query_range  = SELECT MIN(`id`), MAX(`id`) FROM `drugs`
sql_query_info   = SELECT * FROM `drugs` WHERE  `id` = (($id - 0) / 1)
sql_attr_uint        = sphinx_internal_id
  sql_attr_uint        = class_crc
  sql_attr_multi       = uint subclass_crcs from field
  sql_attr_uint        = sphinx_deleted

}

index drug_core
{
source = drug_0_core
path = C:/ror/rails_apps/drug/db/sphinx/development/drug_core
  charset_type = utf-8
  morphology = stem_en
}
index drug
{
  type = distributed
  local = drug_core
}



On Dec 22, 9:45 pm, Pat Allan <[email protected]> wrote:
> Hmm, what is the contents of your development.sphinx.conf file? (Make  
> sure you remove database passwords and any other sensitive information)
>
> --
> Pat
>
> On 23/12/2008, at 7:12 AM, tashfeen.ekram wrote:
>
>
>
>
>
> > i can not start the sphinx service. i type rake thinking_sphinx:start
> > and it gives me the following
>
> > searchd --config .../config/development.sphinx.conf
> > Failed to start searchd daemon. Check ..../log/searchd.log.
>
> > however the log file not being generated.
>
> > so not sure what is giong on. the permission on the folder is set to
> > all access.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to