Re: QueryParser and compound words

2003-03-13 Thread Tatu Saloranta
On Thursday 13 March 2003 00:52, Magnus Johansson wrote: > Tatu Saloranta wrote: ... > >But same happens during indexing; fotbollsmatch should be properly > >split and stemmed to "fotboll" and "match" terms, right? > > Yes but the word fotbollsmatch was never indexed in this example. Only > the wor

Re: QueryParser and compound words

2003-03-12 Thread Magnus Johansson
Tatu Saloranta wrote: On Wednesday 12 March 2003 01:19, Magnus Johansson wrote: Well, the problem arise when a user enters a query with a compound word and the compound word itself is not indexed, only one of its parts. Yes, but neither is compound word itself ever user in query either, as

Re: QueryParser and compound words

2003-03-12 Thread Tatu Saloranta
On Wednesday 12 March 2003 01:19, Magnus Johansson wrote: > Well, the problem arise when a user enters a query with a compound word > and the compound word itself is not indexed, only one of its parts. Yes, but neither is compound word itself ever user in query either, assuming same analyser is us

Re: QueryParser and compound words

2003-03-12 Thread Magnus Johansson
Well, the problem arise when a user enters a query with a compound word and the compound word itself is not indexed, only one of its parts. For example the index contains a document with the following word: fotboll (football). Let's say the users searches for fotbollsmatch (football game). The word

Re: QueryParser and compound words

2003-03-11 Thread Tatu Saloranta
On Tuesday 11 March 2003 03:05, Magnus Johansson wrote: > Hello > > I have written an Analyzer for swedish. Compound words are common in > swedish, therefore my Analyzer tries to split the compound words > into its parts. For example the swedish word fotbollsmatch (football > game) is split into fo

QueryParser and compound words

2003-03-11 Thread Magnus Johansson
Hello I have written an Analyzer for swedish. Compound words are common in swedish, therefore my Analyzer tries to split the compound words into its parts. For example the swedish word fotbollsmatch (football game) is split into fotboll and match. However when I use my Analyzer with the QueryPar