I will try this tomorrow.

Thanks for the suggestion.

- Erlend

On Mon, Aug 18, 2008 at 5:01 PM, Otis Gospodnetic <
[EMAIL PROTECTED]> wrote:

> Erlend,
>
> This doesn't work with "string"?  Maybe something there is removing
> numbers.  Have you tried with an example without numbers?
> e.g. fooaaa and foobbb.  Does foo* match them both?  If it does, then
> perhaps you can create a custom field type and use KeywordTokenizer in it.
>  Example schema.xml has some of this stuff.
>
>
> Otis
> --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>
>
>
> ----- Original Message ----
> > From: Erlend Hamnaberg <[EMAIL PROTECTED]>
> > To: solr-user@lucene.apache.org
> > Sent: Monday, August 18, 2008 7:42:22 AM
> > Subject: Restrict Wildcards
> >
> > Hi list.
> >
> > Is it possible to create a field type in solr that does not match with
> > wildcard queries?
> >
> > I want it to only match the complete string, so if I have indexed
> "foo123"
> > and "foo234" i dont want "foo*" to match any of these.
> >
> > This does not work with just using the predefined "string" type.
> >
> > Any suggestions?
> >
> >
> > Warm regards
> >
> > Erlend Hamnaberg
>
>

Reply via email to