Date Range and proximity search

2004-03-14 Thread redpineseed
hi all,

I tried the demo, and Date range and proximity search did not return
anything. are these two features functioning at all? tia

Philip



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



TO Erik Hatcher Re: Date Range and proximity search

2004-03-14 Thread redpineseed
hi Erik,

thanks for the reply. I did not do a new index. I just used the sample index
downloaded from nutch site.  it would be great if you have some working
query strings to show me. thanks.

philip


- Original Message - 
From: Erik Hatcher [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Sunday, March 14, 2004 4:00 PM
Subject: Re: Date Range and proximity search


To be honest, I'm way out of the loop of the demo and needs to be
re-written.  It is on my to-do list!

But, date range and proximity searches most definitely work.  Can you
be more specific about what you index and how you searched?  Perhaps
even a working test case?

Erik


On Mar 14, 2004, at 3:52 PM, redpineseed wrote:
 hi all,

 I tried the demo, and Date range and proximity search did not return
 anything. are these two features functioning at all? tia

 Philip



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: setting encoding

2002-05-20 Thread redpineseed

 The biggest problem is some cp1252 characters are private in the unicode
 byte set.

those chararcters may not be in the unicode byte (char) set at all and that is the 
major trouble with processing chinese, 

convert your native code to unicode (UTF16) with the following lines:

File f = new File('cp1252_input');
FileInputStream tmp = new FileInputStream(f);
BufferedReader  brin = new BufferedReader( new InputStreamReader( tmp, CP1252));
String inputString = brin.readLine();

not sure your code designater is CP1252, chech that out in Java Docs. 


redpineseed