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 wrote: > I use debugQuery to check my query url: > I notice the query url is parsed incorrectly. > > The "type:book" was parsed

Re: Strange problem when use dismax handler

2010-06-30 Thread Scott Zhang
filed , 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 wrote: > Hi. All. >I am using default dismax to search within solr. > The problem is when I search I want to specify the

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")) AN

Re: Field missing when use distributed search + dismax

2010-06-24 Thread Scott Zhang
ion > of your handler. > Otis > > Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch > Lucene ecosystem search :: http://search-lucene.com/ > > > > ----- Original Message > > From: Scott Zhang > > To: solr-user@lucene.apache.org > > Sent:

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 wrote: > Hi. Lance. > > Thanks for replying. > > Yes. I especially checked the schema.xml and did another simple test. > The broker is running on l

Re: Field missing when use distributed search + dismax

2010-06-22 Thread Scott Zhang
elect?shards=localhost:7498/solr&q=marship&qt=dismax result name="response" numFound="1" start="0"> - member_marship11 So strange! On Wed, Jun 23, 2010 at 11:12 AM, Lance Norskog wrote: > Do all of the Solr instances, including the broker, use the

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 wo

Re: how to have "shards" parameter by default

2010-06-09 Thread Scott Zhang
lhost:7503/solr,localhost:7504/solr,localhost:7505/solr,localhost:7506/solr On Thu, Jun 10, 2010 at 11:48 AM, Scott Zhang wrote: > 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,

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: Distributed Search doesn't response the result set

2010-06-08 Thread Scott Zhang
tista > http://www.paradigmatecnologico.com > Avenida de Europa, 26. Ática 5. 3ª Planta > 28224 Pozuelo de Alarcón > Tel.: 91 352 59 42 > > > 2010/6/8 Scott Zhang > > > Hi. Markus. > > > > Thanks for replying. > > > > I figured out the re

Re: Distributed Search doesn't response the result set

2010-06-08 Thread Scott Zhang
On Tue, Jun 8, 2010 at 7:38 PM, wrote: > did you send a commit after the last doc posted to solr? > > > -Ursprüngliche Nachricht- > > Von: Scott Zhang [mailto:macromars...@gmail.com] > >

Re: Distributed Search doesn't response the result set

2010-06-07 Thread Scott Zhang
at 2:02 PM, Scott Zhang 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.

Re: Distributed Search doesn't response the result set

2010-06-07 Thread Scott Zhang
ucene 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 wrote: > Is there a possibility caused by I am using my own lucene indexes. > Not the one created by solr itself? > > > Regards > Sco

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 wrote: > Hi. > I tried URL: > http://localhost:8983/solr/select?shards=localhost:8983/solr,localhost:7574/solr&indent=t

Re: Distributed Search doesn't response the result set

2010-06-07 Thread Scott Zhang
de Europa, 26. Ática 5. 3ª Planta > 28224 Pozuelo de Alarcón > Tel.: 91 352 59 42 > > > 2010/6/7 Scott Zhang > > > Thanks for replying. > > > > Here is the part of my schema.xml: > > I only have 4 fields in my document. > > > > > &g

Re: Distributed Search doesn't response the result set

2010-06-07 Thread Scott Zhang
n you put the query that you > are doing to the servers. > > 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 > > > Hi. All. > > I am

Distributed Search doesn't response the result set

2010-06-06 Thread Scott Zhang
Hi. All. 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 my own lucene indexes. Search in each solr instance works and return the expected result. But when I do distributed search usi