Need Schema help

2011-06-02 Thread Denis Kuzmenok
Hi) What i need: Index prices to products, each product has multiple prices, to each region, country, and price itself. I tried to do with field type long multiple:true, and form value as country code + region code + price (1004000349601, for example), but it has strange

Re: Need Schema help

2011-06-02 Thread lee carroll
Denis, would dynamic fields help: field defined as *_price in schema at index time you index fields named like: [1-9]_[0-99]_price at query time you search the price field for a given country region 1_10_price:[10 TO 100] This may work for some use-cases i guess lee 2011/6/2 Denis Kuzmenok

Re: Need Schema help

2011-06-02 Thread Denis Kuzmenok
Thursday, June 2, 2011, 6:29:23 PM, you wrote: Wow. This sounds nice. Will try this way. Thanks! Denis, would dynamic fields help: field defined as *_price in schema at index time you index fields named like: [1-9]_[0-99]_price at query time you search the price field for a given country

Re: Need Schema help

2011-06-02 Thread Erick Erickson
This range behavior doesn't make sense. Are you completely sure you're not dropping a digit out someplace? Best Erick 2011/6/2 Denis Kuzmenok forward...@ukr.net: Hi) What i need: Index  prices  to  products, each product has multiple prices, to each region, country, and price itself. I  

Re: Design questions/Schema Help

2010-07-27 Thread Chantal Ackermann
Hi, IMHO you can do this with date range queries and (date) facets. The DateMathParser will allow you to normalize dates on min/hours/days. If you hit a limit there, then just add a field with an integer for either min/hour/day. This way you'll loose the month information - which is sometimes

Design questions/Schema Help

2010-07-26 Thread Mark
We are thinking about using Cassandra to store our search logs. Can someone point me in the right direction/lend some guidance on design? I am new to Cassandra and I am having trouble wrapping my head around some of these new concepts. My brain keeps wanting to go back to a RDBMS design. We

Re: Design questions/Schema Help

2010-07-26 Thread Mark
On 7/26/10 4:43 PM, Mark wrote: We are thinking about using Cassandra to store our search logs. Can someone point me in the right direction/lend some guidance on design? I am new to Cassandra and I am having trouble wrapping my head around some of these new concepts. My brain keeps wanting to

Re: Design questions/Schema Help

2010-07-26 Thread Tommy Chheng
Alternatively, have you considered storing(or i should say indexing) the search logs with Solr? This lets you text search across your search queries. You can perform time range queries with solr as well. @tommychheng Programmer and UC Irvine Graduate Student Find a great grad school based

Re: Design questions/Schema Help

2010-07-26 Thread Kiwi de coder
i think the search log will require a lot of storage which may make indexes size unreasonable large if store in solr. and the aggregration results may not really fixed in lucene index structure. :) kiwi happy hacking ! On Tue, Jul 27, 2010 at 7:47 AM, Tommy Chheng tommy.chh...@gmail.comwrote:

xincludes schema help

2009-10-11 Thread David Stuart
Hi, I am trying to get xincludes with xpointer working in schema.xml as per this closed issue requrest https://issues.apache.org/jira/browse/SOLR-1167 . To make our upgrade path easier I want to be able to include extra custom fields in the schema and am including an extra set of fields

Re: schema help

2008-03-12 Thread Geoffrey Young
Rachel McConnell wrote: Our Solr use consists of several rather different data types, some of which have one-to-many relationships with other types. We don't need to do any searching of quite the kind you describe, but I have an idea about it, depending on what you need to do with the book

Re: schema help

2008-03-12 Thread Geoffrey Young
the trouble I'm having is one of dimension. an author has many, many attributes (name, birthdate, biography in $language, etc). as does each book (title in $language, summary in $language, genre, etc). as does each library (name, address, directions in $language, etc). so an author with N

schema help

2008-03-11 Thread Geoffrey Young
hi :) I'm trying to work out a schema for our widgets. more than just coming up with something I'd like something idiomatic in solr terms. any help is much appreciated. here's a similar problem space to what I'm working with... lets say we're talking books. books are written by authors

Re: schema help

2008-03-11 Thread Otis Gospodnetic
[EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Tuesday, March 11, 2008 12:17:32 PM Subject: schema help hi :) I'm trying to work out a schema for our widgets. more than just coming up with something I'd like something idiomatic in solr terms. any help is much appreciated. here's

Re: schema help

2008-03-11 Thread Geoffrey Young
. --Geoff Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Geoffrey Young [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Tuesday, March 11, 2008 12:17:32 PM Subject: schema help hi :) I'm trying to work out a schema for our widgets

Re: schema help

2008-03-11 Thread Rachel McConnell
://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Geoffrey Young [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Tuesday, March 11, 2008 12:17:32 PM Subject: schema help hi :) I'm trying to work out a schema for our widgets. more than just

Re: schema help

2008-03-11 Thread Otis Gospodnetic
Geoff, some comments inlined. - Original Message From: Geoffrey Young [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Tuesday, March 11, 2008 4:55:15 PM Subject: Re: schema help Otis Gospodnetic wrote: Geoff, I'm not sure if I understood your problem correctly