Re: typed IntPoint.RangeQuery & LongPoint.rangeQuery

2018-01-09 Thread Michael McCandless
Lucene doesn't (shouldn't?) let you add 'a' at first as an IntPoint and then later as a LongPoint -- they must always be consistent. So however you indexed it, you must use the corresponding class to construct the query. String 'hi' can only be found if you had indexed a token 'hi' in that field

Re: Maven snapshots

2018-01-09 Thread Uwe Schindler
Hi Steve, If this fixed it could you please add it as dependency on the separate Jenkins target? I prefer all Jenkins jobs only call a simple "Jenkins job" target. Uwe Am January 9, 2018 8:59:02 PM UTC schrieb Steve Rowe : >Looks like this is partly(?) as a result of build changes I made as >pa

Re: Maven snapshots

2018-01-09 Thread Steve Rowe
Looks like this is partly(?) as a result of build changes I made as part of . I unintentionally removed the only invocation of the "generate-maven-artifacts" target called from the Jenkins jobs (which run “ant jenkins-maven-nightly”), and it is

Re: Analyzer is not called upon executing addDocument()

2018-01-09 Thread Armins Stepanjans
Thanks a lot for the help. Regards, Armīns On Tue, Jan 9, 2018 at 6:46 PM, Uwe Schindler wrote: > Hi, > > StringField is not analyzed. You need to use TextField. StringField is > indexed as is as a single unmodified token in index (e.g., to be used for > identifiers or facets). > > Uwe > >

Re: Maven snapshots

2018-01-09 Thread Steve Rowe
Hi Terry, Thanks for the heads-up about this problem. There are ASF Jenkins jobs that regularly build those snapshots - see the jobs with “Maven” in their names here: . I’ll look into the cause of the long lags and report back. -- Steve www.lucid

Re: Maven snapshots

2018-01-09 Thread Terry Smith
Thanks for the feedback. Armins: I use the maven snapshots from some local jenkins builds to follow along with as yet unreleased features. It's a really nice way of tracking upcoming changes, especially on master. Erick: Ah, that's what I suspected but feared. They've always lagged a little behi

RE: Analyzer is not called upon executing addDocument()

2018-01-09 Thread Uwe Schindler
Hi, StringField is not analyzed. You need to use TextField. StringField is indexed as is as a single unmodified token in index (e.g., to be used for identifiers or facets). Uwe - Uwe Schindler Achterdiek 19, D-28357 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Mes

Re: Maven snapshots

2018-01-09 Thread Erick Erickson
Maven support is not officially part of the project, it's maintained on a "when someone interested gets to it" basis. So the short answer is "no, you shouldn't expect those to be absolutely current" contributions welcome ;) Best, Erick On Tue, Jan 9, 2018 at 6:36 AM, Armins Stepanjans wrot

Re: Maven snapshots

2018-01-09 Thread Armins Stepanjans
Hi, I'm not sure I understand your question. There should be no confusion about setting a Maven snapshot dependency in the pom file, as you can specify version with 8.0-SNAPSHOT (substituting 8.0 with the version you want). However, in the case you are looking for a particular version of Lucene,

Re: Maven snapshots

2018-01-09 Thread Terry Smith
Guys, I'm just following up in case this question slipped between the cracks. Should I expect the apache snapshots maven repository to be current for Lucene 7.x and 8? Specifically, I don't see snapshot releases for 7.2 or 7.3 and it looks like the 8.0 snapshot releases are pretty stale. Thanks,

Analyzer is not called upon executing addDocument()

2018-01-09 Thread Armins Stepanjans
Hi, When I create a document with multiple StringFields and add it to IndexWriter using addDocument(Document), the StringFields within the Document are not tokenized nor filtered according to Analyzer's specifications, however when I test my Analyzer, while looping through tokens by explicitly cal