You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(16) |
Jul
(56) |
Aug
(2) |
Sep
(62) |
Oct
(71) |
Nov
(45) |
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(12) |
Feb
(22) |
Mar
|
Apr
(62) |
May
(15) |
Jun
(57) |
Jul
(4) |
Aug
(24) |
Sep
(7) |
Oct
(34) |
Nov
(81) |
Dec
(41) |
2005 |
Jan
(70) |
Feb
(51) |
Mar
(46) |
Apr
(16) |
May
(22) |
Jun
(34) |
Jul
(23) |
Aug
(13) |
Sep
(43) |
Oct
(42) |
Nov
(54) |
Dec
(68) |
2006 |
Jan
(81) |
Feb
(43) |
Mar
(64) |
Apr
(141) |
May
(37) |
Jun
(101) |
Jul
(112) |
Aug
(32) |
Sep
(85) |
Oct
(63) |
Nov
(84) |
Dec
(81) |
2007 |
Jan
(25) |
Feb
(64) |
Mar
(46) |
Apr
(28) |
May
(14) |
Jun
(42) |
Jul
(19) |
Aug
(34) |
Sep
(29) |
Oct
(25) |
Nov
(12) |
Dec
(9) |
2008 |
Jan
(15) |
Feb
(34) |
Mar
(37) |
Apr
(23) |
May
(18) |
Jun
(47) |
Jul
(28) |
Aug
(61) |
Sep
(29) |
Oct
(48) |
Nov
(24) |
Dec
(79) |
2009 |
Jan
(48) |
Feb
(50) |
Mar
(28) |
Apr
(10) |
May
(51) |
Jun
(22) |
Jul
(125) |
Aug
(29) |
Sep
(38) |
Oct
(29) |
Nov
(58) |
Dec
(32) |
2010 |
Jan
(15) |
Feb
(10) |
Mar
(12) |
Apr
(64) |
May
(4) |
Jun
(81) |
Jul
(41) |
Aug
(82) |
Sep
(84) |
Oct
(35) |
Nov
(43) |
Dec
(26) |
2011 |
Jan
(59) |
Feb
(25) |
Mar
(23) |
Apr
(14) |
May
(22) |
Jun
(8) |
Jul
(5) |
Aug
(20) |
Sep
(10) |
Oct
(12) |
Nov
(29) |
Dec
(7) |
2012 |
Jan
(1) |
Feb
(22) |
Mar
(9) |
Apr
(5) |
May
(2) |
Jun
|
Jul
(6) |
Aug
(2) |
Sep
|
Oct
(5) |
Nov
(9) |
Dec
(10) |
2013 |
Jan
(9) |
Feb
(3) |
Mar
(2) |
Apr
(4) |
May
(2) |
Jun
(1) |
Jul
(2) |
Aug
(5) |
Sep
|
Oct
(3) |
Nov
(3) |
Dec
(2) |
2014 |
Jan
(1) |
Feb
(2) |
Mar
|
Apr
(10) |
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(3) |
2015 |
Jan
(8) |
Feb
(3) |
Mar
(7) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(3) |
Dec
|
2016 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(8) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Veit J. <nun...@go...> - 2012-07-20 06:45:29
|
Hi Sansthosh! 2012/7/16 santhosh k <sa...@gm...>: > Hello Veit, > > Thanks for your replay. > > I tried with Visual Studio 2010 by creating sample Win32 Application and > importing CLucene with same functionality. It works fine. I am able to > create Index Writer with this sample. And unit tests pass onVS2010. > I tried with VS 2012 RC but I am getting incompatible version and its not > loading. What do you mean by "incompatible version"? > I will try once more and will let you know. Meanwhile please > suggest me some solution. Difficult to say without further information. One idea: Does Clucene compile, when you revert the change you made with the LUCENE_BASE macro. If I saw it correctly, you added the "virtual" keyword. But this influences the behaviour of overwriting methods in subclasses. Best regards, Veit |
From: santhosh k <sa...@gm...> - 2012-07-16 05:13:41
|
Hello Veit, Thanks for your replay. I tried with Visual Studio 2010 by creating sample Win32 Application and importing CLucene with same functionality. It works fine. I am able to create Index Writer with this sample. And unit tests pass onVS2010. I tried with VS 2012 RC but I am getting incompatible version and its not loading. I will try once more and will let you know. Meanwhile please suggest me some solution. Best Regards, Santhosh, On Sun, Jul 15, 2012 at 10:17 PM, Veit Jahns <nun...@go...>wrote: > Hi Santhosh, > > some ideas from the top of my head: > > - Do you have this problem also, if you use an older version of Visual > Studio? > - What result do you get, if you execute the unit tests of CLucene > (cl_test)? > > Regards, > > Veit > > 2012/7/13 santhosh k <sa...@gm...>: > > Hi, > > > > Currently I am using CLucene as a search engine in my application. I > will be > > creating a indexer also. > > While building CLucene library with VS2012 RC I modified mem.h as below > > > > #define LUCENE_BASE public virtual CL_NS(debug)::LuceneBase > > > > This changes I found online in a patch that includes maodifications > > VoidList.h and VoidMap.h. > > > > Now in my application I would like to create new Index Writer using > > IndexWriter api. > > I am using it as > > > > IndexWriter *writer = _CLNEW IndexWriter(folderpath, analyzer, true); > > > > with above code I am getting runtime error R6025 - pure virtual function > > call. > > > > I am not sure about the error and cause for this. > > > > I request any can help me to resolve this issue or let me know the cause > for > > this solution. > > > > Regards, > > Santhosh > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > CLucene-developers mailing list > > CLu...@li... > > https://lists.sourceforge.net/lists/listinfo/clucene-developers > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > CLucene-developers mailing list > CLu...@li... > https://lists.sourceforge.net/lists/listinfo/clucene-developers > |
From: Veit J. <nun...@go...> - 2012-07-15 16:47:29
|
Hi Santhosh, some ideas from the top of my head: - Do you have this problem also, if you use an older version of Visual Studio? - What result do you get, if you execute the unit tests of CLucene (cl_test)? Regards, Veit 2012/7/13 santhosh k <sa...@gm...>: > Hi, > > Currently I am using CLucene as a search engine in my application. I will be > creating a indexer also. > While building CLucene library with VS2012 RC I modified mem.h as below > > #define LUCENE_BASE public virtual CL_NS(debug)::LuceneBase > > This changes I found online in a patch that includes maodifications > VoidList.h and VoidMap.h. > > Now in my application I would like to create new Index Writer using > IndexWriter api. > I am using it as > > IndexWriter *writer = _CLNEW IndexWriter(folderpath, analyzer, true); > > with above code I am getting runtime error R6025 - pure virtual function > call. > > I am not sure about the error and cause for this. > > I request any can help me to resolve this issue or let me know the cause for > this solution. > > Regards, > Santhosh > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > CLucene-developers mailing list > CLu...@li... > https://lists.sourceforge.net/lists/listinfo/clucene-developers > |
From: santhosh k <sa...@gm...> - 2012-07-13 10:10:16
|
Hi, Currently I am using CLucene as a search engine in my application. I will be creating a indexer also. While building CLucene library with VS2012 RC I modified mem.h as below *#define LUCENE_BASE public virtual CL_NS(debug)::LuceneBase* This changes I found online in a patch that includes maodifications VoidList.h and VoidMap.h. Now in my application I would like to create new Index Writer using * IndexWriter* api. I am using it as *IndexWriter *writer = _CLNEW IndexWriter(folderpath, analyzer, true);* with above code I am getting runtime error *R6025 - pure virtual function call*. I am not sure about the error and cause for this. I request any can help me to resolve this issue or let me know the cause for this solution. Regards, Santhosh |
From: Itamar Syn-H. <it...@co...> - 2012-05-03 08:49:29
|
It looks like you are trying to use Lucene as a database, a document database to be specific, and it actually isn't really supported out of the box Take a look at MongoDB, CouchDB or RavenDB. On Thu, May 3, 2012 at 10:56 AM, Mike Aubury <mi...@au...> wrote: > I'm writing some code at the minute and I have two main issues > outstanding.. > > 1) I want to aggregate data based on a user defined query - this means > searching through an index when I have a new record to see if a record > already exists > If it does - I want to update the totals in there with some new value. > If it does not exist - I want to create a new document containing my > totals to store in a secondary index - but only have the fields that are > used in the query.. > So - is there any way to traverse the Query to find out what fields > are used - so I can create a new document which only contains > those fields ? > > 2) When I pull the data back at the end - I want to be able to order the > data by these totals - based on some query. > So - for example - I might aggregate all the sales by salesman and > area, then select from that index for a particular area and have it ordered > by the total sales. > If it makes it any clearer - in SQL it would be something like - > select salesman, area, sum(sales) GROUP BY 1,2 ORDER BY 3 desc > (obviously - I'm not doing salesmen and sales - if I was I'd probably > use a relational database - but you get the idea) > > Any ideas on how to solve these two issues? > > > Many thanks in advance > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > CLucene-developers mailing list > CLu...@li... > https://lists.sourceforge.net/lists/listinfo/clucene-developers > > |
From: Mike A. <mi...@au...> - 2012-05-03 07:56:43
|
I'm writing some code at the minute and I have two main issues outstanding.. 1) I want to aggregate data based on a user defined query - this means searching through an index when I have a new record to see if a record already exists If it does - I want to update the totals in there with some new value. If it does not exist - I want to create a new document containing my totals to store in a secondary index - but only have the fields that are used in the query.. So - is there any way to traverse the Query to find out what fields are used - so I can create a new document which only contains those fields ? 2) When I pull the data back at the end - I want to be able to order the data by these totals - based on some query. So - for example - I might aggregate all the sales by salesman and area, then select from that index for a particular area and have it ordered by the total sales. If it makes it any clearer - in SQL it would be something like - select salesman, area, sum(sales) GROUP BY 1,2 ORDER BY 3 desc (obviously - I'm not doing salesmen and sales - if I was I'd probably use a relational database - but you get the idea) Any ideas on how to solve these two issues? Many thanks in advance |
From: Catalin I. <iac...@gm...> - 2012-04-17 20:36:07
|
Hello, Please find attached 2 patches. One is a trivial cleanup so that the 2nd patch can follow the same pattern as the other put functions in that file without introducing a silly ;; The second one probably solves a real bug. I discovered this while compiling Libreoffice with Clang which warns that the v value is unused in put. So I'm interested in committing this patch since without it clients like Libreoffice can't compile with -Werror. I'm not familiar with the code and I've never used CLucene before but I suppose both patches are correct since they're quite trivial. In case this is needed for accepting the contribution: patches are under LGPL or Apache Version 2.0. Catalin Iacob |
From: Šplíchal J. <spl...@to...> - 2012-04-13 07:25:07
|
Hi Ben, We are using slightly different version but I tested the issue with sources from origin/master and also from origin/vc6-fixes-working and the test crashes as described in all the cases - at least in debug version. But we found the issue when using release version. I am using VS2005 on Windows 7. Jiri From: Ben van Klinken [mailto:bva...@gm...] Sent: Friday, April 13, 2012 12:50 AM To: clu...@li... Subject: Re: [CLucene-dev] Bug in SegmentMerger and IndexWriter Hi Jiri, What branch are you using? I just tried compiling and running that test and it ran without any issues ben 2012/4/12 Šplíchal Jiří <spl...@to...<mailto:spl...@to...>> Hello, please find attached TestIndexWriter.cpp extended with one more test that shows two different bugs: 1) If you leave the test as it is, than it crashes on line 680 when optimizing an index that was previously empty (all documents were deleted) and then some documents has been added. We were able to fix this bug, the problem is in SegmentMerger.cpp 769 where reader->norms(fi->name, normBuffer.values); is called with normBuffer.values == NULL. To prevent this it is sufficient to initialize the normBuffer at the beginning of the method with length 1. 2) If you uncomment writer->optimize(); on line 660 in the test, than the following call to writer->close(); crashes. We have not found any solution for this issue where we could be sure about all consequences. But the problematic method in this case is bool IndexWriter::flushDocStores() which intializes a local variable files by calling: const std::vector<std::string>& files = docWriter->files(); but the following calls have as side effect modification of this vector in such way that the application crashes. Best Regards, Jiri ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ CLucene-developers mailing list CLu...@li...<mailto:CLu...@li...> https://lists.sourceforge.net/lists/listinfo/clucene-developers |
From: Ben v. K. <bva...@gm...> - 2012-04-12 22:50:47
|
Hi Jiri, What branch are you using? I just tried compiling and running that test and it ran without any issues ben 2012/4/12 Šplíchal Jiří <spl...@to...> > Hello, > > please find attached TestIndexWriter.cpp extended with one more test that > shows two different bugs: > 1) If you leave the test as it is, than it crashes on line 680 when > optimizing an index that > was previously empty (all documents were deleted) and then some documents > has been added. > We were able to fix this bug, the problem is in SegmentMerger.cpp 769 where > reader->norms(fi->name, normBuffer.values); > is called with normBuffer.values == NULL. > To prevent this it is sufficient to initialize the normBuffer at the > beginning of the method > with length 1. > > 2) If you uncomment writer->optimize(); on line 660 in the test, than the > following call to > writer->close(); crashes. We have not found any solution for this issue > where we could be > sure about all consequences. But the problematic method in this case is > bool IndexWriter::flushDocStores() > which intializes a local variable files by calling: > const std::vector<std::string>& files = docWriter->files(); > but the following calls have as side effect modification of this vector in > such way > that the application crashes. > > Best Regards, > Jiri > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > CLucene-developers mailing list > CLu...@li... > https://lists.sourceforge.net/lists/listinfo/clucene-developers > > |
From: Šplíchal J. <spl...@to...> - 2012-04-12 12:36:36
|
Hello, please find attached TestIndexWriter.cpp extended with one more test that shows two different bugs: 1) If you leave the test as it is, than it crashes on line 680 when optimizing an index that was previously empty (all documents were deleted) and then some documents has been added. We were able to fix this bug, the problem is in SegmentMerger.cpp 769 where reader->norms(fi->name, normBuffer.values); is called with normBuffer.values == NULL. To prevent this it is sufficient to initialize the normBuffer at the beginning of the method with length 1. 2) If you uncomment writer->optimize(); on line 660 in the test, than the following call to writer->close(); crashes. We have not found any solution for this issue where we could be sure about all consequences. But the problematic method in this case is bool IndexWriter::flushDocStores() which intializes a local variable files by calling: const std::vector<std::string>& files = docWriter->files(); but the following calls have as side effect modification of this vector in such way that the application crashes. Best Regards, Jiri |
From: Veit J. <nun...@go...> - 2012-04-01 15:15:58
|
Hi Ahmed, the same here. We also use CLucene on 64 bit Windows machines. Up to now, we didn't face any problems with CLucene crashing. Best regards, Veit 2012/3/21 Ahmed <ci7...@gm...>: > Hi, > Our application use CLucene and it's quiet stable on 32 bits, but some users > say that the application crash when they start indexing or search on 64 bits > (windows 7) machines > Should we build a 64 bits version? or the isn't in CLucene? > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > CLucene-developers mailing list > CLu...@li... > https://lists.sourceforge.net/lists/listinfo/clucene-developers > |
From: Mohammad i. <m.i...@gm...> - 2012-03-22 06:51:01
|
Hi, I have a problem in searching multiple indexes. We have two options to do this *1- using MuliSearcher* with this option i always get hits from the second index only however i use MultiSearcher::subSearcher(int32_tn) to be sure that the hit is from the index number (0) here is a code sample Searchable*s[3]={newIndexSearcher(firstIndexPath),newIndexSearcher(secondIndexPath()),NULL}; MultiSearcher * searcher = new MultiSearcher(s); Hits * hits = searcher->search(query); for(int i = 0; i < hits->length(); i++){ cout<<searcher->subSearcher(i); } The Result is 0 0 1 1 So it means that i have hits from each index, but when i try to get the docs i always found that the docs came from the second index! *2- Using MultiReader* with this option i couldn't make the app to compile. here is a code sample lucene::util::Array<IndexReader*>*r=newlucene::util::Array<IndexReader*>(3); r[0] = IndexReader::open(firstIndexPath); r[1] = IndexReader::open(secondIndexPath); r[2] = NULL; MultiReader * multiReader = new MultiReader(r); m_searcher=newIndexSearcher(multiReader); I always get an error error: invalid conversion from 'lucene::index::IndexReader*' to 'unsigned int' How can I search multiple Indexes? Sincerely, -- Mohamed Ismail |
From: Ben v. K. <bva...@gm...> - 2012-03-21 23:03:16
|
I use 64 bit all the time, without any problems. b On 22 March 2012 08:31, Ahmed <ci7...@gm...> wrote: > Hi, > Our application use CLucene and it's quiet stable on 32 bits, but some > users say that the application crash when they start indexing or search on > 64 bits (windows 7) machines > Should we build a 64 bits version? or the isn't in CLucene? > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > CLucene-developers mailing list > CLu...@li... > https://lists.sourceforge.net/lists/listinfo/clucene-developers > > |
From: Ahmed <ci7...@gm...> - 2012-03-21 22:31:41
|
<html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style> </head> <body bidimailui-detected-decoding-type="latin-charset" bgcolor="#FFFFFF" text="#000000"> Hi,<br> Our application use CLucene and it's quiet stable on 32 bits, but some users say that the application crash when they start indexing or search on 64 bits (windows 7) machines<br> Should we build a 64 bits version? or the isn't in CLucene?<br> </body> </html> |
From: Veit J. <nun...@go...> - 2012-03-18 00:09:38
|
2012/2/28 <du...@id...>: >> Maybe Lucene++ [1] supports this. It is a port of a later Lucene version >> by >> Alan and Ben. We tried once to make this the new CLucene version, but >> havn't finished it yet. > > How stable is Lucene++? Does it just have some unimplemented functionality > from java lucene or is there other problems? Sorry for coming back to your question so late. Somehow I thought, I had already answered it. As far as I know Lucene++ is stable. For CLucene we wanted it as fast as possible, i.e., reducing the usage of the shared pointers in Lucene++. Kind regards, Veit |
From: Veit J. <nun...@go...> - 2012-03-11 21:20:13
|
Hi Vivien, sorry, it took some time. Maybe this is an encoding issue. What encoding do your source code files have? I got the same result, when the encoding is UTF-8. But CLucene works internally with UTF-16 and in this case handles the string and the query as an UTF-16 encoded string. Thus, the created index is more or less useless. But if I transcode the string from UTF-8 to UTF-16 before I put it into the index, the index looks fine and I get the correct number of results. Kind regards, Veit |
From: Yao Xu <my...@ya...> - 2012-03-05 14:50:48
|
http://cuduqjfj85.webs.com/index.htm?axipageID=30 Yeah, okay.Ill go myself, next time.Roberta, no, Henry said. |
From: Yao Xu <my...@ya...> - 2012-03-05 14:48:35
|
http://jnagegum44.webs.com/index.htm?sufprof=55 Hungry for hard information, people who were already on the run pulled off the highway to see the President speak. Thats enough, fella! Beaver cried.But the kid. |
From: Vivien M. <V....@qs...> - 2012-03-05 00:44:00
|
In case anyone else is having the same problem: Problem is solved by setting the C++ compiler to LLVM GCC 4.2, rather than using Apple LLVM compiler 3.0. -----Original Message----- From: Vivien Meng [mailto:V....@qs...] Sent: Sunday, 4 March 2012 12:27 PM To: clu...@li... Subject: [CLucene-dev] unicode type is not judged correctly on Mac machine Hi: I am using CLucene in Xcode on Mac. While I debug into file gunichartables.cpp (belong to share), method bool cl_isletter(gunichar c), the TYPE that is returned by int t = TYPE(c) is not correct, I know that the particular character should belong to G_UNICODE_OTHER_LETTER (as it is a Chinese character), but TYPE does not return the correct type. I know this works on Windows environment, I am wondering if anyone knows how to set some settings/switches on Mac to get the functions in gunichartables.cpp to work properly for multiple bytes characters on Mac. It would be very much appreciated. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ CLucene-developers mailing list CLu...@li... https://lists.sourceforge.net/lists/listinfo/clucene-developers |
From: Vivien M. <V....@qs...> - 2012-03-04 01:26:57
|
Hi: I am using CLucene in Xcode on Mac. While I debug into file gunichartables.cpp (belong to share), method bool cl_isletter(gunichar c), the TYPE that is returned by int t = TYPE(c) is not correct, I know that the particular character should belong to G_UNICODE_OTHER_LETTER (as it is a Chinese character), but TYPE does not return the correct type. I know this works on Windows environment, I am wondering if anyone knows how to set some settings/switches on Mac to get the functions in gunichartables.cpp to work properly for multiple bytes characters on Mac. It would be very much appreciated. |
From: Ben v. K. <bva...@gm...> - 2012-02-28 21:47:34
|
I'd suggest using Luke to compare what javas behaviour is On Feb 28, 2012 10:51 PM, "Veit Jahns" <nun...@go...> wrote: > Hi Vivien! > > 2012/2/27 Vivien Meng <V....@qs...> > >> Hi Veit:**** >> >> ** ** >> >> ** ** >> >> Thanks for your reply.**** >> >> ** ** >> >> Do you know if there is anyone using CJKTokenizer? >> > > No, I don't know anyone. Sorry. > > >> **** >> >> ** ** >> >> Here is the code, no parsing error that I can see:**** >> >> ** ** >> >> Directory* store = NULL;**** >> >> store = _CLNEW RAMDirectory();**** >> >> const TCHAR* contentField = _T("contents");**** >> >> const TCHAR* test = _T("这里我们所论及的是有儿童参加的最初级足球协会red green");**** >> >> const TCHAR* cjk = _T("cjk");**** >> >> Document doc;**** >> >> **** >> >> IndexWriter* writer = NULL;**** >> >> IndexReader* reader = NULL;**** >> >> **** >> >> LanguageBasedAnalyzer* an = _CLNEW LanguageBasedAnalyzer(cjk, false); >> **** >> >> **** >> >> Query* q2 = NULL;**** >> >> Hits* h2 = NULL;**** >> >> const TCHAR* qry2 = _T("提");**** >> >> ** ** >> >> writer = _CLNEW IndexWriter(store, an, true);**** >> >> **** >> >> doc.add(*_CLNEW Field(contentField, test, Field::STORE_YES | >> Field::INDEX_TOKENIZED));**** >> >> **** >> >> writer->addDocument(&doc);**** >> >> writer->optimize();**** >> >> **** >> >> // Close and clean up**** >> >> writer->close();**** >> >> _CLLDELETE(writer);**** >> >> **** >> >> // verify the result**** >> >> reader = IndexReader::open(store);**** >> >> IndexSearcher search(reader);**** >> >> **** >> >> q2 = QueryParser::parse(qry2 , contentField, an);**** >> >> if ( q2 != NULL )**** >> >> {**** >> >> h2 = search.search( q2 );**** >> >> **** >> >> size_t a = h2->length();**** >> >> **** >> >> printf("second query is %d", (int)a);**** >> >> }**** >> >> **** >> >> reader->close(); >> > > Looks good. What will be interesting to know is, what q2->toString() > returns. Then you see what query is actually used for getting the hits. But > I will try your code myself also. > > Best regards, > > Veit > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > CLucene-developers mailing list > CLu...@li... > https://lists.sourceforge.net/lists/listinfo/clucene-developers > > |
From: <du...@id...> - 2012-02-28 14:28:16
|
> Maybe Lucene++ [1] supports this. It is a port of a later Lucene version > by > Alan and Ben. We tried once to make this the new CLucene version, but > havn't finished it yet. How stable is Lucene++? Does it just have some unimplemented functionality from java lucene or is there other problems? |
From: Veit J. <nun...@go...> - 2012-02-28 12:51:23
|
Hi Vivien! 2012/2/27 Vivien Meng <V....@qs...> > Hi Veit:**** > > ** ** > > ** ** > > Thanks for your reply.**** > > ** ** > > Do you know if there is anyone using CJKTokenizer? > No, I don't know anyone. Sorry. > **** > > ** ** > > Here is the code, no parsing error that I can see:**** > > ** ** > > Directory* store = NULL;**** > > store = _CLNEW RAMDirectory();**** > > const TCHAR* contentField = _T("contents");**** > > const TCHAR* test = _T("这里我们所论及的是有儿童参加的最初级足球协会red green");**** > > const TCHAR* cjk = _T("cjk");**** > > Document doc;**** > > **** > > IndexWriter* writer = NULL;**** > > IndexReader* reader = NULL;**** > > **** > > LanguageBasedAnalyzer* an = _CLNEW LanguageBasedAnalyzer(cjk, false);* > *** > > **** > > Query* q2 = NULL;**** > > Hits* h2 = NULL;**** > > const TCHAR* qry2 = _T("提");**** > > ** ** > > writer = _CLNEW IndexWriter(store, an, true);**** > > **** > > doc.add(*_CLNEW Field(contentField, test, Field::STORE_YES | > Field::INDEX_TOKENIZED));**** > > **** > > writer->addDocument(&doc);**** > > writer->optimize();**** > > **** > > // Close and clean up**** > > writer->close();**** > > _CLLDELETE(writer);**** > > **** > > // verify the result**** > > reader = IndexReader::open(store);**** > > IndexSearcher search(reader);**** > > **** > > q2 = QueryParser::parse(qry2 , contentField, an);**** > > if ( q2 != NULL )**** > > {**** > > h2 = search.search( q2 );**** > > **** > > size_t a = h2->length();**** > > **** > > printf("second query is %d", (int)a);**** > > }**** > > **** > > reader->close(); > Looks good. What will be interesting to know is, what q2->toString() returns. Then you see what query is actually used for getting the hits. But I will try your code myself also. Best regards, Veit |
From: Veit J. <nun...@go...> - 2012-02-27 14:39:12
|
Hi David, the current CLucene version is a port of Lucene 2.3.2. But these methods were introduced in a later version of Lucene (> 3, I think). So, there no way to do paging out of the box.You have to implement it yourself. Maybe Lucene++ [1] supports this. It is a port of a later Lucene version by Alan and Ben. We tried once to make this the new CLucene version, but havn't finished it yet. Kind regards, Veit [1] https://github.com/luceneplusplus/LucenePlusPlus 2012/2/27 David Linde <dav...@gm...> > I am using CLucene 2.3.3.2 - I want to implement searchAfter in CLucene - > or at least using paging with TopDocs? is there a way to do the same thing > with CLucene 2.3.3.2 out of box? > > Thanks in advance! > > TopDocs<http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/core/org/apache/lucene/search/TopDocs.html> > *searchAfter<http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/core/org/apache/lucene/search/IndexSearcher.html#searchAfter%28org.apache.lucene.search.ScoreDoc,%20org.apache.lucene.search.Query,%20org.apache.lucene.search.Filter,%20int%29> > *(ScoreDoc<http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/core/org/apache/lucene/search/ScoreDoc.html> > after, Query<http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/core/org/apache/lucene/search/Query.html> > query, Filter<http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/core/org/apache/lucene/search/Filter.html> filter, > int n) > Finds the top n hits for query, applying filter if non-null, > where all results are after a previous result (after). TopDocs<http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/core/org/apache/lucene/search/TopDocs.html> > *searchAfter<http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/core/org/apache/lucene/search/IndexSearcher.html#searchAfter%28org.apache.lucene.search.ScoreDoc,%20org.apache.lucene.search.Query,%20int%29> > *(ScoreDoc<http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/core/org/apache/lucene/search/ScoreDoc.html> > after, Query<http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/core/org/apache/lucene/search/Query.html> query, > int n) > Finds the top n hits for query where all results are after a > previous result (after). > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > CLucene-developers mailing list > CLu...@li... > https://lists.sourceforge.net/lists/listinfo/clucene-developers > > |
From: Veit J. <nun...@go...> - 2012-02-27 13:15:25
|
Hi Mena, as far as I know, every function from Lucene 2.3.2 is ported to C++. What is missing are most of the contribs. Some are there, but many are not. But they can ported to C++. I did it once myself for the an special analyzer. Wasn't so difficult. Kind regards, Veit 2012/2/24 Mena Hanna <bme...@ya...>: > Hi > Our group is working in CLucene and we want to know the functions that > exists in Lucene and doesn't exist in CLucene. > we want to know how or where to get these functions . > > Thanks so much > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > CLucene-developers mailing list > CLu...@li... > https://lists.sourceforge.net/lists/listinfo/clucene-developers > |