Re: help with a schema design problem

2010-07-26 Thread Chantal Ackermann
> > > document > > > > > 1 Pramod is a Client and not a Supplier. > > > > Would it? I would expect it to give you nothing. > > > > -Kal > > > > > > > > -Original Message- > > From: Geert-Jan Brits [mailto:gbr...@gmail.com] > >

Re: help with a schema design problem

2010-07-23 Thread Chris Hostetter
: > Is there any way in solr to say p_value[someIndex]="pramod" : And p_type[someIndex]="client". : No, I'm 99% sure there is not. it's possibly in code, by utilizing positions and FieldMaskingSpanQuery... http://lucene.apache.org/java/2_9_0/api/all/org/apache/lucene/search/spans/FieldMaskingSpan

Re: help with a schema design problem

2010-07-23 Thread Geert-Jan Brits
give you nothing. > > -Kal > > > > -Original Message- > From: Geert-Jan Brits [mailto:gbr...@gmail.com] > Sent: Friday, July 23, 2010 5:05 PM > To: solr-user@lucene.apache.org > Subject: Re: help with a schema design problem > > > Is there any way in solr

RE: help with a schema design problem

2010-07-23 Thread Nagelberg, Kallin
ld expect it to give you nothing. -Kal -Original Message- From: Geert-Jan Brits [mailto:gbr...@gmail.com] Sent: Friday, July 23, 2010 5:05 PM To: solr-user@lucene.apache.org Subject: Re: help with a schema design problem > Is there any way in solr to say p_value[someIndex]="

Re: help with a schema design problem

2010-07-23 Thread Geert-Jan Brits
t; > > > > > > > > > > > > > On Fri, Jul 23, 2010 at 11:52 PM, Nagelberg, Kallin < > > > knagelb...@globeandmail.com> wrote: > > > > > > > I think you just want something like: > > > > > > > > p_val

Re: help with a schema design problem

2010-07-23 Thread Pramod Goyal
in < > > knagelb...@globeandmail.com> wrote: > > > > > I think you just want something like: > > > > > > p_value:"Pramod" AND p_type:"Supplier" > > > > > > no? > > > -Kallin Nagelberg > > > > > > -Orig

Re: help with a schema design problem

2010-07-23 Thread Geert-Jan Brits
; On Fri, Jul 23, 2010 at 11:52 PM, Nagelberg, Kallin < > knagelb...@globeandmail.com> wrote: > > > I think you just want something like: > > > > p_value:"Pramod" AND p_type:"Supplier" > > > > no? > > -Kallin Nagelberg > > >

Re: help with a schema design problem

2010-07-23 Thread Pramod Goyal
t; > no? > -Kallin Nagelberg > > -Original Message- > From: Pramod Goyal [mailto:pramod.go...@gmail.com] > Sent: Friday, July 23, 2010 2:17 PM > To: solr-user@lucene.apache.org > Subject: help with a schema design problem > > Hi, > > Lets say i have ta

RE: help with a schema design problem

2010-07-23 Thread Nagelberg, Kallin
I think you just want something like: p_value:"Pramod" AND p_type:"Supplier" no? -Kallin Nagelberg -Original Message- From: Pramod Goyal [mailto:pramod.go...@gmail.com] Sent: Friday, July 23, 2010 2:17 PM To: solr-user@lucene.apache.org Subject: help with a schem

help with a schema design problem

2010-07-23 Thread Pramod Goyal
Hi, Lets say i have table with 3 columns document id Party Value and Party Type. In this table i have 3 rows. 1st row Document id: 1 Party Value: Pramod Party Type: Client. 2nd row: Document id: 1 Party Value: Raj Party Type: Supplier. 3rd row Document id:2 Party Value: Pramod Party Type: Supplier