Re: Phrase matching question

2008-04-11 Thread Vinci
ay. > : => (stopword removal) This is a Unicode normalization drive peopel > into > : crazy 5.0 is too far away. > : Then phrase "crazy 5.0" or "Unicode normalization" we have a match for > this > : field? > : > : Thank you, > : Vinci > :

Re: Return the result only field A or field B is non-zero?

2008-04-09 Thread Vinci
me? Thank you, Vinci Walter Underwood wrote: > > This would be trivial if you also stored boolean fields for > aiszero and biszero. That would also be fast, I expect. > > wunder > > On 4/8/08 11:53 PM, "Vinci" <[EMAIL PROTECTED]> wrote: > >>

Return the result only field A or field B is non-zero?

2008-04-08 Thread Vinci
Hi all, I want to limit the search result by 2 numerical field, A and B, where Solr return the result only value in field A or B is non-zero. Does it possible or I need to change the document and schema? or I need to change the schema as well as the query? Thank you, Vinci -- View this

Phrase matching question

2008-04-06 Thread Vinci
Unicode, normalization drive peopel into crazy. 5.0 is too far away. => (stopword removal) This is a Unicode normalization drive peopel into crazy 5.0 is too far away. Then phrase "crazy 5.0" or "Unicode normalization" we have a match for this field? Thank you, Vinci -

Re: Multiple unique field?

2008-04-02 Thread Vinci
Hi, Thank you for your reply. When I set 2 unique key field, it looks like Solr only accept the first definition in schema.xml...question: so once the unique Key defined, it can't be overrided? Thank you, Vinci ryantxu wrote: > >> >> Thank you for your reply >>

Re: numDocs and maxDoc

2008-04-02 Thread Vinci
Hi, Thanks hossman, this is exactly what I want to do. Final question: so I need to merge the field by myself first? (Actually my original plan is to do 2 consecutive postingso merging is possible) Thank you, Vinci hossman wrote: > > > : I am trying to update the index b

numDocs and maxDoc

2008-04-02 Thread Vinci
index? Thank you, Vinci -- View this message in context: http://www.nabble.com/numDocs-and-maxDoc-tp16448068p16448068.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Multiple unique field?

2008-04-01 Thread Vinci
Hi, Thank you for your reply In other word, can I set 2 unique key field? Thank you, Vinci hossman wrote: > > > : I want to set 2 field that are unique for different kind of searching. > Does > : it possible? > > not unless you enforce it yourself -- there isn&#

Re: stored and indexed in schema

2008-04-01 Thread Vinci
Hi, Thank you for your reply, It look like I will have some benefit but I will also lose the highlighter/summary functionary, it that right? Thank you, Vinci Erik Hatcher wrote: > > > On Mar 31, 2008, at 11:56 PM, Vinci wrote: >> I would like to ask, if I set a field to be

Re: Setting a Threshold of a sortable field to filter the result?

2008-03-31 Thread Vinci
Hi, One more thing: which numerical data type I should use, sfloat or float, fot the fq parameter? Thank you, Vinci hossman wrote: > > : > : How can I set a threshold value of a field so that I can filter the > result > : which is lower than the threshold? By the schema.xm

Re: Indexing a word in url

2008-03-31 Thread Vinci
Hi, Thank you for your reply. Actually I want to use anything that is not alphabet or digit to be the separator - anything between them will be a word (so that I can use the URL fragment to see what is indexed about this site)...any suggestion? Thank you, Vinci Mike Klaas wrote: > > &

stored and indexed in schema

2008-03-31 Thread Vinci
another field in Solr to point to their location...I throw the retrieval job to the server :P), will I get faster respond even the query doesn't ask solr to return this large field? Thank you, Vinci -- View this message in context: http://www.nabble.com/stored-and-indexed-in-s

Re: Solr GET requests return quickly, POST requests take very long, why?

2008-03-31 Thread Vinci
hi, You need to give us some example...while you should ask in the tomcat user group of how tomcat/apache dealing with POST request as ryan said they go to the same loop. Thank you, Vinci jnagro wrote: > > I appreciate the response. We're running tomcat/apache at the moment. All

