You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "b.riezler@pixel-ink.de" <b....@pixel-ink.de> on 2013/02/25 13:03:14 UTC

id field doesn't match

Hi all,

i have an id field wich always contains a string with that schema "vw-200130315-9999"
Wich field type and settings should i use to get exactly this id as a result.
Actually i always get more then one result.

Kind regards
Benjamin

Re: id field doesn't match

Posted by Rafał Kuć <r....@solr.pl>.
Hello!

If you what you need is an exact match, try using the simple string
type. 

-- 
Regards,
 Rafał Kuć
 Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch

> Hi all,

> i have an id field wich always contains a string with that schema "vw-200130315-9999"
> Wich field type and settings should i use to get exactly this id as a result.
> Actually i always get more then one result.

> Kind regards
> Benjamin