unsubscribe
Hi people!
As I was looking at the solr source code the other day, I noticed the
following:
public abstract class RefCounted {
[...]
public final RefCounted incref() { refcount.incrementAndGet
(); return this; }
public void decref() { if (refcount.decrementAndGet()==0) close(); }
prot
Hi Kay,
You are right for general usage of RefCounted... I should probably add
a comment to that class.
Solr as a whole doesn't have a problem though because other locking
ensures that once the refcount reaches 0, no one will increment it
again.
SolrCore holds a reference itself, and only calls de
On 5/28/07, Ryan McKinley <[EMAIL PROTECTED]> wrote:
I have an app where I want dismax style automatic field boosting (for
the title), but also want to expose lucene query syntax (phrase, range, etc)
The default search field for my schema is "fulltext". I am copying all
the relevant fields but
Hi Yonik!
On May 29, 2007, at 4:02 PM, Yonik Seeley wrote:
You are right for general usage of RefCounted... I should probably add
a comment to that class.
Solr as a whole doesn't have a problem though because other locking
ensures that once the refcount reaches 0, no one will increment it
again
>I can't think of any value add in having Solr keep track of the fact
that
>"ds" means "Download Speed" vs having an external data mapping keep
track
>of that information, since direct access to that info inside of Solr
>wouldn't typically make the performance of requests any faster or
>reduce the
Hi -
I have an index that is updated fairly frequently (every few seconds), and
I'm replicating to several slave servers.
Because of the frequent updates, I'm usually pushing an index that is not
optimized. And, as it takes several minutes to optimize, I don't want to do
it every time I replicat
Thanks Chris, it was as easy as adding the hostname to /etc/hosts to fix.
hossman_lucene wrote:
>
> : Anyone encounter a problem when changing their hostname? (via
> : /etc/conf.d/hostname or just the hostname command) I'm getting this
> error
> : when going to the admin screen, I have a feel
Solr developers:
There are different SolrRequestHandler implementations in Solr, e.g.
DisMaxRequestHandler, StandardRequestHandler and they overlap in
functionality.
And we are thinking of writing our own SolrRequestHandler implementation,
which means to also support standard functionality, we'd
When the parameter to a token filter is out of
range, or a mandatory paramter is not given, what
is the proper way to fail in the init() and
crate() methods?
Should I throw an RuntimeException? Or should I
simply call SolrCore.log.severe(message)?
Is it OK for create() to return null when the
unde
Are there plans to rethink the plugin architecture, e.g. to break into
phases or modules where other components/plugins can extend? Or what are
some other suggestions you guys may have?
Check org.apache.solr.util.SolrPluginUtils -- ideally most functionality
shared across multiple RequestHand
On 5/29/07, John Wang <[EMAIL PROTECTED]> wrote:
Are there plans to rethink the plugin architecture, e.g. to break into
phases or modules where other components/plugins can extend? Or what are
some other suggestions you guys may have?
Yes, I've considered the need for it. It would allow someone
Teruhiko Kurosaka wrote:
When the parameter to a token filter is out of
range, or a mandatory paramter is not given, what
is the proper way to fail in the init() and
crate() methods?
Should I throw an RuntimeException? Or should I
simply call SolrCore.log.severe(message)?
Is it OK for create() t
13 matches
Mail list logo