Indexing all permutations of words from the input

2011-01-20 Thread Martin Jansen
Hey there, I'm looking for an analyzer configuration for Solr 1.4 that accomplishes the following: Given the input abc xyz foo I would like to add at least the following token combinations to the index: abc abc xyz abc xyz foo abc foo xyz xyz foo

Re: Indexing all permutations of words from the input

2011-01-20 Thread Jonathan Rochkind
Why do you want to do this, what is it meant to accomplish? There might be a better way to accomplish what it is you are trying to do; I can't think of anything (which doesn't mean it doesn't exist) that what you're actually trying to do would be required in order to do. What sorts of

Re: Indexing all permutations of words from the input

2011-01-20 Thread Martin Jansen
On 20.01.11 22:19, Jonathan Rochkind wrote: On 1/20/2011 4:03 PM, Martin Jansen wrote: I'm looking for ananalyzer configuration for Solr 1.4 that accomplishes the following: Given the input abc xyz foo I would like to add at least the following token combinations to the index: abc

Re: Indexing all permutations of words from the input

2011-01-20 Thread Jonathan Rochkind
Aha, I have no idea if there actually is a better way of achieving that, auto-completion with Solr is always tricky and I personally have not been happy with any of the designs I've seen suggested for it. But I'm also not entirely sure your design will actually work, but neither am I sure it

RE: Indexing all permutations of words from the input

2011-01-20 Thread Steven A Rowe
: Jonathan Rochkind [mailto:rochk...@jhu.edu] Sent: Thursday, January 20, 2011 4:46 PM To: Martin Jansen Cc: solr-user@lucene.apache.org Subject: Re: Indexing all permutations of words from the input Aha, I have no idea if there actually is a better way of achieving that, auto-completion