Re: Searching "inside of words"

2008-05-20 Thread Daniel Löfquist
Thanks a million! That totally did the trick. It is now working at least 95% like I want it to. Gotta tweak it a little more but it seems like the hard part is over. Thanks once again to everybody who helped out. //Daniel Chris Hostetter wrote: : You are doing the right thing. If you are cre

Re: Searching "inside of words"

2008-05-19 Thread Chris Hostetter
: You are doing the right thing. If you are creating n-grams at index : time, you have to match that at query time. If the query is "monitor", : you need to pass that through n-gram tokenizer, too. n-grams of length : 18 look a little weird you don't *have* to use ngrams at query time .

Re: Searching "inside of words"

2008-05-19 Thread Otis Gospodnetic
-- Lucene - Solr - Nutch - Original Message > From: Daniel Löfquist <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Monday, May 19, 2008 7:14:52 AM > Subject: Re: Searching "inside of words" > > Thank you for your reply. > I've been t

Re: Searching "inside of words"

2008-05-19 Thread Daniel Löfquist
Thank you for your reply. I've been trying some things out this morning but I'm still not getting it to work properly. I have a feeling that I'm on the right track somewhat though. The type in my schema.xml looks like this:

Re: Searching "inside of words"

2008-05-17 Thread Chris Hostetter
: so the only ones I can utilize are EdgeNGramTokenizerFactory and : NGramTokenizerFactory. : : I've done some playing around with them but the best result I've gotten so far : is a field-type that enables searching for specific letters, for example I can : search for an item that contains the le

Re: Searching "inside of words"

2008-05-16 Thread Daniel Löfquist
Sorry for taking forever to reply but anyway... We're using Solr-1.2.0 and can't for various reasons use the Nightly-version. The 1.2.0-version doesn't have NGramFilterFactory and EdgeNGramFilterFactory so the only ones I can utilize are EdgeNGramTokenizerFactory and NGramTokenizerFactory. I

Re: Searching "inside of words"

2008-04-17 Thread Otis Gospodnetic
Hi Daniel, Well, searching "inside of words" requires special treatment, because normally searches work on words/terms/tokens. Make use of the following: $ ff \*NGram\*java ./src/java/org/apache/solr/analysis/EdgeNGramTokenizerFactory.java ./src/java/org/apache/solr/analysis/NGramTokenizerFactory