Re: Difference between CategoryPath and Plain FacetFields with hierarchy

2015-03-05 Thread Gimantha Bandara
Thanks Michael, I am going to use FacetFields/FacetsConfig. So using FacetFields we can define a hierarchy like below. doc.add(new FacetField("Publish Date", "2012", "1", "7")) Is it possible to use FacetFields like this, as we could do with CategoryPath? doc.add(new FacetField("Publish Date",

lucene eclipseLink integration

2015-03-05 Thread Fielder, Todd Patrick
Hello, I'm using eclipseLink 2.3 and am wondering if there are any libraries that integrate eclipseLink and lucene to provide automatic index updates similar to HibernateSearch? Which versions of Lucene do they support? Thanks -Todd

Re: is this lucene 4.1.0 bug in PerFieldPostingsFormat

2015-03-05 Thread Paul Taylor
On 05/03/2015 19:01, Michael McCandless wrote: On Thu, Mar 5, 2015 at 12:12 PM, Paul Taylor wrote: On 05/03/2015 15:53, Paul Taylor wrote: On 05/03/2015 14:43, Michael McCandless wrote: It looks like field was null? Back in 4.1.0 we just assert field != null, but in newer releases it's a rea

Re: is this lucene 4.1.0 bug in PerFieldPostingsFormat

2015-03-05 Thread Michael McCandless
On Thu, Mar 5, 2015 at 12:12 PM, Paul Taylor wrote: > On 05/03/2015 15:53, Paul Taylor wrote: >> >> On 05/03/2015 14:43, Michael McCandless wrote: >>> >>> It looks like field was null? >>> >>> Back in 4.1.0 we just assert field != null, but in newer releases it's >>> a real check. >>> >>> Mike McC

Re: is this lucene 4.1.0 bug in PerFieldPostingsFormat

2015-03-05 Thread Paul Taylor
On 05/03/2015 15:53, Paul Taylor wrote: On 05/03/2015 14:43, Michael McCandless wrote: It looks like field was null? Back in 4.1.0 we just assert field != null, but in newer releases it's a real check. Mike McCandless Hi, thankyou Il try and get the query logged for when it next happens Okay

Re: is this lucene 4.1.0 bug in PerFieldPostingsFormat

2015-03-05 Thread Paul Taylor
On 05/03/2015 14:43, Michael McCandless wrote: It looks like field was null? Back in 4.1.0 we just assert field != null, but in newer releases it's a real check. Mike McCandless Hi, thankyou Il try and get the query logged for when it next happens Paul ---

Re: [ANNOUNCE] Apache Lucene 4.10.4 released

2015-03-05 Thread Michael McCandless
Correction: the download link for Lucene 4.10.4 is: http://www.apache.org/dyn/closer.cgi/lucene/java/4.10.4 Mike McCandless http://blog.mikemccandless.com On Thu, Mar 5, 2015 at 10:26 AM, Michael McCandless wrote: > March 2015, Apache Lucene™ 4.10.4 available > > The Lucene PMC is pleased

[ANNOUNCE] Apache Lucene 4.10.4 released

2015-03-05 Thread Michael McCandless
March 2015, Apache Lucene™ 4.10.4 available The Lucene PMC is pleased to announce the release of Apache Lucene 4.10.4 Apache Lucene is a high-performance, full-featured text search engine library written entirely in Java. It is a technology suitable for nearly any application that requires full-t

Re: Difference between CategoryPath and Plain FacetFields with hierarchy

2015-03-05 Thread Michael McCandless
The facets API changed in 5.0, from CategoryPath/FacetSearchParams to FacetFields/FacetsConfig. Mike McCandless http://blog.mikemccandless.com On Thu, Mar 5, 2015 at 2:13 AM, Gimantha Bandara wrote: > Hi, > > Any help on this? Or Can someone point me to Faceted User guide of 4.10.3. > I cannot

Re: is this lucene 4.1.0 bug in PerFieldPostingsFormat

2015-03-05 Thread Michael McCandless
It looks like field was null? Back in 4.1.0 we just assert field != null, but in newer releases it's a real check. Mike McCandless http://blog.mikemccandless.com On Thu, Mar 5, 2015 at 8:25 AM, Paul Taylor wrote: > Hi > > Is this a Lucene (4.1.0) (known) bug or application code error, (I don'

Re: understanding the norm encode and decode

2015-03-05 Thread Ahmet Arslan
Hi András, Thats a good catch! Do you want to correct that javadoc mistake and create a patch? https://wiki.apache.org/lucene-java/HowToContribute If you don't have a jira account, anyone can create it. https://issues.apache.org/jira/browse/lucene Ahmet On Thursday, March 5, 2015 11:15 AM,

Re: understanding the norm encode and decode

2015-03-05 Thread wangdong
thank you for your detail answer.I get it As the document i have read is offical materials,I doubt it is correct. so i start a question. thank you again! andrew 在 2015/3/5 17:14, András Péteri 写道: Sorry, I also got it wrong in the previous message. :) It goes 0.89f -> 123 -> 0.875f. On Thu

is this lucene 4.1.0 bug in PerFieldPostingsFormat

2015-03-05 Thread Paul Taylor
Hi Is this a Lucene (4.1.0) (known) bug or application code error, (I don't have details of the search just this stacktrace) I'm assuming bug because user code is just passing a search to Lucene, but I cant find anything in JIRA |java.lang.NullPointerException at java.util.TreeMap.getEntry(T

Re: understanding the norm encode and decode

2015-03-05 Thread András Péteri
Sorry, I also got it wrong in the previous message. :) It goes 0.89f -> 123 -> 0.875f. On Thu, Mar 5, 2015 at 10:08 AM, András Péteri wrote: > Hi Andrew, > > If you are using Lucene 3.6.1, you can take a look at the method which > creates a single byte value out of the received float using bit >

Re: understanding the norm encode and decode

2015-03-05 Thread András Péteri
Hi Andrew, If you are using Lucene 3.6.1, you can take a look at the method which creates a single byte value out of the received float using bit manipulation at [1]. There is also a 256-element decoder table in Similarity, where each byte corresponds to a decoded float value computed by [2]. The