Hello,

I have some problems with sfLucenePlugin

1. Search is case sensitive. How can I change it to case insensitive?

2. The highlighter do not want to work for me. If I remove some lines
from the /sfLuceneHighlighter.class.php-s highlightTerm function  it is
working, but not nice. (I removed the if at the 326.)

My search.yml file:

EmIndex:
  models:
    sfSimpleCMSPage:
      fields:
        id: unindexed
        title: text
        description: text
      indexer: sfSimpleCMSIndexer
      route: cms/slug=%slug%
      partial: home/searchResult
  index:
    cultures: [hu, en]
    analyzer: utf8num
    encoding: UTF-8
    case_sensitive: off
    mb_string: off


And the highlight part of the fuilter.yml:

highlight:
  class: sfLuceneHighlightFilter
  param:
    check_referer: on 
    highlight_qs: sf_highlight 
    highlight_strings: [<strong class="highlight hcolor1">%s</strong>] 
    notice_tag: "<!--[HIGHLIGHTER_NOTICE]-->" 

I using the 1.0 propel version from the cvs.

Thanks for the help!

-- 
Ámon Tamás <[EMAIL PROTECTED]>
-- 
Tamas Amon <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to