Strange problem when use dismax handler

2010-06-30 Thread Scott Zhang
Hi. All. I am using default dismax to search within solr. The problem is when I search I want to specify the type to restrict the result. Here is what I do: 1. Query String with one type (Works!) :design)) AND ((type:product) ))) 2. Query String with 2 types (Works!) :design)) AND

Re: Strange problem when use dismax handler

2010-06-30 Thread Scott Zhang
, as in my case, type = book besides use the design to search over 2 fields ? Thanks On Wed, Jun 30, 2010 at 4:08 PM, Scott Zhang macromars...@gmail.com wrote: Hi. All. I am using default dismax to search within solr. The problem is when I search I want to specify the type to restrict the result

Re: Strange problem when use dismax handler

2010-06-30 Thread Scott Zhang
Well. I figured it out. I should use fq parameter. fq=type:music type:movie type:product On Wed, Jun 30, 2010 at 4:15 PM, Scott Zhang macromars...@gmail.com wrote: I use debugQuery to check my query url: I notice the query url is parsed incorrectly. The type:book was parsed as query

Re: Field missing when use distributed search + dismax

2010-06-24 Thread Scott Zhang
. Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message From: Scott Zhang macromars...@gmail.com To: solr-user@lucene.apache.org Sent: Tue, June 22, 2010 11:04:07 AM Subject: Field missing

Re: Field missing when use distributed search + dismax

2010-06-23 Thread Scott Zhang
start=0 - doc str name=idmember_marship11/str /doc /result So strange! On Wed, Jun 23, 2010 at 11:12 AM, Lance Norskog goks...@gmail.com wrote: Do all of the Solr instances, including the broker, use the same schema.xml? On 6/22/10, Scott Zhang macromars...@gmail.com wrote: Hi. All. I

Re: Field missing when use distributed search + dismax

2010-06-23 Thread Scott Zhang
disappeared. Not sure why. Can anyone test this and confirm the reason? Thanks. Regards. On Wed, Jun 23, 2010 at 2:50 PM, Scott Zhang macromars...@gmail.com wrote: Hi. Lance. Thanks for replying. Yes. I especially checked the schema.xml and did another simple test. The broker is running

Field missing when use distributed search + dismax

2010-06-22 Thread Scott Zhang
Hi. All. I was using distributed search over 30 solr instance, the previous one was using the standard query handler. And the result was returned correctly. each result has 2 fields. ID and type. Today I want to use search withk dismax, I tried search with each instance with dismax. It works

how to have shards parameter by default

2010-06-09 Thread Scott Zhang
Hi. I am running distributed search on solr. I have 70 solr instances. So each time I want to search I need to use ?shards=localhost:7500/solr,localhost..7620/solr It is very long url. so how can I encode shards into config file then i don't need to type each time. thanks. Scott

Re: how to have shards parameter by default

2010-06-09 Thread Scott Zhang
/requestHandler On Thu, Jun 10, 2010 at 11:48 AM, Scott Zhang macromars...@gmail.comwrote: Hi. I am running distributed search on solr. I have 70 solr instances. So each time I want to search I need to use ?shards=localhost:7500/solr,localhost..7620/solr It is very long url. so how can I

Re: Distributed Search doesn't response the result set

2010-06-08 Thread Scott Zhang
index, then it can't be distributed searched? Welcome anyone help. Thanks. Regards. Scott On Mon, Jun 7, 2010 at 4:48 PM, Scott Zhang macromars...@gmail.com wrote: Is there a possibility caused by I am using my own lucene indexes. Not the one created by solr itself? Regards Scott On Mon

Re: Distributed Search doesn't response the result set

2010-06-08 Thread Scott Zhang
, Scott Zhang macromars...@gmail.com wrote: Hi. All. I tried with the default solr example plus my own config/schema file. I post test document into solr manually. Then test the distributed search and it works. Then I switch to my existing l*ucene index, and it d*oesn't work. So I am wondering

Re: Distributed Search doesn't response the result set

2010-06-08 Thread Scott Zhang
, markus.rietz...@rzf.fin-nrw.de wrote: did you send a commit after the last doc posted to solr? -Ursprüngliche Nachricht- Von: Scott Zhang [mailto:macromars...@gmail.com] Gesendet: Dienstag, 8. Juni 2010 08:30 An: solr-user@lucene.apache.org Betreff: Re: Distributed Search doesn't

Re: Distributed Search doesn't response the result set

2010-06-07 Thread Scott Zhang
Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/6/7 Scott Zhang macromars...@gmail.com Hi. All. I am trying to use solr to search over 2 lucene indexes. I am following the solr tutorial

Re: Distributed Search doesn't response the result set

2010-06-07 Thread Scott Zhang
solrconfig you have configured the default rows to 0 in your default request handler. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/6/7 Scott Zhang macromars...@gmail.com Thanks

Re: Distributed Search doesn't response the result set

2010-06-07 Thread Scott Zhang
Is there a possibility caused by I am using my own lucene indexes. Not the one created by solr itself? Regards Scott On Mon, Jun 7, 2010 at 4:24 PM, Scott Zhang macromars...@gmail.com wrote: Hi. I tried URL: http://localhost:8983/solr/select?shards=localhost:8983/solr,localhost:7574