Re: Multiple Values not getting Indexed

2011-06-11 Thread Gora Mohanty
On Sat, Jun 11, 2011 at 9:52 PM, Pawan Darira wrote: > 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 th

Re: Multiple Values not getting Indexed

2011-06-11 Thread Pawan Darira
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 wo

Re: Multiple Values not getting Indexed

2011-06-09 Thread Gora Mohanty
On Fri, Jun 10, 2011 at 10:36 AM, Pawan Darira 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 loo

Re: Multiple Values not getting Indexed

2011-06-09 Thread Pawan Darira
it did not work :( On Thu, Jun 9, 2011 at 12:53 PM, Bill Bell wrote: > You have to take the input and splitBy something like "," to get it into > an array and reposted back to > Solr... > > I believe others have suggested that? > > On 6/8/11 10:14 PM, "Pawan Darira" wrote: > > >Hi > > > >I am t

Re: Multiple Values not getting Indexed

2011-06-09 Thread Bill Bell
You have to take the input and splitBy something like "," to get it into an array and reposted back to Solr... I believe others have suggested that? On 6/8/11 10:14 PM, "Pawan Darira" wrote: >Hi > >I am trying to index 2 fields with multiple values. BUT, it is only >putting >1 value for each &

Re: Multiple Values not getting Indexed

2011-06-09 Thread Bill Bell
Is there a way to splitBy and trim the field after splitting? I know I can do it with Javascript in DIH, but how about using the regex parser? On 6/9/11 1:18 AM, "Stefan Matheis" wrote: >Pawan, > >just separating multiple values by comma does not make them >multi-value in solr-speak. But if you

Re: Multiple Values not getting Indexed

2011-06-09 Thread Stefan Matheis
Pawan, just separating multiple values by comma does not make them multi-value in solr-speak. But if you're already using DIH, you may try the http://wiki.apache.org/solr/DataImportHandler#RegexTransformer to 'splitBy' the field and get the expected field-values Regards Stefan On Thu, Jun 9, 201

Multiple Values not getting Indexed

2011-06-08 Thread Pawan Darira
Hi 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 -