Re: Solr Indexing Patterns

2011-06-09 Thread Judioo
Very informative links and statement Jonathan. thank you. On 6 June 2011 20:55, Jonathan Rochkind rochk...@jhu.edu wrote: This is a start, for many common best practices: http://wiki.apache.org/solr/SolrRelevancyFAQ Many of the questions in there have an answer that involves

Re: Solr Indexing Patterns

2011-06-06 Thread Judioo
On 5 June 2011 14:42, Erick Erickson erickerick...@gmail.com wrote: See: http://wiki.apache.org/solr/SchemaXml By adding ' multiValued=true ' to the field, you can add the same field multiple times in a doc, something like add doc field name=mvvalue1/field field name=mvvalue2/field

Re: Solr Indexing Patterns

2011-06-06 Thread Erick Erickson
#Everybody# (including me) who has any RDBMS background doesn't want to flatten data, but that's usually the way to go in Solr. Part of whether it's a good idea or not depends on how big the index gets, and unfortunately the only way to figure that out is to test. But that's the first approach

Re: Solr Indexing Patterns

2011-06-06 Thread Judioo
Thanks On 6 June 2011 19:32, Erick Erickson erickerick...@gmail.com wrote: #Everybody# (including me) who has any RDBMS background doesn't want to flatten data, but that's usually the way to go in Solr. Part of whether it's a good idea or not depends on how big the index gets, and

Re: Solr Indexing Patterns

2011-06-06 Thread Judioo
I do think that Solr would be better served if there was a *best practice section *of the site. Looking at the majority of emails to this list they resolve around how do I do X?. Seems like tutorials with real world examples would serve Solr no end of good. I still do not have an example of the

Re: Solr Indexing Patterns

2011-06-06 Thread Jonathan Rochkind
This is a start, for many common best practices: http://wiki.apache.org/solr/SolrRelevancyFAQ Many of the questions in there have an answer that involves de-normalizing. As an example. It may be that even if your specific problem isn't in there, I myself anyway found reading through there

Re: Solr Indexing Patterns

2011-06-05 Thread Erick Erickson
See: http://wiki.apache.org/solr/SchemaXml By adding ' multiValued=true ' to the field, you can add the same field multiple times in a doc, something like add doc field name=mvvalue1/field field name=mvvalue2/field /doc /add But there's no real ability in Solr to store sub documents, so

Solr Indexing Patterns

2011-06-03 Thread Judioo
What is the best practice method to index the following in Solr: I'm attempting to use solr for a book store site. Each book will have a price but on occasions this will be discounted. The discounted price exists for a defined time period but there may be many discount periods. Each discount