Elaine Li 2009-10-06, 16:10
-Re: How to retrieve the index of a string within a field?
Sandeep Tagore 2009-10-07, 12:12
What do you mean by "index of this word".. do you want to return the first
occurrence of the word in that sentence or the document id.
Also which type of field is it? is it a Text or String? If that is of type
Text.. u can't achieve that because the sentence will be tokenized.
Elaine Li wrote:
> I have a field. The field has a sentence. If the user types in a word
> or a phrase, how can I return the index of this word or the index of
> the first word of the phrase?
> I tried to use &bf=ord..., but it does not work as i expected.
View this message in context: http://www.nabble.com/How-to-retrieve-the-index-of-a-string-within-a-field--tp25771821p25783936.html
Sent from the Solr - User mailing list archive at Nabble.com.
Elaine Li 2009-10-07, 14:19
Sandeep Tagore 2009-10-07, 15:06
Elaine Li 2009-10-07, 18:12
Sandeep Tagore 2009-10-08, 05:31
Elaine Li 2009-10-08, 13:30
Sandeep Tagore 2009-10-09, 06:43
Chris Hostetter 2009-10-09, 16:54