Problem : limit results when using edismax way .

2014-06-23 Thread xiaoqi

when user input keywords like "white T shirt" to search products, i want to
list all T shirt with white colour , so i using edismax like
item_category^1.4 item_colour^0.5 , but the result still come out some other
products which is not T shirt but white. 

is any way to limit result only T shirt then think about colour by solr  ? 

by solr version is : 3.5 

thanks !!!



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Problem-limit-results-when-using-edismax-way-tp4143601.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Problem : limit results when using edismax way .

2014-06-23 Thread xiaoqi
http://localhost:7080/solr/select?l=*,score&start=0&q=%E7%99%BD%E8%89%B2%E5%B8%BD%E5%AD%90&qf=item_category^1.4+item_colour^0.5&bf=mul(ctr,2.5)&wt=xml&fq=item_id:[0+TO+*]&fq=&rows=60&defType=edismax&version=2&debugQuery=on



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Problem-limit-results-when-using-edismax-way-tp4143601p4143606.html
Sent from the Solr - User mailing list archive at Nabble.com.


problems about solr replication in 4.3

2013-07-23 Thread xiaoqi

hi,all 

i have two solr ,one is master , one is replication , before i use them
under 3.5 version . it works fine .
 when i upgrade to 4.3version , i found when replication solr copying index
from master , it will clean current index and copy new version to self
folder . slave can't search  during this process !

i am newer to solr 4 , does this normal ? any ideas , thanks !





--
View this message in context: 
http://lucene.472066.n3.nabble.com/problems-about-solr-replication-in-4-3-tp4079665.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: problems about solr replication in 4.3

2013-07-25 Thread xiaoqi
thank u for replying very much .

in fact ,we make a process for this problem , we found when master building 
index, it will clean self index when building index . so slave every minute
to sync index, destroy self index folder.  

by the way : we building index using
dataimport0?command=full-import&clean=false
,dataimport1?command=full-import&clean=false, 
dataimport2?command=full-import&clean=false .

 when i using in solr3.6 has no problem ,never delete at first . 

does solr 4 need to special config anything ? 

thanks a lot .



--
View this message in context: 
http://lucene.472066.n3.nabble.com/problems-about-solr-replication-in-4-3-tp4079665p4080480.html
Sent from the Solr - User mailing list archive at Nabble.com.


solrj-httpclient-slow

2013-09-11 Thread xiaoqi

hi,everyone

when i track my solr client  timing cost , i find one problem : 

some time the whole execute time is very long ,when i go to detail ,i find
the solr server execute short time  , then the main costs inside httpclient
(make a connection ,send request or recived  response ,blablabla. 

i am not familar httpclient inside code . does anyone met the same problem ? 

although , i update solrj 's new version ,the problem still. 

by the way : my solrj version is : 4.2 ,solr is 3.* 


Thanks a lot 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/solrj-httpclient-slow-tp4089287.html
Sent from the Solr - User mailing list archive at Nabble.com.


Using another way instead of DIH

2013-04-25 Thread xiaoqi
hi,all

i using DIH to build index is slow , when it fetch 2 million rows , it will
spend 20 minutes , very slow. 

i am not very familar with  solr , try to   using lucene direct building
index file from db then move to solr folder.

i am not sure ,that is right way. or any other good way? 

thanks a lot .


 





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Using-another-way-instead-of-DIH-tp4058937.html
Sent from the Solr - User mailing list archive at Nabble.com.


RE: Using another way instead of DIH

2013-04-25 Thread xiaoqi
Thanks for help .

"data-config.xml" ? i can not find this file , u mean data-import.xml or
solrconfig.xml ? 





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Using-another-way-instead-of-DIH-tp4058937p4059067.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Using another way instead of DIH

2013-04-26 Thread xiaoqi

below is my data-import.xml

any suggestion ? 












































































































































--
View this message in context: 
http://lucene.472066.n3.nabble.com/Using-another-way-instead-of-DIH-tp4058937p4059127.html
Sent from the Solr - User mailing list archive at Nabble.com.