Indexing a word in url

2008-03-31 Thread Vinci
Hi all, I would like to ask, if I want to index word in a URL, which data type and parser should I use? Thank you, Vinci -- View this message in context: http://www.nabble.com/Indexing-a-word-in-url-tp16397739p16397739.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr GET requests return quickly, POST requests take very long, why?

2008-03-31 Thread Vinci
me to process when compare to GET. But I think you should pay more attention of your use on the search engine..may be synonymy may help you to reduce the amount of information of user sent. Thank you, Vinci jnagro wrote: > > Hello, > > Earlier this week we started exper

Multiple unique field?

2008-03-29 Thread Vinci
Hi, I want to set 2 field that are unique for different kind of searching. Does it possible? Thank you, Vinci -- View this message in context: http://www.nabble.com/Multiple-unique-field--tp16367339p16367339.html Sent from the Solr - User mailing list archive at Nabble.com.

Setting a Threshold of a sortable field to filter the result?

2008-03-29 Thread Vinci
Hi, How can I set a threshold value of a field so that I can filter the result which is lower than the threshold? By the schema.xml or set by the query? Thank you, Vinci -- View this message in context: http://www.nabble.com/Setting-a-Threshold-of-a-sortable-field-to-filter-the-result

Re: document retrieval, nested field and HTMLStripStandardTokenizerFactory

2008-03-27 Thread Vinci
Hi hossman, Thank you for your reply, question for the searchable field: Am I declare the field to be indexed in schema is enough to make it searchable? (Assume I write my schema based on the default one) Thank you, Vinci hossman wrote: > > > : 1. Can I limit the number of returned

Re: positionIncrementGap - what is its value meaning?

2008-03-26 Thread Vinci
stances. > 1. If I doesn't care the sloppy queries, I just set a number larger than 0 and then it will work? 2. If the sloppy queries use a range larger than the gap, what will happen? Thank you, Vinci -- View this message in context: http://www.nabble.com/positionIncrementG

Re: Search fail if copyField absent?(+ Jetty Question)

2008-03-26 Thread Vinci
erListener.java:50) > > ...that looks like this known bug... > > http://issues.apache.org/jira/browse/SOLR-509 > Seems they didn't fix it yet...but it seems harmless. Thank you, Vinci -- View this message in context: http://www.nabble.com/Search-fail-if-copyField-absent-%28%2B-Jetty-Question%29-tp16306854p16320160.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Adding custom field for sorting?

2008-03-26 Thread Vinci
irst, then the second and so on) Thank you, Vinci hossman wrote: > > : > : Inspirited by the previous post, does it possible to add my custom field > and > : use it for sorting the search result? > : If It is possible, what will be the step? Do I need to modify the source &g

Search fail if copyField absent?(+ Jetty Question)

2008-03-26 Thread Vinci
Solr run fine, I still worry for the hidden exception - does this exception harmful? Thank you Vinci -- View this message in context: http://www.nabble.com/Search-fail-if-copyField-absent-%28%2B-Jetty-Question%29-tp16306854p16306854.html Sent from the Solr - User mailing list archive at Nabble.com.

document retrieval, nested field and HTMLStripStandardTokenizerFactory

2008-03-26 Thread Vinci
TokenizerFactory which extended from BaseTokenizerFactory? 5. If I use HTMLStripStandardTokenizerFactory, do I need to escape the html character in field element? Thank you, Vinci -- View this message in context: http://www.nabble.com/document-retrieval%2C-nested-field-and

Re: Update a field without reindexing the entire document?

2008-03-26 Thread Vinci
Hi Otis, One question: If the target field is a multi-value field, what will be the consequence of the update for SOLR-139: overriding or appending? Thank you, Vinci Otis Gospodnetic wrote: > > Hi Galen, > > See SOLR-139 (this is from memory) issue in JIRA. Doable, but

Re: Highlighting Quoted Phrases

2008-03-26 Thread Vinci
Hi, Would it be easier if you turn off the highlighting while viewing full document (but summary highlighting is still available) and use javascript to do the matching? (As long as we are need highlighting only when looking at specific document in runtime) Thank you, Vinci Brian Whitman wrote

