Implementing own Analyser components.

2016-10-31 Thread Sergey Repnikov
Hello. My name is Sergeiy, I'm working on Lucene's functionality extension. As I've read in JavaDoc for "org.apache.lucene.analysis" package, it's preferably to ask this email before extending, because some features could be done. So I want to have opportunity to perform search by parts of sp

Re: How to find performance bottleneck

2010-10-06 Thread Sergey
guess the part of the file that is being used is placed into RAM. Sergey 06.10.10, 20:30, "Erick Erickson" : > Also note that if you've fired some warmup queries at one machine but not > the other that'll skew your results... > > Erick > > On

Re: How to find performance bottleneck

2010-10-06 Thread Sergey
Thanks, I'll give it a try. 06.10.10, 14:47, "Toke Eskildsen" : > On Wed, 2010-10-06 at 12:22 +0200, Sergey wrote: > > When running application on Windows XP 32 bit machine the search time is > 0.5 second. JVM is IBM Java 5 for 32 bit. > > But when running

How to find performance bottleneck

2010-10-06 Thread Sergey
When running application on Windows XP 32 bit machine the search time is 0.5 second. JVM is IBM Java 5 for 32 bit. But when running the same application on much more powerfull Windows Server 2007 64 bit machine the search time is 3 seconds. JVM is IBM Java 5 for 64 bit. It just does not make any

Re: Re: How to close IndexSearcher so that index file gets released?

2010-08-16 Thread Sergey
Thanks, Ian Somehow I did not bother to read the MMapDirectory javadoc. 16.08.10, 17:27, "Ian Lea" : > Read the javadocs for MMapDirectory. > > -- > Ian. > > > On Mon, Aug 16, 2010 at 2:21 PM, Mylnikov Sergey wrote: > > Hi, > > > >

How to close IndexSearcher so that index file gets released?

2010-08-16 Thread Mylnikov Sergey
ell me what is the correct way to close the IndexReader? I will try to attach the JUnit test class and index directory as ZIP archive to this message. Thanks, Sergey - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.

Re: BigDecimal values

2008-11-20 Thread Sergey Kabashnyuk
Thanks Ian Unfortunately, I have to index any possible number of java.math.BigDecimal I can rephrase my question this way: How can I convert java.math.BigDecimal numbers in to string for its storing in lexicographical order Sergey Kabashnyuk eXo Platform SAS Hi Lucene only indexes strings

BigDecimal values

2008-11-20 Thread Sergey Kabashnyuk
Hello I want to ask community an advice: what is the best way to index and search java.math.BigDecimal values in lucene 2.4. Any code snippets are welcome. Sergey Kabashnyuk eXo Platform SAS - To unsubscribe, e-mail: [EMAIL

Re: Case Sensitivity

2008-08-15 Thread Sergey Kabashnyuk
like : new Field(“text”, Field.Store.NO, Field.Index.NO_NORMS,Field.TermVector.NO) using StandardAnalyzer and query 1-3 works perfectly as I need. The question is how create query 4-5? Thanks Sergey Kabashnyuk eXo Platform SAS Be aware that StandardAnalyzer lowercases all the input, both at inde

Re: Case Sensitivity

2008-08-14 Thread Sergey Kabashnyuk
oming up with a reason to do both that wouldn't be satisfied by just a caseless search. Best Erick On Thu, Aug 14, 2008 at 4:47 AM, Sergey Kabashnyuk <[EMAIL PROTECTED]>wrote: Hello. I have the similar question. I need to implement 1. Case sensitive search. 2. Lower case search fo

Re: Case Sensitivity

2008-08-14 Thread Sergey Kabashnyuk
Dino -- Sergey Kabashnyuk eXo Platform SAS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tree search

2008-08-07 Thread Sergey Kabashnyuk
Thanks for you reply Glen But I saw this solution before. And as I said before, moving is very often operation and storing full path can cost additional unwanted operations and therefore it's not a desirable solution. Sergey Kabashnyuk eXo Platform SAS There are a number of ways to do

Tree search

2008-08-07 Thread Sergey Kabashnyuk
the best way it can be implemented? Moving is very often operation and storing full path can cost with additional unwanted operations and therefore it's not a desirable solution Sergey Kabashnyuk eXo Platform SAS - To unsubs

Re: The best strategy to "How store multiple fields of same document"

2008-07-31 Thread Sergey Kabashnyuk
count or fields size, as database do? I mean to determinate position of row X in index: positionX = sum(fieldsize[1]+...fieldsize[i])*(X-1) Sergey Kabashnyuk eXo Platform SAS I'd go with option 1 unless and until you could demonstrate performance problems. Speaking of which, you'd get

The best strategy to "How store multiple fields of same document"

2008-07-31 Thread Sergey Kabashnyuk
EMAIL PROTECTED] What choice the best for search speed and resource usage? Thanks. Sergey Kabashnyuk eXo Platform SAS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Hits.

2008-03-07 Thread Sergey Kabashnyuk
eturn FieldSelectorResult.NO_LOAD; } }; Document doc = reader.document(id, fieldSelector); if(doc == null) throw new IOException("Document with id "+id+" not found"); return doc.get(field); n from 0 to hits.length

Re: Transactions in Lucene

2008-02-22 Thread Sergey Kabashnyuk
one index? Sergey Kabashnyuk. You should open the IndexWriter with autoCommit=false, then make changes. During this time, any reader that opens the index will not see any changes you are making. Then, you can call close() to commit the changes to the index, or abort() to rollback the index

Transactions in Lucene

2008-02-22 Thread Sergey Kabashnyuk
Hi. I have a question about transactions in Lucene. Lets say I have 1000 Documents and want to add all of them or none of them(if something happen) to the index. What the best strategy to do it in multithreaded environment? Sergey Kabashnyuk

Re: from 2.2.0 to 2.3.0

2008-02-15 Thread Sergey Kabashnyuk
2.3.0 instead of Exceptions. Why it's not very informative? I'll open a Jira issue & fix it on the 2.3 branch (so this is fixed in 2.3.1). Thanks for reporting this! Mike Sergey Kabashnyuk wrote: stack trace java.lang.AssertionError at org.apache.lucene.index

Re: from 2.2.0 to 2.3.0

2008-02-15 Thread Sergey Kabashnyuk
org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:1204) at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1178) at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1153) Where I can find CheckIndex.tool ? Sergey Kabashnyuk Can you provide the full stack trace, and any

from 2.2.0 to 2.3.0

2008-02-15 Thread Sergey Kabashnyuk
Hi I want to update from lucene 2.2.0 to 2.3.0 but I have assert it TermInfosWriter line 143. What is it mean assert compareToLastTerm(fieldNumber, termText, termTextStart, termTextLength) < 0 || (isIndex && termTextLength == 0 && lastTermTextLength == 0); Can you help me?

generate-maven-artifacts

2008-01-15 Thread Sergey Kabashnyuk
2_0/common-build.xml:200: localRepository doesn't support the "location" attribute Can you help me? Sergey Kabashnyuk. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ - To unsubscribe,

Index scalability, IDF normalization for distributed indices

2005-07-28 Thread Sergey Chernov
question, does LUCENE scale well to millions and dozens of millions documents? Best regards, Sergey Chernov [EMAIL PROTECTED] L3S Research Center Deutscher Pavillon Expo Plaza 1 30539 Hannover Germany - To unsubscribe, e-mail