Re: how to balance index and search

2007-03-15 Thread James liu
Can people from cnet tell how to use solr in CNET.COM ? 2007/3/16, James liu <[EMAIL PROTECTED]>: I find index html will make tomcat obtain cpu 100% . It make seach become slow. So how to balance index and search. web i use apache+php solr i use tomcat 6+java1.6 Any suguessti

Re: how to balance index and search

2007-03-18 Thread James liu
2007/3/17, Chris Hostetter <[EMAIL PROTECTED]>: if your indexing while searching is causing problems, one way to reduce the impact is to index on a master instance and then use the replication scripts to sync it up with a slave instance (where all of your searches happen) I think it have pro

Re: how to balance index and search

2007-03-18 Thread James liu
2007/3/17, Chris Hostetter <[EMAIL PROTECTED]>: : Can people from cnet tell how to use solr in CNET.COM ? I really don't understand your question, here's some links to CNET.com that use Solr... http://www.cnet.com/4244-5_1-0.html?query=ipod http://search.news.com/search?q=apple http://reviews

Re: how to balance index and search

2007-03-18 Thread James liu
2007/3/19, Chris Hostetter <[EMAIL PROTECTED]>: : I think it have problem that we use win2003 and i remember replication The scripts thta come with Solr don't work on windows becaues they rely on hardlinks to efficinelty copy only things that have changed -- but the principle of indexing on on

Re: how to balance index and search

2007-03-18 Thread James liu
2007/3/19, Chris Hostetter <[EMAIL PROTECTED]>: : I just wana know CNET.com's index and search architecture if it can be : public. : Many people who use solr or wanna use,,they all wanna know and learn. I'm not sure what to tell you: Solr *is* our search arch. Below information that i wann

Question: Is it Parse error or tomcat not find "jeasy.analysis.MMAnalyzer"

