lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Au" <>
Subject Re: Wildcard Query
Date Tue, 20 Jun 2006 13:09:33 GMT
If it is just a matter of matching lower case to upper case and upper case
to lower case,
one can simply use the LowercaseFilter.


On 6/20/06, Erik Hatcher <> wrote:
> On Jun 20, 2006, at 6:07 AM, Pace Davis wrote:
> > Ok, before I go start writing a new request handler....let me ask a
> > dumb
> > question and see if I am approaching this wrong in Solr. If I am
> > trying to
> > search a field where I have one doc with a field that has a value
> > of "Hello
> > World"...if the search query is "ello"  ...currently is there a way
> > to make
> > this query match this field?
> This is more a Lucene question than Solr.  You will need to either do
> special analysis that would index "hello" in various pieces such as
> "ello", "llo"... or do as Hoss suggested and create a custom request
> handler that searched and returned results however you like.  I have
> written several custom request handlers in my application.  You could
> do this pretty easily yourself by copying StandardRequestHandler to
> your own class name, modifying how it creates the Query, and
> configuring it in solrconfig.xml file.
>         Erik

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message