If search matches index in the middle of filter chain, will result return?

2011-11-22 Thread Ellery Leung
Hi all I am using Solr 3.4 with Win7 and Jetty. When I do a search on a field, according to the Analysis from Solr, the search string matches the index in the middle of the chain. Here is the schema: fieldType name=substring_search class=solr.TextField

RE: If search matches index in the middle of filter chain, will result return?

2011-11-22 Thread Ellery Leung
? On 11/22/2011 7:54 PM, Ellery Leung wrote: I am searching for an email called: off...@officeofficeoffice.com. If I search any text under 20 characters, result will be returned. But when I search the whole string: off...@officeofficeoffice.com, no result return. As you all see in the schema

RE: Weird: Solr Search result and Analysis Result not match?

2011-11-08 Thread Ellery Leung
the problem is, but at least there are some avenues to explore. Best Erick On Mon, Nov 7, 2011 at 9:29 PM, Ellery Leung elleryle...@be-o.com wrote: Hi all. I am using Solr 3.4 under Win 7. In schema there is a multivalue field indexed in this way: == Schema

Weird: Solr Search result and Analysis Result not match?

2011-11-07 Thread Ellery Leung
Hi all. I am using Solr 3.4 under Win 7. In schema there is a multivalue field indexed in this way: == Schema: == field name=myEvent type=myCustomText multiValued=true indexed=true stored=true omitNorms=true/ fieldType

How to return exact set of multivalue field

2011-10-20 Thread Ellery Leung
Hi all I am using Solr 3.4 on Windows 7. Here is the example of a multivalue field: doc arr name=field_name str387/str str386/str /arr /doc doc arr name= field_name str387/str str386/str /arr /doc doc arr name= field_name str387/str str386/str str385/str

RE: How to return exact set of multivalue field

2011-10-20 Thread Ellery Leung
[mailto:danbsut...@gmail.com] Sent: 2011年10月20日 6:09 下午 To: solr-user@lucene.apache.org; elleryle...@be-o.com Subject: Re: How to return exact set of multivalue field -field_name:[ * TO 384] +field_name:[385 TO 386] -field_name:[387 TO *] On Thu, Oct 20, 2011 at 10:51 AM, Ellery Leung elleryle

RE: solr Invalid Date in Date Math String/Invalid Date String

2011-06-02 Thread Ellery Leung
Subject: Re: solr Invalid Date in Date Math String/Invalid Date String Can we see the results of attaching debugQuery=on to the query? That often points out the issue. I'd expect this form to work: [2006-12-22T00:00:00Z TO 2006-12-22T23:59:59Z] Best Erick 2011/5/27 Ellery Leung elleryle

Match in the process of filter, not end, does it mean not matching?

2011-05-29 Thread Ellery Leung
This is the schema: fieldType name=textContains class=solr.TextField positionIncrementGap=100 analyzer type=index charFilter class=solr.MappingCharFilterFactory mapping=../../filters/filter-mappings.txt/

HTMLStripTransformer will remove the content in XML??

2011-05-27 Thread Ellery Leung
I have an XML string like this: ?xml version=1.0 encoding=UTF-8?languageintl![CDATA[hello]]/intlloc![CDATA[solr ]]/loc/language By using HTMLStripTransformer, I expect to get 'hello,solr'. But actual this transformer will remove ALL THE TEXT INSIDE! Did I do something silly, or is

RE: HTMLStripTransformer will remove the content in XML??

2011-05-27 Thread Ellery Leung
On Fri, May 27, 2011 at 9:41 AM, Ellery Leung elleryle...@be-o.com wrote: I have an XML string like this: ?xml version=1.0 encoding=UTF-8?languageintl![CDATA[hello]]/intlloc![CDATA[solr ]]/loc/language By using HTMLStripTransformer, I expect to get 'hello,solr'. But actual this transformer

RE: solr Invalid Date in Date Math String/Invalid Date String

2011-05-27 Thread Ellery Leung
Thank you Mike. So I understand that now. But what about the other items that have values on both size? They don't work at all. -Original Message- From: Mike Sokolov [mailto:soko...@ifactory.com] Sent: 2011年5月27日 10:23 下午 To: solr-user@lucene.apache.org Cc: alucard001 Subject: Re:

Re: What is this error means?

2010-01-13 Thread Ellery Leung
, 2010 at 9:33 PM, Ellery Leung elleryle...@be-o.com wrote: Hi, here is the stack trace: br / Fatal error: Uncaught exception 'Exception' with message 'quot;0quot; Status: Communication Error' in C:\nginx\html\lib\SolrPhpClient\Apache\Solr\Serv ice.php:385 Stack trace: #0 C:\nginx\html\lib

Re: What is this error means?

2010-01-13 Thread Ellery Leung
is empty), we post it again. Side effect: when I open the window console to see it, sometimes it will prompt: Failed to open stream: HTTP request failed! I haven't researched it yet, but the index is built successfully. Hope it helps someone. Ellery Leung wrote: Hi Israel Thank you

Re: What is this error means?

2010-01-12 Thread Ellery Leung
Ingersoll-6 wrote: Do you have a stack trace? On Jan 12, 2010, at 2:54 AM, Ellery Leung wrote: When I am building the index for around 2 ~ 25000 records, sometimes I came across with this error: Uncaught exception Exception with message '0' Status: Communication Error

What is this error means?

2010-01-11 Thread Ellery Leung
When I am building the index for around 2 ~ 25000 records, sometimes I came across with this error: Uncaught exception Exception with message '0' Status: Communication Error I search Google Yahoo but no answer. I am now committing document to solr on every 10 records fetched from

What does it mean about this error message???

2009-12-16 Thread Ellery Leung
there_are_more_terms_than_documents_in_field_someField_but_its_impossible_ to_sort_on_tokenized_fields The index is probably built and run. Using Solr 1.4. The error message is quite vague that it seems to talk about different thing.. Can somebody please explain what it is? Thank