Re: [CLucene-dev] CLucene-developers Digest, Vol 57, Issue 2

2011-01-05 Thread Šplíchal Jiří
Hello Mohammad, please could you write how you instantiate the highlighter? Which scorer do you use? Are you using the highlighter version from the highlighter branch? I would try to find the place, where the exception is thrown. But still, there is a problem along with the ConstantScore

Re: [CLucene-dev] Error in GermanAnalyzer Test

2011-01-05 Thread Veit Jahns
2011/1/4 Kostka Bořivoj : > Running on WinXP, built with MS Visual Studio 8 > > When running cl_test in debug build I got error > > CLucene GermanAnalyzer Test:     > file:..\..\..\src\shared\CLucene\util\StringBuffer.cpp line:370 pos is larger > than string len > > Release build produces no messa

Re: [CLucene-dev] contrib: SpellChecker

2011-01-05 Thread Veit Jahns
2010/11/23 Freiholz Manuel : > i just wanted to mention that i uploaded a few contrib lib files to enable > spell-checking. I uploaded the 3 patch files to your bug tracking system. > > https://sourceforge.net/tracker/?func=detail&aid=3113462&group_id=80013&atid=558446 Manuel, I applied your patc

Re: [CLucene-dev] contrib: SpellChecker

2011-01-05 Thread Freiholz Manuel
Hi, ok i wil take a look at it. Manuel Von Samsung-Tablet gesendetVeit Jahns hat geschrieben: 2010/11/23 Freiholz Manuel : > i just wanted to mention that i uploaded a few contrib lib files to enable > spell-checking. I uploaded the 3 patch files to your bug tracking system. > > https://sourc

Re: [CLucene-dev] CLucene-developers Digest, Vol 57, Issue 4

2011-01-05 Thread muhammad ismael
> > > please could you write how you instantiate the highlighter? Which scorer do > you use? > m_highlightQuery = m_pMainQuery->clone(); Query * q = m_highlightQuery->rewrite(m_pReader); m_queryScorer = new QueryScorer(q); m_highlighter = new Highlighter(m_query

[CLucene-dev] RAM usage while indexing

2011-01-05 Thread muhammad ismael
Hello, I am trying to index large files as follows for(int j = 0; (j < pagesIds.count())&& !m_stop ; j++) { pagesText = m_DbManager->getBookPage(m_booksIds.at(i), pagesIds.at(j)).toUtf8(); if(!pagesText.isEmpty()) {

Re: [CLucene-dev] RAM usage while indexing

2011-01-05 Thread Ben van Klinken
sounds pretty high. how big are the files? could you be leaking memory in the 'fileDocument' function? as a test, try not actually adding the document ben On Thu, Jan 6, 2011 at 7:43 AM, muhammad ismael wrote: > Hello, > I am trying to index large files as follows > > for(int j = 0; (j < pagesI