No. Field is of type "text_en". I can use "text_en_splitting_edge_ngram" for now. Its working for me. But it puts so much load on solr i think as all ngrams will have to be indexed. Thats why I was looking for a solution with wildcard.
On Wed, Mar 26, 2014 at 11:20 PM, Erick Erickson [via Lucene] < ml-node+s472066n4127194...@n3.nabble.com> wrote: > Looks like maybe you're defining the field is a string type? > On Mar 26, 2014 9:07 AM, "pratpor" <[hidden > email]<http://user/SendEmail.jtp?type=node&node=4127194&i=0>> > wrote: > > > I am having some strange issue with solr that I found nowhere on the > web. I > > was looking for partial matches for some fields in solr. I know of the > "*" > > wildcard which can be used for the same. Now I want to search in some > field > > with value say "Some value". Now the problem is: > > > > When I do: > > field:val* > > it detects "Some value" as a match > > > > But when I do: > > field:"val*" > > it shows up nothing. > > > > What I want here is if I query for "Some va" I should get "Some value" > in > > results. > > Help! > > > > > > > > -- > > View this message in context: > > > http://lucene.472066.n3.nabble.com/Wildcard-use-for-partial-matches-tp4127145.html > > Sent from the Solr - User mailing list archive at Nabble.com. > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/Wildcard-use-for-partial-matches-tp4127145p4127194.html > To unsubscribe from Wildcard use for partial matches, click > here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4127145&code=cHJhdGVla0BjaGF0aW1pdHkuY29tfDQxMjcxNDV8LTgwMzI1OTk5OQ==> > . > NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://lucene.472066.n3.nabble.com/Wildcard-use-for-partial-matches-tp4127145p4127201.html Sent from the Solr - User mailing list archive at Nabble.com.