positionIncrementGap - what is its value meaning?

2008-03-26 Thread Vinci
Hi all, While I changing the default schema.xml, I found this attribute where defined the analyzer...seems it will add some space when multiple fields appear in document, but what is its effect appear in query and what is the values mean here? Thank you, Vinci -- View this message in context

Re: Fields, Facets and Indexing html document

2008-03-25 Thread Vinci
Hi Otis, Thank you for your reply. Actually the parsing is done, I just use the html tag as field name - is that ok for Solr? By the way, can the attribute in fields be meaningful to Solr? Vinci Otis Gospodnetic wrote: > > Hi Vinci, > > Maybe this answers most of your questions

Re: CJKTokenizer in Solr 1.3?

2008-03-25 Thread Vinci
Hi Otis, Thank you for your comment. Basicially CJKTokenizer is not the same as the NGramTokenizer - CJKTokenizer only apply biGram on the CJK Character but not the English word Vinci Otis Gospodnetic wrote: > > Vinci - I believe the NGram token filter can be used as a CJKTok

Fields, Facets and Indexing html document

2008-03-25 Thread Vinci
there different? 7. Can facets/feature defined in another document? Thank you, Vinci -- View this message in context: http://www.nabble.com/Fields%2C-Facets-and-Indexing-html-document-tp16287762p16287762.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: stopwords and phrase queries

2008-03-25 Thread Vinci
for phrase search. (so the non-phrase query will get the stop word removal effect) Indexing is easy (if you not care your index size), but the query you may need to do some research on lucene and even coding. Thank you, Vinci Phillip Farber wrote: > > > Am I correct that if I index

Re: CJKTokenizer in Solr 1.3? [Solution, wiki updater wanted]

2008-03-25 Thread Vinci
ppropriated format ? I am not so familiar with the wiki syntax and no much time for formatting... Thank you, Vinci Vinci wrote: > > Hi, > > I would like to ask, does any support of CJKTokenizer > (org.apache.lucene.analysis.cjk.CJKTokenizer) available for Solr 1.3 now? > If

Re: Beginner questions: Jetty and solr with utf-8 + cached page + dedup

2008-03-25 Thread Vinci
Hi, Thank for your reply. Question for apply xslt: If I use saxon, where should the saxon.jar located if I using the example jetty server? lib/ inside example/ or outside the example/? Thank you, Vinci ryantxu wrote: > > Vinci wrote: >> Hi all, >> >> I am new to Sol

SolrJ Questions

2008-03-25 Thread Vinci
Hi all, I have checked the wiki and have some question in mind for the solrj... 1. If I want to run solrj as independent server, do I need to write my own client program? 2. Can I run SolrJ like the example jetty server at anywhere? *p.s. We should give a better name of the default example jetty

Document Path issue and change the layout in the example

2008-03-25 Thread Vinci
Hi all, I started the indexing with jetty and then I come with some question... 1. If I use the example start.jar, what should be my document system layout? What is the essential folder? solr_jar |_start.jar |_solrhome |_etc |_lib |_logs And where is the solr main library located? outside of the

Beginner questions: Jetty and solr with utf-8 + cached page + dedup

2008-03-24 Thread Vinci
uplication) is purely my own task? Also, any introductory reference are welcome. Thank you, Vinci -- View this message in context: http://www.nabble.com/Beginner-questions%3A-Jetty-and-solr-with-utf-8-%2B-cached-page-%2B-dedup-tp16269261p16269261.html Sent from the Solr - User mailing list

Adding custom field for sorting?

2008-03-24 Thread Vinci
Hi, Inspirited by the previous post, does it possible to add my custom field and use it for sorting the search result? If It is possible, what will be the step? Do I need to modify the source code? Thank you, Vinci -- View this message in context: http://www.nabble.com/Adding-custom-field

Re: What are the limits? Billions of records anyone?

