Re: Changing the default FSLockFactory implementation

2017-05-31 Thread Xiaolong Zheng
Yes, that’s what I need! Thank you! On 5/31/17, 1:58 PM, "Chris Hostetter" wrote: : We are experiencing some “Lock obtain timed out: NativeFSLock@” issues : on or NFS file system, could someone please show me, what’s the right : way to switch

Re: Collecting all stemming token

2017-02-03 Thread Xiaolong Zheng
} Sincerely, --Xiaolong On Fri, Feb 3, 2017 at 1:16 PM, Xiaolong Zheng <zhengxiaol...@gmail.com> wrote: > Hello, > > I am trying collect stemming changes in my search index during the > indexing time. So I could collect a list of stemmed word -> [variety > original word]

Re: Non-index files under the search directory

2016-11-22 Thread Xiaolong Zheng
Regards, > András > > On Tue, Nov 22, 2016 at 5:40 PM, Xiaolong Zheng <zhengxiaol...@gmail.com> > wrote: > > Thanks, StoredField seems still down to the per-document level, which > means > > for every document they will contains this search field. > > >

Re: Non-index files under the search directory

2016-11-22 Thread Xiaolong Zheng
ield to each document to hold your information? > > Mike McCandless > > http://blog.mikemccandless.com > > > On Mon, Nov 21, 2016 at 11:38 PM, Xiaolong Zheng > <zhengxiaol...@gmail.com> wrote: > > Hello, > > > > I am trying to adding some meta data

Non-index files under the search directory

2016-11-21 Thread Xiaolong Zheng
Hello, I am trying to adding some meta data into the search data base. Instead of adding a new search filed or adding a phony document, I am looking at the method org.apache.lucene.store.Directory#createOutpu, which is create new file in the search directory. I am wondering does indexwriter can

Re: Query the doc frequency across multiple search field.

2016-07-20 Thread Xiaolong Zheng
> uses the max of the doc freqs as the aggregated doc freq. > > Otherwise, you can also compute this number by running a BooleanQuery with > one SHOULD clause per field. > > Le mar. 19 juil. 2016 à 19:08, Xiaolong Zheng <zhengxiaol...@gmail.com> a > écrit : > > > Hi, > &g

Query the doc frequency across multiple search field.

2016-07-19 Thread Xiaolong Zheng
Hi, I want to know is there any way that query the doc frequency across multiple search field? The existing API seems only provide the query for a single search field: indexReader.docFreq(new Term(field, word)) Any suggestions that I could get the doc frequency from multiple field? Thanks

How to prevent WordDelimiterFilter tokenize the string with underscore?

2016-06-15 Thread Xiaolong Zheng
Hi, How can I prevent WordDelimiterFilter tokenize the string with underscore, e.g. word_with_underscore. I am using WordDelimiterFilter to create my own Camel Case analyzer, I was using the configuration flag: flags |= GENERATE_WORD_PARTS; flags |= SPLIT_ON_CASE_CHANGE; flags |=

Searching for "iso surface", and looking for "isosurface"

2015-12-17 Thread Xiaolong Zheng
Hi All, I want to know what's the common way to implement the searching with whitespace removal. For example, if I searching "iso surface" in google, it not only search for "iso" or "surface", but also have a search for "isosurface". Is that just simply add another search clause by removing the

Does Lucene 4.6.1 compatible with Java 8?

2015-07-23 Thread Xiaolong Zheng
that they have not be tested? None of the bug fixes associated with the 4.8 release seem to be related to Java 8 compatibility. Any advises would be appreciated. Thanks, Xiaolong Zheng

Re: [EXTERNAL] Re: ignore a match in a query

2015-07-23 Thread Xiaolong Zheng
-analysis/ Thanks, Xiaolong On 7/23/15, 1:56 PM, Fielder, Todd Patrick tpfi...@sandia.gov wrote: Unfortunately, that removes all records since all records have the term Record type -Original Message- From: Xiaolong Zheng [mailto:xiaolong.zh...@mathworks.com] Sent: Thursday, July 23

Re: ignore a match in a query

2015-07-23 Thread Xiaolong Zheng
Maybe you can use the phrase search like: NOT \Record type\ On 7/23/15, 12:53 PM, Fielder, Todd Patrick tpfi...@sandia.gov wrote: Hi, I'm wondering if there is a way to ignore a match in a query? For example, I have two strings 1) Record type: record 2) Record type: cd I

Re: Lucene Upgrade from 2.9.x to 4.7.x

2014-05-29 Thread Xiaolong Zheng
://lucene.apache.org/core/4_7_2/MIGRATE.html I would like to say number 5 is also very helpful. Thanks, Xiaolong Zheng On 5/29/14 9:56 AM, Buddhavarapu, Suresh suresh.buddhavar...@emc.com wrote: Hello, I'm looking for some documents/information on upgrade from Lucene 2.9.x to 4.7.2