Re: is this lucene 4.1.0 bug in PerFieldPostingsFormat

2015-03-06 Thread Paul Taylor
On 06/03/2015 15:07, Michael McCandless wrote: On Thu, Mar 5, 2015 at 4:27 PM, Paul Taylor wrote: 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 loo

Re: is this lucene 4.1.0 bug in PerFieldPostingsFormat

2015-03-06 Thread Paul Taylor
On 06/03/2015 17:34, Michael McCandless wrote: On Fri, Mar 6, 2015 at 11:03 AM, Paul Taylor wrote: Right, did you see my last post the query parser does trap the exception if you enable assertions. I thought this was what you were saying was fixed in a later version, but assume you actually me

Re: is this lucene 4.1.0 bug in PerFieldPostingsFormat

2015-03-06 Thread Michael McCandless
On Fri, Mar 6, 2015 at 11:03 AM, Paul Taylor wrote: > Right, did you see my last post the query parser does trap the exception if > you enable assertions. I thought this was what you were saying was fixed in > a later version, but assume you actually mean search is fixed not parser Well it's bot

SOLR 4.9 and Tomcat logging

2015-03-06 Thread tuxedomoon
I want SOLR 4.9 to log to my rolling tomcat logs like catalina.2015-03-06.log. Instead I'm just getting a solr.log with no timestamp. I'm also not sure if I need to copy more SOLR jars into my tomcat lib. This is my setup. tomcat6/conf/log4j.properties -

Re: is this lucene 4.1.0 bug in PerFieldPostingsFormat

2015-03-06 Thread Paul Taylor
On 06/03/2015 15:07, Michael McCandless wrote: On Thu, Mar 5, 2015 at 4:27 PM, Paul Taylor wrote: 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 loo

Re: is this lucene 4.1.0 bug in PerFieldPostingsFormat

2015-03-06 Thread Michael McCandless
On Thu, Mar 5, 2015 at 4:27 PM, Paul Taylor wrote: > 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

Re: is this lucene 4.1.0 bug in PerFieldPostingsFormat

2015-03-06 Thread Paul Taylor
On 05/03/2015 21:27, Paul Taylor wrote: FWIW if I do enable assertions then parse does throw an assertion before actually trying to do the search. java.lang.AssertionError at org.apache.lucene.search.MultiTermQuery.(MultiTermQuery.java:252) at org.apache.lucene.search.AutomatonQuery.(

Lucene 5.0.0 - StringField and Sorting

2015-03-06 Thread Torsten Krah
Hi, looking at the JavaDoc of StringField it says: /** A field that is indexed but not tokenized: the entire * String value is indexed as a single token. For example * this might be used for a 'country' field or an 'id' * field, or any field that you intend to use for sorting * or access

Sampled Hit counts using Lucene Facets.

2015-03-06 Thread Gimantha Bandara
Hi, I am trying to create some APIs using lucene facets APIs. First I will explain my requirement with an example. Lets say I am keeping track of the count of people who enter through a certain door. Lets say the time range I am interested in Last 6 hours( to get the total count, I know that I ll

Re: Difference between CategoryPath and Plain FacetFields with hierarchy

2015-03-06 Thread Michael McCandless
On Fri, Mar 6, 2015 at 2:04 AM, Gimantha Bandara wrote: > 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 > C