Re: Phrase matching question

2008-04-11 Thread Vinci
: : This is a 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

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

2008-04-09 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

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

2008-04-09 Thread Vinci
for 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: Hi all, I want to limit the search result by 2 numerical

Phrase matching question

2008-04-06 Thread Vinci
: This is a 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 -- View this message

numDocs and maxDoc

2008-04-02 Thread Vinci
the 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: 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 by 2 stage posting

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 In other word, can I set 2 unique key

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 indexed

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't anything built in to Solr to do

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

2008-03-31 Thread Vinci
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 experiencing a strange situation

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
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

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-schema

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.xml or set by the query

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

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.

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 document

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: 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

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 not in Solr nightlies

Search fail if copyField absent?(+ Jetty Question)

2008-03-26 Thread Vinci
) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) although the 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

Re: Adding custom field for sorting?

2008-03-26 Thread Vinci
, 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 : code? adding a custom field

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

2008-03-26 Thread Vinci
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: positionIncrementGap - what is its value meaning?

2008-03-26 Thread Vinci
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/positionIncrementGap---what-is-its-value-meaning

Adding custom field for sorting?

2008-03-25 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

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

2008-03-25 Thread Vinci
) 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 archive

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

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 Solr and just make the Solr (3-8

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

2008-03-25 Thread Vinci
. *Can somebody kindly post it to the wiki in appropriated 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

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 with stop

Fields, Facets and Indexing html document

2008-03-25 Thread Vinci
are 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: 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 CJKTokenizer

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: Solr can't

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.

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 normally wouldn't

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

2008-03-24 Thread Vinci
to 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 results are very

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

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

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

2008-03-13 Thread Vinci
(Config.java: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 multicore.xml cause the problem

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 xml parser is not loading properly... check the last line

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

2008-03-13 Thread Vinci
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 so, what should I do? Caused

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

2008-03-13 Thread Vinci
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 so, what should I do? Caused

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

2008-03-12 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

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

Re: Cannot start solr

2008-03-11 Thread Vinci
crossContext=true Environment name=solr/home type=java.lang.String value=/var/webapps/solr override=true / /Context Can anybody help me? I am not so familiar with tomcat... Vinci wrote: I follow the tutorial on wiki but when I go to http://server_address/solr/admin I got tomcat error message

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