Re: Standard vs. DisMaxQueryHandler

2006-09-20 Thread Chris Hostetter
: Is the main difference between the StandardQueryHandler and : DisMaxQueryHandler the supported query syntax (and different query : parser used in each of them), and the fact that the latter creates : DisjunctionMaxQueries, while the former just creates vanilla : BooleanQueries? Are there any ot

Re: wana use CJKAnalyzer

2006-09-20 Thread James liu
i just wanna say: no your help,maybe i will give up.thk u again. http://www.flickr.com/photos/[EMAIL PROTECTED]/248815068/ 2006/9/21, James liu <[EMAIL PROTECTED]>: thk Hoss,Nick Snels,Koji,Mike and everybody who helped me and wanna help me.. i can use solr with Chinese Word. --

Re: wana use CJKAnalyzer

2006-09-20 Thread James liu
thk Hoss,Nick Snels,Koji,Mike and everybody who helped me and wanna help me.. i can use solr with Chinese Word.

Standard vs. DisMaxQueryHandler

2006-09-20 Thread Otis Gospodnetic
Hi, Is the main difference between the StandardQueryHandler and DisMaxQueryHandler the supported query syntax (and different query parser used in each of them), and the fact that the latter creates DisjunctionMaxQueries, while the former just creates vanilla BooleanQueries? Are there any other

Re: wana use CJKAnalyzer

2006-09-20 Thread James liu
i recompile it. when i ant dist...cmd shows some api is old and uncheck... Is it problem? my java version you can find http://www.flickr.com/photos/[EMAIL PROTECTED]/?saved=1 2006/9/21, James liu <[EMAIL PROTECTED]>: i dont know it is import i add junit when i use ant dist,,,it show

Re: wana use CJKAnalyzer

2006-09-20 Thread James liu
i dont know it is import i add junit when i use ant dist,,,it show me error information : not found junit,,,so i download and add it. Is it problem about CJKAnalyzer?

Re: wana use CJKAnalyzer

2006-09-20 Thread James liu
i use lukeall.jar to check indexdata. u can find picture from http://www.flickr.com/photos/[EMAIL PROTECTED]/?saved=1 solr.jpg is i use lukeall.jar to check solr's index data. lucene.jpg is i use lukeall.jar to check lucene's index data. now i use lucene is ok.

Re: wana use CJKAnalyzer

2006-09-20 Thread James liu
sorry,,it is wrong... my schema.xml id content 在06-9-21,James liu <[EMAIL PROTECTED]> 写道: to mike: " Are you testing the same field to which you are adding the analyzer? I noticed in another mail that you added this to the "text_lu" field type--the so

Re: wana use CJKAnalyzer

2006-09-20 Thread James liu
Hoss, thk for ur help 2006/9/21, Chris Hostetter <[EMAIL PROTECTED]>: : 6:start jetty,java -jar start.jar : 7:no error. : 8: http://localhost:8983/solr/admin,,,i click analyzer link,,,and try : test analyzer chinese word,but nothing happend. ...i don't know much about non latin characters bu

Re: wana use CJKAnalyzer

2006-09-20 Thread James liu
to mike: " Are you testing the same field to which you are adding the analyzer? I noticed in another mail that you added this to the "text_lu" field type--the solr example uses "text", as I recall." now my schema.xml: 111 姓名是刘平 112 姓名是小王 113 老婆不在家 but i m f

Re: copyField to a dynamic field

2006-09-20 Thread Mike Klaas
On 9/20/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: : I assume you mean you are interested in supporting something like that where whatever the "*" matches in the "source" is also matches in the "target" right? ... I don't know ofanyone working on it right now, but it's certainly someth

Re: copyField to a dynamic field

2006-09-20 Thread Chris Hostetter
: I know this is a complex one, but it help me to be able to make a dynamic : copy field, like: : : : The goal is to have for each string index a tokenized one. : It does not seem possible at the moment, but will it be in the foreseeable : future? I assume you mean you are interested in sup

Re: wana use CJKAnalyzer

2006-09-20 Thread Chris Hostetter
: you find index data from my attachements. its name is solr.jpg and lucene : breaking well, its name is lucene.jpg FYI: the mailing list only allows text attachments, if you want to refer to images you have to send a URL to an image online somewhere instead. -Hoss

