Hi Dave,

There is an attribute on the WordDelimiterFactory preserveOriginal="true"
which should keep the original string. I think if you keep LowerCaseFilter
before WordDelimiterFactory with the preserveOriginal setting, it should do
what you have outlined.

On Sat, Jan 17, 2009 at 8:57 AM, David Shettler <dshett...@gmail.com> wrote:

> This has likely been covered, and I've tried searching through the
> archives, but having trouble finding an answer.
>
> On OSVDB.org, if you search for:
>
> title:PHPGroupWare
>
> You get...nothing
>
> if you search for:
>
> title:phpGroupWare
>
> (which is how the entry is indexed originally), you get a match of course.
>
> same with phpgroupware
>
> If I get rid of word delimiter, then things are fine, unless you want
> to search for PHP GroupWare and get a match...
>
> Basically, I need to get a match on any of these searches:
>
> PHPGroupWare
> PHPGroupware
> phpGroupware
> phpGroupWare
> phpgroupware
> php groupware
> php group ware
> PHPGroup ware
>
> etc.
>
> We've been dealing with this problem for about 36 months now, but
> there has to be a better way...or am I dreaming? :)
>
> Can anyone suggestion a schema that would accommodate this?  I've
> tried every combination of word delimiter that I can think of, but I'm
> no expert on the topic.
>
> I can also manipulate input prior to search and indexing if you can
> think of a way there.  It's wanting the best of select from LIKE, and
> solr's voodoo...perhaps I'm wanting too much!
>
> Cheers,
>
> Dave
> OSVDB.org
>



-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to