Re: term frequency

2016-11-24 Thread Jason Wee
the exception line does not match the code you pasted, but do make sure your object actually not null before accessing its method. On Thu, Nov 24, 2016 at 5:42 PM, huda barakat wrote: > I'm using SOLRJ to find term frequency for each term in a field, I wrote > this code but it is not working: > >

Re: Request for help with Lucene search engine

2015-06-26 Thread Jason Wee
maybe start with this? https://svn.apache.org/repos/asf/lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/search/TestDocValuesScoring.java hth jason On Fri, Jun 26, 2015 at 7:40 PM, Rim REKIK wrote: > Dear, > I m trying Lucene to work with Lucene search engine. But I m asking if > there

Re: Global ordinal based query time join documentation

2015-06-06 Thread Jason Wee
https://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/lucene/join/src/test/org/apache/lucene/search/join/TestJoinUtil.java?view=markup&pathrev=1671777 https://svn.apache.org/viewvc?view=revision&revision=1671777 https://issues.apache.org/jira/browse/LUCENE-6352 hth jason On Fri, Jun 5, 201

Re: Java8 and lucene version

2015-05-06 Thread Jason Wee
The difficult way is to go through lucene code and read if is work with java 8. If you can duplicate the index created with lucene 2.9.4, perhaps you can try to upgrade java in test environment, it should give some direct indication or result (for example, exception, index cannot write/read, etc) i

Re: make data search as index progress.

2014-05-02 Thread Jason Wee
uses Lucene, but Hibernate Search and Neo4j are > Industry standards and both use Lucene. > > > > > On Tue, Apr 15, 2014 at 9:57 PM, Jason Wee wrote: > > > Hello Jose, > > > > Thank you for your insight. > > > > It sounds to me that, before method

Re: make data search as index progress.

2014-04-15 Thread Jason Wee
ame manner but with the disadvantage is that you have to > create your own code. > > > > > On Mon, Apr 14, 2014 at 9:29 AM, Jason Wee wrote: > > > https://lucene.apache.org/core/4_6_0/demo/overview-summary.html > > > > > https://lucene.apache.org/core/4_6_0/d

make data search as index progress.

2014-04-14 Thread Jason Wee
https://lucene.apache.org/core/4_6_0/demo/overview-summary.html https://lucene.apache.org/core/4_6_0/demo/src-html/org/apache/lucene/demo/IndexFiles.html Hello, We are using lucene 4.6.0 and storing index on top of cassandra. As far as I understand, in order to make the index searchable, in the

Re: background merge hit exception

2014-04-09 Thread Jason Wee
e tasks into "sub tasks" and distribute them > using a cache or a message queue like "activemq< > http://activemq.apache.org/>", > subtasks using a "message queue" also lets you to distribute among > different processes (jvm's) and machines. On p

Re: background merge hit exception

2014-04-08 Thread Jason Wee
, > analyzer); > > > With this probably the line related to the codec will change too. > > > > On Fri, Apr 4, 2014 at 3:52 AM, Jason Wee wrote: > > > Hello again, > > > > A little background of our experiment. We are storing lucene (version

background merge hit exception

2014-04-03 Thread Jason Wee
Hello again, A little background of our experiment. We are storing lucene (version 4.6.0) on top of cassandra. We are using the demo IndexFiles.java from the lucene with minor modification such that the directory used is reference to the CassandraDirectory. With large dataset (that is, index more

Re: codec mismatch

2014-03-06 Thread Jason Wee
al Lucene indexes are stored in the native > file system for greater performance. Solrandra stored the Lucene indexes in > Cassandra, but the performance penalty was too high. > > -- Jack Krupansky > > -----Original Message- From: Jason Wee > Sent: Friday, February 14, 2014

Re: codec mismatch

2014-02-17 Thread Jason Wee
le name? > > Mike McCandless > > http://blog.mikemccandless.com > > > On Fri, Feb 14, 2014 at 3:13 AM, Jason Wee wrote: > > Hello, > > > > This is my first question to lucene mailing list, sorry if the question > > sounds funny. > > > > I have

codec mismatch

2014-02-14 Thread Jason Wee
Hello, This is my first question to lucene mailing list, sorry if the question sounds funny. I have been experimenting to store lucene index files on cassandra, unfortunately the exception got overwhelmed. Below are the stacktrace. org.apache.lucene.index.CorruptIndexException: codec mismatch: a