> > > 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]
> >
: > 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
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
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]="
> 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.
> One way would be to define a single field in the schema as p_value_type =
"client pramod" i.e. combine the value from both the field and store it in a
single field.
yep, f
In my case the document id is the unique key( each row is not a unique
document ) . So a single document has multiple Party Value and Party Type.
Hence i need to define both Party value and Party type as mutli-valued. Is
there any way in solr to say p_value[someIndex]="pramod" And
p_type[someIn
With the usecase you specified it should work to just index each "Row" as
you described in your initial post to be a seperate document.
This way p_value and p_type all get singlevalued and you get a correct
combination of p_value and p_type.
However, this may not go so well with other use-cases yo
I want to do that. But if i understand correctly in solr it would store the
field like this:
p_value: "Pramod" "Raj"
p_type: "Client" "Supplier"
When i search
p_value:"Pramod" AND p_type:"Supplier"
it would give me result as document 1. Which is incorrect, since in document
1 Pramod is a Clien
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 schema design problem
Hi,
L