Incremental Indexing in Lucene 4.7

2014-03-24 Thread Yuan
We are using Lucene 3.6 to perform incremental indexing. We use an algorithm we found on the web to perform the incremental indexing. 1. For each file that we indexed, we create a UID field to associate with it. The UID is calculated using the file path and the last updated time. 2. When perfor

How to ignore system properties?

2022-09-19 Thread Yuan Xiao
We got system properties invariant errors from LuceneTestCase sometimes, which were brought up by our dependencies. Is there any way to ignore some system properties through annotation/settings?

LuceneTestCase altered the default query cache policy

2023-06-26 Thread Yuan Xiao
an assertion, so developer can catch the test bug earlier? Want to share and know community’s idea on this. Thanks&Regards, Yuan - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-

java.lang.WrongThreadException when build TermStates

2023-08-10 Thread Yuan Xiao
Hello Community, I am an engineer from Amazon Product Search and we recently encountered a WrongThreadException in our service when building TermStates with Lucene9.6 and JDK19.02+9. We are just using one thread when initializing term states. I am wondering if any other users encounter this prob

index short text

2006-10-24 Thread zhongyi yuan
I use lucene to index the address information, because the address information is so short, so I think use the Lucene Score computing is not suitable. who can give me some advices to index short address information. the format of address is: name,address etc.

Re: index short text

2006-10-26 Thread zhongyi yuan
Thank you. My opinion is using the Current Similarity not suitable,because most term freq in the address content is one,but in the lucene, Freq is the very import factor,So I want know some other method to short information. - To

About search performance

2006-07-28 Thread zhongyi yuan
Hi,How about implement multi-key search use lucene, for example use boolean search exceed 1000 clauses,it will affect the performance greatly. If use filter or custom sorter to select the result, because the result is extremely large in amount,so the performance is lower. Please give me some advic

Re: About search performance

2006-08-01 Thread zhongyi yuan
My question is about deal with the multi clauses booleanQuery, the num of clauses is giant and induce the performance.So I want some other method to replace this query to improve the performance. Now through filter achieve the goal. Thanks for the suggestions. --

how to use explain function!

2006-08-20 Thread zhongyi yuan
Hi,all.Please give me some example to use explain function.I want to know detail information about compute weight and Score. thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Yuan Tao Sun is out of the office.

2008-09-08 Thread Yuan Tao Sun
I will be out of the office starting 2008-09-09 and will not return until 2008-09-10. You can reach me directly by calling 13764128588