Re: setting up lucene for use on mac OSX

2011-10-26 Thread Mead Lai
Daniel, this is the super cmd line, copy all the jars in the current dir. javac -Djava.ext.dirs=.; *.java Another way is using a IDE, as Eclipse. Regards, Mead On Tue, Oct 25, 2011 at 4:30 PM, janwen tom.grade1...@163.com wrote: hi: In my lucene search project(b/s),i search the

Re: Language Identifier with Lucene?

2011-10-24 Thread Mead Lai
Luca, I would like to know: how much language, your system could identify? In my view, this difficult part in your system is: how to collect so many languages/character in the world for *one person*... Regards, Mead On Sun, Oct 23, 2011 at 1:27 AM, Petite Abeille petite_abei...@me.comwrote:

About join.search in 3.4 version.

2011-10-20 Thread Mead Lai
this case? If possible, thanks for providing some example or clue. Thanks for your time. Regards, Mead Lai

Re: this IndexReader is closed only with jar

2011-10-20 Thread Mead Lai
Its a complex situation. We didn't know what did you change. I suggest you to compare/diff your code with offical version. Regards, Mead On Tue, Oct 18, 2011 at 1:13 AM, Zeynep P. zp...@yahoo.com wrote: Hi, I am having a weird experience. I made a few changes with the source code (Lucene

Re: About join.search in 3.4 version.

2011-10-20 Thread Mead Lai
nested documents or parent/child, because it requires that you index a single primary row AND all joined documents together as a single block of documents. Mike McCandless http://blog.mikemccandless.com On Thu, Oct 20, 2011 at 3:26 AM, Mead Lai laiqi...@gmail.com wrote: Hello all, Now, I

Re: Return Lucene field name when a query is matched

2011-10-20 Thread Mead Lai
you description was not clear. a query will return lots of results, so every item will be different on matched field name, if you use Boolean_OR to query. if you use boolean and, then every field will match. Regards, Mead On Thu, Oct 20, 2011 at 11:22 PM, Ian Lea ian@gmail.com wrote:

Re: OutOfMemoryError

2011-10-18 Thread Mead Lai
Tamara, You may use StringBuffer instead of String docText = hits.doc(j).getField(DOCUMENT).stringValue() ; after that you may use StringBuffer.delete() to release memery. Another way is using x64-bit machine. Regards, Mead On Wed, Oct 19, 2011 at 5:14 AM, Otis Gospodnetic

Re: Is there any Query in Lucene can search the term, which is similar as SQL-LIKE?

2011-10-12 Thread Mead Lai
Lucene Database Search in 3 minutes: http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_in_3_minutes On Tue, Oct 11, 2011 at 12:11 AM, Mead Lai laiqi...@gmail.com wrote: Hello all, *Background: *There are *ONE MILLION* data in a table, and this table has 100 columns

May I have order expression in Query?

2011-10-12 Thread Mead Lai
Hello all, Well, I add some document into index with date type : doc.add(new Field(datestamp, 20111012,Store.YES, Index.NOT_ANALYZED)); Then, I want to get the result order by datestamp field. I am really sorry aboutI am a newer and did not read some documents very carefully, actully, I

Is there any Query in Lucene can search the term, which is similar as SQL-LIKE?

2011-10-11 Thread Mead Lai
Hello all, *Background: *There are *ONE MILLION* data in a table, and this table has 100 columns inside. The application need to search the data in EVERY column with one 'keyword'. so, I try it in a clumsy way, using a database view, then search the view. Just like the following SQL: *=Step1*: