LUCENE-3484 is resolved.
Mihai, could you give it a try and see if this solves the NPE problem in
your setup?
You would need to download a nightly build that contains the fix - see the
issue for revision numbers...
On Tue, Oct 4, 2011 at 7:51 PM, Mihai Caraman wrote:
> > (org.myapp.search.CustomL
> (org.myapp.search.CustomLucene.ThreadedIndexWriter).
>
> it's just the threaded example from Lucene In Action SE(Listing 10.1)
I opened https://issues.apache.org/jira/browse/LUCENE-3484 for this and will
> fix this soon.
> Patch in that issue shows how to reproduce this error.
>
> Thanks for rep
On Tue, Oct 4, 2011 at 11:29 AM, Mihai Caraman wrote:
> I also think that there is nothing special in the second restart, except
>
> > that that by that time there were other servlets up (?) which were able
> to
> > trigger simultaneous AddDoc requests, exposing this bug...
> >
> > Makes sense?
>
> After those 4 bytes it should match?
Thanks. Yup, seems to match after that.
-Michael
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
Hi,
Term Vectors are somehow duplicate information. It is used to get quickly *per
document* all vectors for *one field*. This means you get the positions,
offsets, and frequencies for the requested document as one blob like a stored
field that can be used e.g. for more like this or highlightin
Thanks a lot.
But then what's the added value of Field.TermVector?
Can't it be deduced from the overall Lucene index? Or is it just inefficient to
deduce?
Thanks again :)
- Original Message -
From: Uwe Schindler
To: java-user@lucene.apache.org; 'sol myr'
Cc:
Sent: Tuesday, October
Lucene always uses a field, a query using a term without a field is
impossible. See each field as a parallel inverted index; all statistics are
per field, too. If you pass a query without a field name to QueryParser it
will chose the default field, thatÂ’s given when creating the QueryParser.
Uwe
Hi,
I use Lucene, but an not familiar with its internals.
I'd appreciate help understanding whether Term Frequences and Positions - are
stored per Document of per Field?
On the one hand, I never ask for "Field.TermVector" because I read it's only
required for "MoreLikeThis" (which I don't ne
I also think that there is nothing special in the second restart, except
> that that by that time there were other servlets up (?) which were able to
> trigger simultaneous AddDoc requests, exposing this bug...
>
> Makes sense?
>
It does. Can those two Ts be from the threadedindexwriter?
Thanks Andrezj ! Works for me, win7 and lucene 2.9 and JRE 1.6.
2011/10/4 janwen
> thanks so much.I am going to upgrade the lucene to version3.4 in my
> project.I'll try the new version luke.thanks for hard-work
>
>
> On 2011-10-3 17:52, Andrzej Bialecki wrote:
>
>> Hi,
>>
>> I'm happy to annou
Dear list,
I'm in the need of query switched filters (to turn filters on and off by query
parameter).
I've already send my idea to the solr list and asked for opinions, but no
complains from there.
http://lucene.472066.n3.nabble.com/skipping-parts-of-query-analysis-for-some-queries-td3382239.h
Looking into this with Shai I think we see how this can happen, in this code
of LTW:
private ParentArray getParentArray() throws IOException {
if (parentArray==null) { // [1]
if (reader == null) {
reader = openReader();
}
parentArray = new ParentArray(); // [2]
12 matches
Mail list logo