Re: wana use CJKAnalyzer

2006-09-20 Thread Chris Hostetter
: 6:start jetty,java -jar start.jar : 7:no error. : 8: http://localhost:8983/solr/admin,,,i click analyzer link,,,and try : test analyzer chinese word,but nothing happend. ...i don't know much about non latin characters but i tried making the same changes you did, and asked a coworker who speaks

Re: Solr Newbie question: doubts about dynamic filed

2006-09-20 Thread Chris Hostetter
: > I have some doubts about dynamic fields, when we add a doc with a new : > dynamic filed, this new dynamic filed is only "append" to doc's that will : > have it defined in the xml, or for every document in the index? : : Just for documents that the field appears in. the one thing to keep an e

Re: wana use CJKAnalyzer

2006-09-20 Thread Mike Klaas
On 9/19/06, James liu <[EMAIL PROTECTED]> wrote: 4:modify schema(conf/schema.conf), like yours,,just "" Are you testing the same field to which you are adding the analyzer? I noticed in another mail that you added this to the "text_lu" field type--the solr example uses "text", as I recall. -M

Re: Solr Newbie question: doubts about dynamic filed

2006-09-20 Thread Yonik Seeley
On 9/20/06, Marcio Pinto Motta <[EMAIL PROTECTED]> wrote: I have some doubts about dynamic fields, when we add a doc with a new dynamic filed, this new dynamic filed is only "append" to doc's that will have it defined in the xml, or for every document in the index? Just for documents that the

Re: wana use CJKAnalyzer

2006-09-20 Thread James liu
attachements:  schema.xml2006/9/20, James liu <[EMAIL PROTECTED]>: i m java newer. so i print these steps.solr tutorial i test is ok.anything you wanna know, mail me.-- regardsjl id content

Re: wana use CJKAnalyzer

2006-09-20 Thread James liu
i m java newer. so i print these steps. solr tutorial i test is ok. anything you wanna know, mail me.

Re: wana use CJKAnalyzer

2006-09-20 Thread James liu
2006/9/20, Yonik Seeley <[EMAIL PROTECTED]>: On 9/20/06, James liu <[EMAIL PROTECTED]> wrote: > My step to support CJK...: > 1:add lucene-analyzers-2.0.0.jar to > "C:\cygwin\tmp\solr-nightly\lib" > 2:use cmd, "cd C:\cygwin\tmp\solr-nightly","ant dist" > 3:copy "C:\cygwin\tmp\solr-nightly\dist\so

Re: wana use CJKAnalyzer

2006-09-20 Thread Yonik Seeley
On 9/20/06, James liu <[EMAIL PROTECTED]> wrote: My step to support CJK...: 1:add lucene-analyzers-2.0.0.jar to "C:\cygwin\tmp\solr-nightly\lib" 2:use cmd, "cd C:\cygwin\tmp\solr-nightly","ant dist" 3:copy "C:\cygwin\tmp\solr-nightly\dist\solr- 1.0.war" to "C:\cygwin\tmp\solr-nightly\example\weba

Re: How to best index user-generated content

2006-09-20 Thread Tim Archambault
Whatever programming language you are using probably has a function that makes "xml-safe" text. For example, I'm using Coldfusion to integrate with Solr and all data is set like follows: #xmlformat(usergeneratedcontent)# My guess is PHP, ASP, etc. all have a function like this On 9/20/06, Nick

How to best index user-generated content

2006-09-20 Thread Nick Snels
Hi, I want users to add content to my site using tinyMCE, which generates HTML. When I tried adding the data to Solr, Solr refused to add it (or at least generated an error): SEVERE: org.xmlpull.v1.XmlPullParserException: parser must be on START_TAG or TEXT to read text (position: START_TAG seen

Solr Newbie question: doubts about dynamic filed

2006-09-20 Thread Marcio Pinto Motta
Hi, I have some doubts about dynamic fields, when we add a doc with a new dynamic filed, this new dynamic filed is only "append" to doc's that will have it defined in the xml, or for every document in the index? My documents may have more the one client classification and I think that I coul