Thanks to Martijn v Groningen.
but , Is there anyone who has implemented this feature? just like SQL : select
a1,a2,sum(a3) group by a1,a2;
BTW: show me how to do is well too, Thank you。
---
Confident
Thanks to Martijn v Groningen.
but , Is there anyone who has implemented this feature? just like SQL : select
a1,a2,sum(a3) group by a1,a2;
---
Confidentiality Notice: The information contained in this
Hi Dish,
Grouping on multiple fields or a field that has multiple tokens (or
values) per document hasn't been implemented yet.
Martijn
On 10 December 2012 07:12, dizh wrote:
> Hi All:
> I want to ask how to do "Group by on multi fields ".
> The Lucene JavaDOC only gives a demo about how to grou
Thanks again. Lucene.NET is supposed to be equally thread safe, so I'll give it
a go.
L-E
-Original Message-
From: Ian Lea [mailto:ian@gmail.com]
Sent: 10. desember 2012 13:18
To: java-user@lucene.apache.org
Subject: Re: Deciding how to use reader
Certainly in java IndexReader is t
Certainly in java IndexReader is thread safe. From the 4.0.0 javadocs
"IndexReader instances are completely thread safe, meaning multiple
threads can call any of its methods, concurrently". I know nothing
about Lucene.NET.
All your reasons for not using Solr sound fine, particularly the more
fun
OK, thanks. As far as I understand, there's no problem performance wise or
other to use a singleton reader for multiple threads/users, right?
I've considered Solr, but my conclusion is that installing and configuring
something a bit geeky to configure, running on Java when all our stuff is
Wind
If the index is only updated once an hour I'd create a new reader once
an hour as well, synchronized with the updates.
Have you considered Solr? That would probably take care of most of
the complications pretty much out of the box.
http://lucene.apache.org/solr/features.html
--
Ian.
On Mon, D
Hi!
I'm using lucene.net, but I'm sure this question is not platform specific. :)
I've created an index for a website which uses a central database server and
three front-end servers.
For now I've put the index and the building of the index on a fifth server
which builds the index once an hour.
Hi,
take a look at StandardAnalyzer sources for an example:
http://grepcode.com/file/repo1.maven.org/maven2/org.apache.lucene/lucene-analyzers-common/4.0.0/org/apache/lucene/analysis/standard/StandardAnalyzer.java#StandardAnalyzer
In your case you are case:
- remember your analyzer have to be re