Re: indexing comments with Apache Solr

2014-08-06 Thread Jack Krupansky
ply a stream of flat documents. -- Jack Krupansky -Original Message- From: Ali Nazemian Sent: Wednesday, August 6, 2014 9:35 AM To: solr-user@lucene.apache.org Subject: Re: indexing comments with Apache Solr Dear Alexandre, Hi, Thank you very much. I think nested document is what I need. D

Re: indexing comments with Apache Solr

2014-08-06 Thread Umesh Prasad
griddynamics blog is useful. It has 4 parts which covers block join quite well .. http://blog.griddynamics.com/2012/08/block-join-query-performs.html http://blog.griddynamics.com/2013/09/solr-block-join-support.html http://blog.griddynamics.com/2013/12/grandchildren-and-siblings-with-block.html

Re: indexing comments with Apache Solr

2014-08-06 Thread Ali Nazemian
Dear Alexandre, Hi, Thank you very much. I think nested document is what I need. Do you have more information about how can I define such thing in solr schema? Your mentioned blog post was all about retrieving nested docs. Best regards. On Wed, Aug 6, 2014 at 5:16 PM, Alexandre Rafalovitch wrote

Re: indexing comments with Apache Solr

2014-08-06 Thread Alexandre Rafalovitch
You can index comments as child records. The structure of the Solr document should be able to incorporate both parents and children fields and you need to index them all together. Then, just search for JOIN syntax for nested documents. Also, latest Solr (4.9) has some extra functionality that allow

Re: indexing comments with Apache Solr

2014-08-06 Thread Jack Krupansky
: Ali Nazemian Sent: Wednesday, August 6, 2014 5:18 AM To: solr-user@lucene.apache.org Subject: Re: indexing comments with Apache Solr Dear Gora, I think you misunderstood my problem. Actually I used nutch for crawling websites and my problem is in index side and not crawl side. Suppose page is fetch

Re: indexing comments with Apache Solr

2014-08-06 Thread Ali Nazemian
Dear Gora, I think you misunderstood my problem. Actually I used nutch for crawling websites and my problem is in index side and not crawl side. Suppose page is fetch and parsed by Nutch and all comments and the date and source of comments are identified by parsing. Now what can I do for indexing t

Re: indexing comments with Apache Solr

2014-08-06 Thread Gora Mohanty
On 6 August 2014 14:13, Ali Nazemian wrote: > > Dear all, > Hi, > I was wondering how can I mange to index comments in solr? suppose I am > going to index a web page that has a content of news and some comments that > are presented by people at the end of this page. How can I index these > comment