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
of my own before and I'm finding the available documentation somewhat incomplete and not very helpful so I really need some pointers from people who know better than me here. If anyone could help me out maybe even with some example-code I'd be eternally grateful. //Daniel Otis Gospodnetic

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/sol

Searching "inside of words"

2008-04-17 Thread Daniel Löfquist
Hi, I'm still pretty new to Solr. We're using it for searching on our site right now though. The configuration is however pretty much based on the example-files that come with Solr and there's one type of search that I can't get to work. Each item has fields called "title" and "description"