actuall no you don't .. if you want hi in a sentence of hi there this is me this is just normal tokenizing and should work .. check your field type/analysers
On Oct 14, 2010, at 7:59 AM, Allistair Crossley wrote: > i think you need to look at ngram tokenizing > > On Oct 14, 2010, at 7:55 AM, PeterKerk wrote: > >> >> I try to determine if a certain word occurs within a field. >> >> http://localhost:8983/solr/db/select/?indent=on&facet=true&fl=id,title&q=introtext:hi >> >> this works if an EXACT match was found on field introtext, thus the field >> value is just "hi" >> >> But if the field value woud be "hi there, this is just some text", the above >> URL does no longer find this record. >> >> What is the queryparameter to ask solr to look inside the introtext field >> for a value (and even better also for synonyms) >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/check-if-field-CONTAINS-a-value-as-opposed-to-IS-of-a-value-tp1700495p1700495.html >> Sent from the Solr - User mailing list archive at Nabble.com. >