2008-03-24 Thread Vinci
avoid OutOfMemory Exception. *Hadoop is more focusing on the disturbuted crawler as far I know... Hope it help, Vinci TimRobertson100 wrote: > > Hi all, > I have just got a SOLR index working for the first time on a few 100,000 > records from a custom database dump, and the resu

Re: introduction and help!

2008-03-24 Thread Vinci
see something like XPathFactory, check the lib of your webapps folder of solr to see if there is some library missing. This post may help: http://www.nabble.com/-Update--Solr-can-be-started-from-jetty-but-not-tomcat-td15998642.html#a16023734 Vinci David Arpad Geller wrote: > > I no

CJKTokenizer in Solr 1.3?

2008-03-24 Thread Vinci
plugin to turn on this feature in 1.3 nightly build? Thank you, Vinci -- View this message in context: http://www.nabble.com/CJKTokenizer-in-Solr-1.3--tp16260321p16260321.html Sent from the Solr - User mailing list archive at Nabble.com.

question on xsl sytlesheet and update

2008-03-14 Thread Vinci
Hi all, I have 2 problem: 1. how to attach my own stylesheet to the output? 2. how the Solr do the update? What kind of update I can ask Solr to do? Thank you for any answer. -- View this message in context: http://www.nabble.com/question-on-xsl-sytlesheet-and-update-tp16064251p16064251.html S

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-14 Thread Vinci
Hi, I am using java 1.6, the tomcat 5.5 also contains this file. But actually this is the problems solved by adding 4 jar...I think the problem may be come will xalan.jar ( resolver.jar I am not so sure) but anyone in trouble can try this sequence xalan.jar->resolver.jar->xercesImpl.jar->xml-api

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
all manual change applied to the WEB-INF folder will gone, you need to copy the file (resolver.jar, xalan.jar, xml-apis.jar, xercesImpl.jar) to the WEB-INF/lib again Vinci wrote: > > Hi, > Thank you for you reply. > here is the last line in the catalina log...Does XPath fail? If

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
all manual change applied to the WEB-INF folder will gone, you need to copy the file (resolver.jar, xalan.jar, xml-apis.jar, xercesImpl.jar) to the WEB-INF/lib again Vinci wrote: > > Hi, > Thank you for you reply. > here is the last line in the catalina log...Does XPath fail? If

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
server have nothing... Finally Thank you a lots! ryantxu wrote: > > Vinci wrote: >> Hi all, >> >> after several hour I make the solr works a little bit: the jetty version >> works, but the tomcat version doesn't. >> > > To me it looks like the

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
:41) ... 29 more Vinci wrote: > > Hi all, > > after several hour I make the solr works a little bit: the jetty version > works, but the tomcat version doesn't. > > Enviroment: JRE 1.6, tomcat 5.5, ubuntu 7.10. Solr nightly (8 Mar 08) > > Look like the

[Update] Solr can be started from jetty but not tomcat

2008-03-11 Thread Vinci
Hi all, after several hour I make the solr works a little bit: the jetty version works, but the tomcat version doesn't. Enviroment: JRE 1.6, tomcat 5.5, ubuntu 7.10. Solr nightly (8 Mar 08) Look like the multicore.xml cause the problem...the Solr die at the time of Config? In the localhost lo

Solr nightly build and the multicore mode

2008-03-11 Thread Vinci
Hi all, after tracing log, I found the tomcat problem with nightly build is the multicore.xml on nightly build - if the multicore.xml doesn't exist, it won't run the application like jetty does (run in single core mode if file doesn't exist) Q1. I don't know how to set the path...WHERE should I

Re: Cannot start solr

2008-03-11 Thread Vinci
tomcat... Vinci wrote: > > I follow the tutorial on wiki but when I go to > http://server_address/solr/admin > I got tomcat error message: > HTTP 404 > > Then I go to check in Tomcat manager, I see it is not started, when I > attend to start it, I got this error message. &g

Cannot start solr

2008-03-11 Thread Vinci
I follow the tutorial on wiki but when I go to http://server_address/solr/admin I got tomcat error message: HTTP 404 Then I go to check in Tomcat manager, I see it is not started, when I attend to start it, I got this error message. FAIL - Application at context path /solr could not be started