2007-03-21 Thread James liu
Is it Parse error or tomcat not find "jeasy.analysis.MMAnalyzer" tomcat lib have this class jar. and set classpath to it. winxp + tomcat 6+ java 1.6, it work well. now i use freebsd6+tomcat 6+java 1.5_07(i recompiled solr.war) any one can help me to fix it? tomcat log(localhost.2007-03-22.l

Re: Question: Is it Parse error or tomcat not find "jeasy.analysis.MMAnalyzer"

2007-03-21 Thread James liu
I just change analyzer from "jeasy.analysis.MMAnalyzer" to"* org.apache.lucene.analysis.standard.StandardAnalyzer*" it will work well. but i write test.java to use "jeasy.analysis.MMAnalyzer" and test.java work well. 2007/3/22, James liu <[EMAIL PROTECTED]

Re: Question: Is it Parse error or tomcat not find "jeasy.analysis.MMAnalyzer"

2007-03-21 Thread James liu
Yepi fix it. The problem is Tomcat's question. Thk u, Chris. i find you always first answer my question .Thk u

how to use snappuller

2007-03-21 Thread James liu
First try,,,i don't know how to use my scripts.conf: user=Administrator solr_hostname=localhost solr_port=8983 rsyncd_port=18983 data_dir= webapp_name=solr master_host=192.168.7.56 master_data_dir=data master_status_dir=data my cmd: bash bin/snappuller -M 192.168.7.56 -D bash bin/snappuller

Re: how to use snappuller

2007-03-21 Thread James liu
I think it work. but failed. [root@ /tmp/solr1]# bash bin/snappuller-enable [root@ /tmp/solr1]# bash bin/snappuller-enable -u root [root@ /tmp/solr1]# bash bin/snappuller -M 192.168.7.56 -D data -S data -u root Password: Password: Password: usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v

Re: how to use snappuller

2007-03-22 Thread James liu
i should setup rsyncd.conf, if yes,how to setup and snappuller will be ok. 2007/3/22, James liu <[EMAIL PROTECTED]>: I think it work. but failed. [root@ /tmp/solr1]# bash bin/snappuller-enable > [root@ /tmp/solr1]# bash bin/snappuller-enable -u root > [root@ /tmp/solr

index problem

2007-03-28 Thread James liu
i use freebsd6, tomcat 6(without install)+jdk1.5_07+php5+mssql i debug my program and data is ok before update to do index and index process is ok. no error. but i find index file not what i wanna. it have changed. tomcat6's server.xml,,i added "URIEncoding="UTF-8" data send to solr do i

Re: index problem

2007-03-29 Thread James liu
Problem i fix it. Thks,Yonik. 2007/3/30, Yonik Seeley <[EMAIL PROTECTED]>: On 3/29/07, James liu <[EMAIL PROTECTED]> wrote: > i use freebsd6, tomcat 6(without install)+jdk1.5_07+php5+mssql > > i debug my program and data is ok before update to do index > >

Re: maximum index size

2007-03-29 Thread James liu
If u wanna use one index file to do it, i think u know how to do when u read my this mail. I think maybe you can divid it into serveral ?(i don't know how to define it.) everyone have one master and serveral slaver if u use solr...one request do serveral query. it can reduce index file size and i

Question: how to config memory with SolrPerformanceFactor

2007-03-29 Thread James liu
How to calc memory's size when i use solr. i read http://wiki.apache.org/solr/SolrPerformanceFactors#head-c4dfbdc1d256883e87f54cbb8160690d7997e4b3 but not know how to calc? i find solr alway can work when i delete index,,i think it maybe cached in memory. is it just 'warm'? and autowarmCount

Re: Question: how to config memory with SolrPerformanceFactor

2007-03-29 Thread James liu
index file increase. if it cached in memory, how to limit it? use autowarmCount? 2007/3/30, Mike Klaas <[EMAIL PROTECTED]>: On 3/29/07, James liu <[EMAIL PROTECTED]> wrote: > i find solr alway can work when i delete index,,i think it maybe cached in > memory. Tricky,

Re: Question: how to config memory with SolrPerformanceFactor

2007-04-01 Thread James liu
Thk u Chris. i just wanna know how to manage master and slaver hardware, for example ram and disc 's size. 2007/3/31, Chris Hostetter <[EMAIL PROTECTED]>: : if we mv index.tmp$$ index,,,is it truly deleted? it's not treuly deleted until no running processes have the file handles open anym

Does solr support Multi index and return by score and datetime

2007-04-04 Thread James liu
i have a project, it have 100g data, now i have 3-4 server for solr. so i wanna use multi solr to decrease index's time. but how to search by using solr, if solr not support multi index. -- regards jl

Re: Does solr support Multi index and return by score and datetime

2007-04-04 Thread James liu
i find it http://wiki.apache.org/solr/FederatedSearch we can use it and how? 2007/4/4, James liu <[EMAIL PROTECTED]>: i have a project, it have 100g data, now i have 3-4 server for solr. so i wanna use multi solr to decrease index's time. but how to search by using solr,

Re: Does solr support Multi index and return by score and datetime

2007-04-04 Thread James liu
That means now i can' solve it with solr? 2007/4/4, Yonik Seeley <[EMAIL PROTECTED]>: On 4/4/07, James liu <[EMAIL PROTECTED]> wrote: > i find it http://wiki.apache.org/solr/FederatedSearch That was design brainstorming. Nothing there has been implemented, and it's

Re: Does solr support Multi index and return by score and datetime

2007-04-04 Thread James liu
2007/4/5, Mike Klaas <[EMAIL PROTECTED]>: On 4/4/07, James liu <[EMAIL PROTECTED]> wrote: > That means now i can' solve it with solr? Not out-of-the-box, no. But you can certainly query your slaves independently can combine based on score. I think it is part of full-

Re: Does solr support Multi index and return by score and datetime

2007-04-04 Thread James liu
2007/4/5, Mike Klaas <[EMAIL PROTECTED]>: On 4/4/07, James liu <[EMAIL PROTECTED]> wrote: > 2007/4/5, Mike Klaas <[EMAIL PROTECTED]>: > > > > On 4/4/07, James liu <[EMAIL PROTECTED]> wrote: > > > That means now i can' solve it with solr? &

Re: Does solr support Multi index and return by score and datetime

2007-04-04 Thread James liu
2007/4/5, Mike Klaas <[EMAIL PROTECTED]>: On 4/4/07, James liu <[EMAIL PROTECTED]> wrote: > > > I think it is part of full-text search. > > I think query slavers and combin result by score should be the part of solr. > > I find it http://dev.lucene-ws.net/

Re: Instructables on solr

2007-04-04 Thread James liu
I wanna know how to solve big index which seems u have big index. 2007/4/5, Otis Gospodnetic <[EMAIL PROTECTED]>: Hi Ryan, Can you elaborate on "running SOLR-20 with a hibernate-solr auto link"? You mean you listen to Hibernate events and use them to keep the index served by Solr in sync wit

Re: Does solr support Multi index and return by score and datetime

2007-04-04 Thread James liu
Anyone have problem like this and how to solve it? 2007/4/5, James liu <[EMAIL PROTECTED]>: 2007/4/5, Mike Klaas <[EMAIL PROTECTED]>: > > On 4/4/07, James liu <[EMAIL PROTECTED]> wrote: > > > > > I think it is part of full-text search. > > &

Re: Instructables on solr

2007-04-04 Thread James liu
Thks for ur answer. 2007/4/5, Ryan McKinley <[EMAIL PROTECTED]>: On 4/4/07, James liu <[EMAIL PROTECTED]> wrote: > I wanna know how to solve big index which seems u have big index. > As far as lucene is concerned, we have a relatively small index. ~300K docs (and growing

Re: Does solr support Multi index and return by score and datetime

2007-04-04 Thread James liu
2007/4/5, Otis Gospodnetic <[EMAIL PROTECTED]>: James, It looks like people already answered your questions. Split your big index. Put it on multiple servers. Put Solr on each of those servers. Write an application that searches multiple Solr instances in parallel. Get N results fro

Re: Does solr support Multi index and return by score and datetime

2007-04-05 Thread James liu
xperience. Otis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Simpy -- http://www.simpy.com/ - Tag - Search - Share - Original Message From: James liu <[EMAIL PROTECTED] > To: solr-user@lucene.apache.org Sent: Thursday, April 5, 2007 1:57:07 AM Subject: Re: Does so

Re: Post in JSON format?

2007-04-05 Thread James liu
aha, today i write handleJsonResponse,,,i think the same question, why not post json data. 2007/4/6, Ryan McKinley <[EMAIL PROTECTED]>: Everything is in place to make it an easy task. A CSV update handler was recently committed, a JSON loader should be a relatively straightforward task. But,

Re: Solr logo poll

2007-04-09 Thread James liu
A 2007/4/9, Laxmilal Menaria <[EMAIL PROTECTED]>: A -LM On 4/6/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: > > Quick poll... Solr 2.1 release planning is underway, and a new logo > may be a part of that. > What "form" of logo do you prefer, A or B? There may be further > tweaks to these pic

Question: index performance

2007-04-13 Thread James liu
i find it will be OutOfMemory when i get more that 10k records. so now i index 10k records( 5k / record) if i use for to index more data. it always show OutOfMemory. i use top to moniter and find index finish, free memory is 125m,,and sometime it will be 218m it show me solr index finish and

resin faile to start with solr.

2007-04-18 Thread James liu
It work well when i use tomcat with solr now i wanna test resin,,,i use resin-3.1.0 now it show me [03:47:34.047] WebApp[http://localhost:8080] starting [03:47:34.691] WebApp[http://localhost:8080/resin-doc] starting [03:47:34.927] WebApp[http://localhost:8080/solr1] starting [03:47:35.051] Sol

How to use Similarity

2007-04-19 Thread James liu
i uncoment Similarity in Schema.xmland start tomcat i use admin gui to test and find it not effect. maybe something is wrong, anyone know? -- regards jl

yesterday i download solr, it not support IndexInfo

2007-04-19 Thread James liu
i read it from http://wiki.apache.org/solr/IndexInfoRequestHandler -- regards jl

Re: yesterday i download solr, it not support IndexInfo

2007-04-19 Thread James liu
I know it should be configed in solrconfig.xml. and i think it may be with newest version. But i find no, so i just think is it problem when i download. 2007/4/20, Erik Hatcher <[EMAIL PROTECTED]>: On Apr 19, 2007, at 9:42 PM, James liu wrote: > i read it from http://wiki.apache

Re: Facet.query

2007-04-19 Thread James liu
I think it only concern with QueryWord, not about Facet。 2007/4/20, Ge, Yao (Y.) <[EMAIL PROTECTED]>: Never mind. I should have read the example (http://wiki.apache.org/solr/SimpleFacetParameters#head-1da3ab3995bc4abc dce8e0f04be7355ba19e9b2c) first. From: Ge

Question about solrPlugins

2007-04-20 Thread James liu
i use customer Analyzer. Now i config synonyms filter. but it not effect. my schema.xml write: i think query procedure: first do myCustomerAnlyzer, two use synonyms to do analyzed word. if analyzed word is find in synonyms.txt and i

Re: How to use Similarity

2007-04-20 Thread James liu
no one know? 2007/4/19, James liu <[EMAIL PROTECTED]>: i uncoment Similarity in Schema.xmland start tomcat i use admin gui to test and find it not effect. maybe something is wrong, anyone know? -- regards jl -- regards jl

just advice

2007-04-24 Thread James liu
i use solr multi instance, now i m testing solr and i find config file exist in divided directory. so i have to change path to modify config file. why not use user defined config file? i m lazy man, so i choose solr. -- regards jl

Re: just advice

2007-04-25 Thread James liu
Just path. for example. i have a slaver and have 10 instances which name like solr1, solr2,solr3... if solr support user define config file 's path.. i will use /usr/solrapp/conf/solr1_solrconfig.xml, solr2_solrconfig.xml, solr3_solrconfig.xml...and so. when i test these instance, i just stay

Re: resin faile to start with solr.

2007-04-25 Thread James liu
3.0.23 yesterday i try and fail. which version u use,,,i just not use pro version. 2007/4/26, Bill Au <[EMAIL PROTECTED]>: Have you tried resin 3.0.x? 3.1 is a development branch so it is less stable as 3.0. Bill On 4/19/07, James liu <[EMAIL PROTECTED]> wrote: > > It wo

Re: expressing this logic

2007-04-25 Thread James liu
if use customer Analyzer, u can use solr admin gui, and click analyzer which can help you use customer analyzer(i use it to be sure my customer analyzer is ok). if u wanna know query syntax ,,,it same with lucene,,so u can read http://lucene.apache.org/java/docs/queryparsersyntax.html 2007

about cache

2007-04-25 Thread James liu
now i use admin gui to moniter cache config i don't know the difference betwin cumulative_ and no *cumulative_* ,,,like cumulative_inserts and inserts and i find evictions always show zeroi m curious when it will change and its meaning -- regards jl

Re: about cache

2007-04-26 Thread James liu
set a small size for queryResultCache and try to issue many unique queries. For example, set the size to 1, then issue 2 unique queries, then you can see evictions: 1. regards, Koji James liu wrote: > now i use admin gui to moniter cache config > > i don't know the difference

Re: resin faile to start with solr.

2007-04-26 Thread James liu
ill Au <[EMAIL PROTECTED]>: >> >>Have you tried resin 3.0.x? 3.1 is a development branch so it is less >>stable as 3.0. >> >>Bill >> >>On 4/19/07, James liu <[EMAIL PROTECTED]> wrote: >>> >>> It work well when i use tomcat wit

Re: about cache

2007-04-26 Thread James liu
hows that you have enough room in your cache in comparison to your load. By way of example, when we did load test for "size==1 cache", we could see: - queryResultCache- lookups: 78626 hits: 72 hitratio: 0.00 inserts: 78554 evictioins: 1042748 size: 1 Hope this helps, Koji James liu w

Re: about cache

2007-04-26 Thread James liu
first thk u reply. maybe u tell me the procedure i will test it by myself. my test size=sum(rows)one query=10,two query(new keyword)=20 2007/4/27, James liu <[EMAIL PROTECTED]>: These data is true ? hitration is 0?? size=1? how do u test it? i think these data is impo

Re: about cache

2007-04-26 Thread James liu
1. set queryResultCache size to 1 2. restart Solr 3. issue two *unique* queries 4. see admin page At step 4, you should see hitratio: 0.00 and evictions: 1. Thanks, Koji James liu wrote: > These data is true ? hitration is 0?? > > size=1? > > how do u test it? > > i thi

Question to php to do with multi index

2007-04-26 Thread James liu
php not support multi thread,,,and how can u solve with multi index in parallel? now i use curl_multi maybe more effect way i don't know,,,so if u know, tell me. thks. -- regards jl

Re: about cache

2007-04-26 Thread James liu
tion system, you have to set the proper size rather than 1. regards, Koji James liu wrote: > u close queryResultCache if u set its size=1 > > hitratio will be zero if u do that. > > > i think these data when u test, is it right? > > > > 2007/4/27, Koji Sekiguchi <[

Re: just advice

2007-04-27 Thread James liu
HMmm mkdir+ln-s => solve my problem thks hoss. 2007/4/28, Chris Hostetter <[EMAIL PROTECTED]>: : i will use /usr/solrapp/conf/solr1_solrconfig.xml, solr2_solrconfig.xml, : solr3_solrconfig.xml...and so. : : when i test these instance, i just stay in /usr/solrapp.conf/,,,not like : now, :

Re: Solr and memcached

2007-04-27 Thread James liu
i used to think cache data with memcached. why i think that? for example, i have 45 solr instance, and i have to merge their results into on array and sort by score or datetime, if i use rows=10, it means i will get max 45*10 results,,but it only show 10result per page. how to do with 440 resul

Re: multiple solr instances using same index files?

2007-04-27 Thread James liu
I think performance u should notice. when one instance do index,commit,optimize,,,it will cose much CPU,RAM. i think it will disturb your search(when they use other solr instance) unless u know the time they will search or search's frequency is low. 2007/4/28, Ryan McKinley <[EMAIL PROTECTED]>:

Re: resin faile to start with solr.

2007-04-27 Thread James liu
yes, i tried and failed. afternoon i will redownload solr and test . 2007/4/28, Bill Au <[EMAIL PROTECTED]>: Have you tried using the schema.xml that is in example/solr/conf. It that works then the problem is definitely in your schema.xml. Bill On 4/26/07, James liu <[EMAIL

Re: Question to php to do with multi index

2007-04-27 Thread James liu
in to one class to manage pipes communication between multiple child processes effectively. On 4/26/07, James liu <[EMAIL PROTECTED]> wrote: > > php not support multi thread,,,and how can u solve with multi index in > parallel? > > now i use curl_multi > > maybe more effect way i do

Re: resin faile to start with solr.

2007-04-27 Thread James liu
now i test the newest solr (nothing modified) i failed to start solr with resin 3.0 2007/4/28, James liu <[EMAIL PROTECTED]>: yes, i tried and failed. afternoon i will redownload solr and test . 2007/4/28, Bill Au <[EMAIL PROTECTED]>: > > Have you tried using the sch

i wanna find one crawl that can crawl with defined urls and defined data

2007-04-28 Thread James liu
for example, i wanna crawl http://www.amazone.com/ and just wanna product title , product information, writer, publisher. and other data i wanna ignore. Maybe someone can recommend it, and it will be appreciate -- regards jl

I find one strange thing

2007-04-28 Thread James liu
now i test solr, so only i use search. when i left search sometime, and i search something, it will be slow. when i use it frequency, it search quick... This thing only happened not use search sometime? Anyone have same thing? -- regards jl

Re: I find one strange thing

2007-04-28 Thread James liu
i think i find it because i set hashDocSet maxsize=0 i not use faceting and why i can't close HashDocSet? 2007/4/29, Yonik Seeley <[EMAIL PROTECTED]>: On 4/28/07, James liu <[EMAIL PROTECTED]> wrote: > now i test solr, so only i use search. > > when i left sea

Re: resin faile to start with solr.

2007-04-29 Thread James liu
just newest solr's web.xml. i not modifie it. -- Ken >2007/4/28, James liu <[EMAIL PROTECTED]>: >> >>yes, i tried and failed. >> >>afternoon i will redownload solr and test . >> >>2007/4/28, Bill Au <[EMAIL PROTECTED]>: >>> >

Re: i wanna find one crawl that can crawl with defined urls and defined data

2007-04-29 Thread James liu
u means their data just use RSS feeds, not crawl? 2007/4/30, Fuad Efendi <[EMAIL PROTECTED]>: H. Even PriceGrabber, CNET, and Frgle can't do it!!! They simply publish RSS feeds. http://www.tokenizer.org -Original Message- From: James liu Sent: Saturday, Apr

Re: i wanna find one crawl that can crawl with defined urls and defined data

2007-05-01 Thread James liu
2007/4/30, Graeme Merrall <[EMAIL PROTECTED]>: > i wanna crawl http://www.amazone.com/ and just wanna product title , > product information, writer, publisher. > > and other data i wanna ignore. How about http://blog.foofactory.fi/2007/02/online-indexing-integrating-nutch-with.html i read

Facet only support english?

2007-05-04 Thread James liu
Expect it to support other language like chinese. maybe solr facet can config like this when it support other language. title:"诺基亚" or title:'诺基亚' or title:诺基亚 -- regards jl

something i think about "facet"

2007-05-07 Thread James liu
for example, my facet queries have 100. i wanna show top 10 facet queries. not show all unless user wanna know. I not find it when i read solr's wiki, maybe solr now not support it. maybe it is not needed. just discuss -- regards jl

Re: something i think about "facet"

2007-05-07 Thread James liu
aha,,, i find it used by cnet.com url: http://shopper.cnet.com/4566-6501_9-0.html?tag=stbc.gp and http://shopper.cnet.com/4566-6501_9-0.html?sa=136&tag=stbc.gp how does it do? 2007/5/8, James liu <[EMAIL PROTECTED]>: for example, my facet queries have 100. i wanna show to

Re: something i think about "facet"

2007-05-07 Thread James liu
if use 100 facets,,,it will cost more than use 10 facet. so i think it maybe use two facet style. or facet's rule. if it like what you said,,i think i know hot to do. thks,Mike 2007/5/8, Mike Klaas <[EMAIL PROTECTED]>: On 5/7/07, James liu <[EMAIL PROTECTED]> wrote: > f

Re: something i think about "facet"

2007-05-07 Thread James liu
aha,,i Just wanna show the count. thks, Hoss 2007/5/8, Chris Hostetter <[EMAIL PROTECTED]>: : if use 100 facets,,,it will cost more than use 10 facet. you can't show the top 10 unless you calculate the count for all of them. if you are using facet.field, Solr is already computing the co

Re: something i think about "facet"

2007-05-08 Thread James liu
. my solrconfig.xml like this > forumname > forumname:娱乐 > > 2007/5/8, James liu <[EMAIL PROTECTED]>: aha,,i Just wanna show the count. thks, Hoss 2007/5/8, Chris Hostetter <[EMAIL PROTECTED]>: > > > : if use 100 facets,,,it will cost more than use 1

Re: cwd requirement to run Solr with Tomcat

2007-05-08 Thread James liu
i use freebsd(csh),,and use cmd like /tmp/*tomcat*/bin/startup.sh if u use ./apache-tomcat-5.5.20/bin/startup.sh u maybe chmod +x ./*tomcat*/bin/startup.sh or sh ./*tomcat*/bin/startup.sh i have 15 instances in one box(use tomcat) 2007/5/9, Teruhiko Kurosaka <[EMAIL PROTE

Question about delete

2007-05-09 Thread James liu
i use command like this curl http://localhost:8983/solr/update --data-binary 'name:DDR' curl http://localhost:8983/solr/update --data-binary '' and i get numDocs : 0 maxDoc : 1218819 when i search something which exists in before delete and find nothing. but index file size not changed

Re: Question about delete

2007-05-10 Thread James liu
but index file size not changed and maxDoc not changed. > 2007/5/10, Nick Jenkin <[EMAIL PROTECTED]>: Hi James, As I understand it numDocs is the number of documents in your index, maxDoc is the most documents you have ever had in your index. You currently have no documents in y

Re: Does solr support index which made by lucene 1.4.3

2007-05-10 Thread James liu
solr1and i use solr1 admin to search,,,return error.. tomorrow i show query return error information. 2007/5/10, Yonik Seeley <[EMAIL PROTECTED]>: On 5/10/07, James liu <[EMAIL PROTECTED]> wrote: > i try, it show me error information: Solr could support a Lucene 1.4.3 index

Re: Does solr support index which made by lucene 1.4.3

2007-05-10 Thread James liu
This information when i use solr admin to query '中国' 0 313 on 0 中国 10 2.2 java.io.IOException: read past EOF at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:89) at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedInd

Re: cwd requirement to run Solr with Tomcat

2007-05-10 Thread James liu
I don't know simeple example. i use rename dist/apache*.war as solr.war and only use example/solr directory and define it with http://wiki.apache.org/solr/SolrTomcat Multiple Solr Webapps 2007/5/11, Teruhiko Kurosaka <[EMAIL PROTECTED]>: BTW, The Simple Example Install section in http://w

Re: Question about delete

2007-05-10 Thread James liu
get it. thks yonik. 2007/5/10, Yonik Seeley <[EMAIL PROTECTED]>: On 5/10/07, Ajanta Phatak <[EMAIL PROTECTED]> wrote: > I believe in lucene at least deleting documents only marks them for > deletion. The actual delete happens only after closing the IndexReader. > Not sure about Solr Closing an

Re: Solr concurrent commit not updated

2007-05-10 Thread James liu
u should know id is unique number. 2007/5/11, David Xiao <[EMAIL PROTECTED]>: Hello all, I have tested by use post.sh in example directory to add xml documents into solr. It works when I add one by one. But when I have a lot of .xml file to be posted (say about 500-1000 files) and I wrote a

can i modifie date format

2007-05-10 Thread James liu
MS SQL database have one date format solr have one date format web page show have one date format why not user config date format, solr read date format rule, maybe like this, http://cn2.php.net/manual/en/function.date.php now solr 1.1 date format is /MM/DD H:I:S? -- regards jl

Question: Pagination with multi index box

2007-05-14 Thread James liu
if use multi index box, how to pagination with sort by score correctly? for example, i wanna query "search" with 60 index box and sort by score. i don't know the num found from every index box which have different content. if promise 10 page with sort score correctly, i think solr 's start is 0

Re: Question: Pagination with multi index box

2007-05-14 Thread James liu
2007/5/15, Mike Klaas <[EMAIL PROTECTED]>: On 14-May-07, at 1:35 AM, James liu wrote: > if use multi index box, how to pagination with sort by score > correctly? > > for example, i wanna query "search" with 60 index box and sort by > score. > > i don'

Re: Question: Pagination with multi index box

2007-05-14 Thread James liu
if i set rows=(page-1)*10,,,it will lose more result which fits query. how to set start when pagination. 2007/5/15, James liu <[EMAIL PROTECTED]>: 2007/5/15, Mike Klaas <[EMAIL PROTECTED]>: > > On 14-May-07, at 1:35 AM, James liu wrote: > > > if use multi index

Re: Question: Pagination with multi index box

2007-05-14 Thread James liu
5/15, Mike Klaas <[EMAIL PROTECTED]>: On 14-May-07, at 6:49 PM, James liu wrote: > 2007/5/15, Mike Klaas <[EMAIL PROTECTED]>: >> >> On 14-May-07, at 1:35 AM, James liu wrote: >> >> When you get up to 60 partitions, you should make it a multi stage >> pro

Re: Question: Pagination with multi index box

2007-05-14 Thread James liu
for example, i wanna query "lucene", it's numFound is 234300. and results should sorted by score. if u do, how to pagination and sort it's score? 2007/5/15, Mike Klaas <[EMAIL PROTECTED]>: On 14-May-07, at 7:15 PM, James liu wrote: > if i set rows=(page-1)*

Re: Question: Pagination with multi index box

2007-05-14 Thread James liu
2007/5/15, Mike Klaas <[EMAIL PROTECTED]>: On 14-May-07, at 8:55 PM, James liu wrote: > thks for your detail answer. > > but u ignore "sorted by score" > > p1, p2,p1,p1,p3,p4,p1,p1 > > maybe their max score is lower than from p19,p20. > I'm not ig

Re: Question: Pagination with multi index box

2007-05-14 Thread James liu
maybe full-text search sort correct not very import. 2007/5/15, James liu <[EMAIL PROTECTED]>: 2007/5/15, Mike Klaas <[EMAIL PROTECTED]>: > > On 14-May-07, at 8:55 PM, James liu wrote: > > > thks for your detail answer. > > > > but u ignore "sorte

Re: PriceJunkie.com using solr!

2007-05-16 Thread James liu
how many solr instance? 2007/5/17, Yonik Seeley <[EMAIL PROTECTED]>: Congrats, very nice job! It's fast too. -Yonik On 5/16/07, Mike Austin <[EMAIL PROTECTED]> wrote: > I just wanted to say thanks to everyone for the creation of solr. I've been > using it for a while now and I have recently

Notice: if u use php and get json style result from solr

2007-05-17 Thread James liu
if u get null from json_decode($data),,,maybe ur $data have '@'fix way is replace it before u do json_decode i try json_encode with php and json_decode with phpit is no problem when i use '@' maybe it only happen encode(by java) and decode(by php) -- regards jl

Re: Notice: if u use php and get json style result from solr

2007-05-17 Thread James liu
2007/5/18, Chris Hostetter <[EMAIL PROTECTED]>: : : if u get null from json_decode($data),,,maybe ur $data have '@'fix way : is replace it before u do json_decode : : i try json_encode with php and json_decode with phpit is no problem when : i use '@' : : maybe it only happen encode(by j

Re: Notice: if u use php and get json style result from solr

2007-05-20 Thread James liu
the attach is json_encode string which have "@" now i find it is PHP JSON function bug because it happen not only when i use the encode string have "@". now i use JSON_PHP class.(http://mike.teczno.com/json.html) test code (PHP CODE): http://bbs.qq.com/cgi-bin/bbs/show/content?club=0&groupid=1

Re: system architecture question when using solr/lucene

2007-05-21 Thread James liu
first u should know ur goal. second u should analyzer ur search interface which fit for ur customer third u analyzer ur queries(optimize solr with more used queries) 40 Threads /s does it mean u use 40 solr instances or it just show higher user queries? 2007/5/21, Yonik Seeley <[EMAIL PROTECT

Re: List of highlighted terms from search query

2007-05-22 Thread James liu
first u try enable highlighting( http://wiki.apache.org/solr/HighlightingParameters) and u try solr admin gui to see its output and u will find what u wanna. 2007/5/23, solruser <[EMAIL PROTECTED]>: Hi, I am wondering can we get the list of all highlighted terms from the search query. If

Re: List of highlighted terms from search query

2007-05-22 Thread James liu
2007/5/23, solruser <[EMAIL PROTECTED]>: Hi James, I have already had tried out options for highlighting but unfortunately since solr highligted results does not include special characters special characters? maybe u should print some . in the results, thats the reason I am looki

question regarding sorting

2007-05-23 Thread James O'Rourke
localhost:8983/solr/select/?indent=on&q=24;%20lastmodified% 20asc&fl=uniquekey,lastmodified Anyone know why? James

Re: PriceJunkie.com using solr!

2007-05-23 Thread James liu
ahait is wonderful. 2007/5/24, Mike Austin <[EMAIL PROTECTED]>: Just one. -Original Message- From: James liu [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 10:30 PM To: solr-user@lucene.apache.org Subject: Re: PriceJunkie.com using solr! how many solr instance?

index problem with write lock

2007-05-23 Thread James liu
i find one interesting thing. when i index data with 45 solr boxs.(data have 1700w, freebsd6, java: diablo-1.5.0_07-b01, tomcat6), write lock will happen in the procedure. Reindex with solr box which have problem with write block. it show me well. it happen serveral times, so i wanna know why i

Re: index problem with write lock

2007-05-23 Thread James liu
i find it always happen when index have been doing for a while. for example, it will happen after starting index 1 hour - 2hours. 2007/5/24, James liu <[EMAIL PROTECTED]>: i find one interesting thing. when i index data with 45 solr boxs.(data have 1700w, freebsd6, java: diablo-1.

Re: index problem with write lock

2007-05-24 Thread James liu
2007/5/25, Chris Hostetter <[EMAIL PROTECTED]>: : when i index data with 45 solr boxs.(data have 1700w, freebsd6, java: : diablo-1.5.0_07-b01, tomcat6), write lock will happen in the procedure. 1) bug reports about errors are nearly useless without a real error message including a stack trace

something i think important and should be added

2007-05-24 Thread James liu
multi layer: now solr's procedure: user query -> solr instance -> show results i think it maybe simple to some application maybe this procedure fit for: user query -> Master solr query instance -> single solr query instance -> show results master solr query instance: it can define some glo

Re: Difficulty posting unicode to solr index

2007-05-24 Thread James liu
how do u sure ur file is encoded by utf-8? 2007/5/24, Ethan Gruber <[EMAIL PROTECTED]>: Hi, I am attempting to post some unicode XML documents to my solr index. They are encoded in UTF-8. When I attempt to query from the solr admin page, I'm basically getting gibberish garbage text in return

facet should add facet.analyzer

2007-05-25 Thread James liu
facet.analyzer is true, do analyze, if false don't analyze. why i say that, Chinese word not use space to split, so if analyzed, it will change. now i will use map to fix it before no facet.analyzer. -- regards jl

Re: facet should add facet.analyzer

2007-05-28 Thread James liu
2007/5/29, Chris Hostetter <[EMAIL PROTECTED]>: : > facet.analyzer is true, do analyze, if false don't analyze. : What if Solr doesn't have access to the unindexed version? My : suggestion would be to copyField into an unanalyzed version, and : facet on that. me too. yeah, i'm not even su

<    3   4   5   6   7   8   9   >