solr - query document which has particular word at last index of that field -
i have field textfield
data type
i want search if has particular word @ last index of field,
for example.
my field title
value elligator red lace men's running sports shoes
now want search documents has shoes
last word in title.
have tried search solr regex ? (supported solr 4.0+.)
q=title:/.*shoes/
for this, title field must of type stringfield
, not tokenized.
Comments
Post a Comment