RE: solr data config questions

2010-06-29 Thread Peng, Wei
ot;[...@66e23a","[...@8e5225","[...@1b308c1","[...@103f345"], > > I use the same query on mysql database, it returns right results. > > Can someone answer me this ? > > Many Thanks > > Vivian > > -Original Message- > From:

Re: solr data config questions

2010-06-29 Thread Alexey Serba
5225","[...@1b308c1","[...@103f345"], > > I use the same query on mysql database, it returns right results. > > Can someone answer me this ? > > Many Thanks > > Vivian > > -Original Message----- > From: Alexey Serba [mailto:ase...@gma

RE: solr data config questions

2010-06-29 Thread Peng, Wei
From: Alexey Serba [mailto:ase...@gmail.com] Sent: Monday, June 28, 2010 4:41 PM To: solr-user@lucene.apache.org Subject: Re: solr data config questions Hi, You can add additional commentreplyjoin entity to story entity, i.e. ... Thus, you wi

RE: solr data config questions

2010-06-29 Thread Peng, Wei
mentreply":["234234,2","87979,343",... Both comment_id and reply_id are integers. Concat should be able to combine them into string. Vivian -Original Message- From: Alexey Serba [mailto:ase...@gmail.com] Sent: Monday, June 28, 2010 4:41 PM To: solr-user@lucene.a

Re: solr data config questions

2010-06-28 Thread Alexey Serba
Hi, You can add additional commentreplyjoin entity to story entity, i.e. ... Thus, you will have multivalued field commentreply that contains list of related "comment_id, reply_id" ("comment_id," if you don't have any related replies for this entry

solr data config questions

2010-06-28 Thread Peng, Wei
Hi All, I am a new user of Solr. We are now trying to enable searching on Digg dataset. It has story_id as the primary key and comment_id are the comment id which commented story_id, so story_id and comment_id is one-to-many relationship. These comment_ids can be replied by some repliers, so