sorry for the inconvenience. actually i was trying the solution suggested in
this mail thread. As mentioned in 1st mail,

I am trying to index 2 fields with multiple values. BUT, it is only putting
1 value for each & ignoring rest of the values after comma(,). I am fetching
query through DIH. It works fine if i have only 1 value each of the 2 fields

E.g. Field1 - 150,178,461,151,310,306,305,179,137,162
& Field2 - Chandigarh,Gurgaon,New
Delhi,Ahmedabad,Rajkot,Surat,Mumbai,Nagpur,Pune,India - Others


Schema.xml


<field name="city_type" type="text" indexed="true" stored="true"/>
<field name="city_desc" type="text" indexed="true" stored="true"/>










--------------------------------------------------------------------------------------------------

But in my index, it is showing only "150" in Field1 & "Gurgaon" in Field2.
Then, as suggested in mail thread, i tried to use "split-by ," for field1 &
field2 in schema.xml. It did not show me the error and results were also the
same as it was before using "split by". Along with split-by i mentioned the
attribute as "multivalued=true".






On Fri, Jun 10, 2011 at 10:40 AM, Gora Mohanty <g...@mimirtech.com> wrote:

> On Fri, Jun 10, 2011 at 10:36 AM, Pawan Darira <pawan.dar...@gmail.com>
> wrote:
> > it did not work :(
> [...]
>
> Please provide more details of what you tried, what was the error, and
> any error messages that you got. Just saying that "it did not work" makes
> it pretty much impossible for anyone to help you.
>
> You might take a look at http://wiki.apache.org/solr/UsingMailingLists
>
> Regards,
> Gora
>



-- 
Thanks,
Pawan Darira

Reply via email to