Re: Need help with troublesome wildcard query

2011-07-08 Thread Christopher Cato
And don't you know, that EdgeNGram analyzer did the trick. Added the fieldtype, added a new field based on it, copyfielded the old title to it, reindexed and hey - it works brilliantly :) And you were right, the analysis output does make sence once it actually matches something :D Thanks a mil

Re: Need help with troublesome wildcard query

2011-07-08 Thread Erick Erickson
Nope, that should do it (although I haven't tried that exact set of steps). But you do have to reindex from scratch Best Erick On Fri, Jul 8, 2011 at 1:36 PM, Christopher Cato wrote: > Thanks for that pointer, that's really more what I want to do. And actually, > EdgeNGrams is stuck somewh

Re: Need help with troublesome wildcard query

2011-07-08 Thread Christopher Cato
Thanks for that pointer, that's really more what I want to do. And actually, EdgeNGrams is stuck somewhere in the back of my head :) Yes, simple at first thought but not as easy to implement as I have discovered. Well, so how do I implement something like this? I took the fieldtype declaration

Re: Need help with troublesome wildcard query

2011-07-08 Thread Erick Erickson
Yeah, the analysis page takes a bit of getting used to, but it's well worth the time. Be sure to check the "verbose" box. Taking some time to understand what it's telling you is one of the best investments you'll make. Your "parts of words" is the issue. One approach is to use ngrams or edgengrams

Re: Need help with troublesome wildcard query

2011-07-08 Thread Christopher Cato
Hi Briggs, thanks for being patient with me! Yeah, I saw I had a typo there in the OR clause. Fixed it but still no perfect results. I'm looking at the analysis.jsp page and can't really figure it out. Feeling a bit overwhelmed by all the output. I also don't know how to check if stemming is us

Re: Need help with troublesome wildcard query

2011-07-08 Thread Briggs Thompson
Hey Chris, Removing the ORs in each query might help narrow down the problem, but I suggest you run this through the query analyzer in order to see where it is dropping out. It is a great tool for troubleshooting issues like these. I see a few things here. - for leading wildcard queries, you s

Re: Need help with troublesome wildcard query

2011-07-08 Thread Christopher Cato
Hi Briggs. Thanks for taking the time. I have the query nearly working now, currently this is how it looks when it matches on the title "Super Technocrane 30" and others with similar names: INFO: [] webapp=/solr path=/select/ params={qf=title^40.0&hl.fl=title&wt=json&rows=10&fl=*,score&start=0&

Re: Need help with troublesome wildcard query

2011-07-07 Thread Briggs Thompson
Hello Christopher, Can you provide the exact query sent to Solr for the one word query and also the two word query? The field type definition for your title field would be useful too. >From what I understand, Solr should be able to handle your use case. I am guessing it is a problem with how the