Re: [BUG/ISSUE] Distributed Search doesn't response the result set when use existing lucene index

2010-06-08 Thread Scott Zhang
I checked my existing lucene indexes. All the "ID" field are "stored" but not "indexed". I don't want to rebuild these indexes as it will take days. Can solr be changed a little let "ID" be "not indexed"? Thanks. On Tue, Jun 8, 2010 at 3:30 PM, Scott Zhang wrote: > Hi. Koji. > > Not sure how t

Re: [BUG/ISSUE] Distributed Search doesn't response the result set when use existing lucene index

2010-06-08 Thread Scott Zhang
Hi. Koji. Not sure how to set "uniqueKey" field in my lucene index. I am creating it by using lucene.net Document doc = new Document(); doc.Add(new Field("id", product_obj.product_id.ToString(), Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.Add(new Field("type", "product", Fiel

Re: [BUG/ISSUE] Distributed Search doesn't response the result set when use existing lucene index

2010-06-08 Thread Koji Sekiguchi
Are you sure you have uniqueKey field in your "lucene" index? Distributed search needs it. Koji Sekiguchi from mobile On 2010/06/08, at 15:52, Scott Zhang wrote: Hi. All. I am coming from solr user mailing list. I got a problem with distributed search. Looks it is BUG/ISSUE in solr i

Re: [BUG/ISSUE] Distributed Search doesn't response the result set when use existing lucene index

2010-06-08 Thread Scott Zhang
I finally know why it doesn't return the result. When I created the index, I set "id" field as "Stored" but not "indexed" because I don't see the reason to index the id. Then in schema.xml, I found I have to set "ID" as "indexed" but actually it is not. Not sure how solr is implemented internally

[BUG/ISSUE] Distributed Search doesn't response the result set when use existing lucene index

2010-06-07 Thread Scott Zhang
Hi. All. I am coming from solr user mailing list. I got a problem with distributed search. Looks it is BUG/ISSUE in solr itself. I am trying to use solr to search over 2 lucene indexes. I am following the solr tutorial and test the distributed search example. It works. Then I am using m