Hi!

I've set up the following search.yml configuration for a job site:

=============================================
MyIndex:
  models:
    Job:
      fields:
        id:              unindexed
        title:           text
        department:      text
        description:
          type:          text
          transform:     strip_tags
          boost:         1.5
      categories: job
    CV:
      fields:
        id:              unindexed
        surname:         text
        name:            text
      categories: cv

  index:
    analyzer: utf8num
    case_sensitive: off
    encoding: UTF-8
    cultures: [en_US]
=============================================
I have 2 questions:

1. How to enable substring match? As it is the free text search looks
for whole words but will not match 'soft' as 'software'

2. Why searching for either 'job' for the Job model or 'cv' for the CV
model returns all values even if those words do not show up in the
other indexed fields?

Regards,

    gabriel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to