On Tue, May 5, 2009 at 11:11 AM, Amit Nithian wrote:
> I am trying to get at the configuration directory in an implementation of
> the SolrEventListener.
>
>
Implement SolrCoreAware and use solrCore.getResourceLoader().getConfigDir()
--
Regards,
Shalin Shekhar Mangar.
This is fixed in trunk.
2009/5/5 Noble Paul നോബിള് नोब्ळ्
> hi Walter,
> it needs synchronization. I shall open a bug.
>
>
>
> On Mon, May 4, 2009 at 7:31 PM, Walter Ferrara
> wrote:
> > I've got a ConcurrentModificationException during a cron-ed delta import
> of
> > DIH, I'm using multicore
Make your class implement the interface SolrCoreAware and you will get
a callback with the core.
On Tue, May 5, 2009 at 11:11 AM, Amit Nithian wrote:
> I am trying to get at the configuration directory in an implementation of
> the SolrEventListener.
>
> 2009/5/4 Noble Paul നോബിള് नोब्ळ्
>
>>
I am trying to get at the configuration directory in an implementation of
the SolrEventListener.
2009/5/4 Noble Paul നോബിള് नोब्ळ्
> What component is trying to get the SolrCore? if it is implemented as
> SolrCoreAware it gets a callback after the core is completely
> initialized.
>
> On Tue, M
If you change the the conf files and if you reindex the documents it
must be reflected are you sure you re-indexed?
On Tue, May 5, 2009 at 10:00 AM, Sagar Khetkade
wrote:
>
> Hi,
>
> I came across a strange problem while reloading the core in multicore
> scenario. In the config of one of the cor
hi Walter,
it needs synchronization. I shall open a bug.
On Mon, May 4, 2009 at 7:31 PM, Walter Ferrara wrote:
> I've got a ConcurrentModificationException during a cron-ed delta import of
> DIH, I'm using multicore solr nightly from hudson 2009-04-02_08-06-47.
> I don't know if this stacktrace
Hi,
I came across a strange problem while reloading the core in multicore scenario.
In the config of one of the core I am making changes in the synonym and
stopword files and then reloading the core. The core gets reloaded but the
changes in stopword and synonym fiels does not get reflected w
hi Eric,
there should be a getter for CoreContainer in EmbeddedSolrServer. Open an issue
--Noble
On Tue, May 5, 2009 at 12:17 AM, Eric Pugh
wrote:
> Hi all,
>
> I notice that when I use EmbeddedSolrServer I have to use Control C to stop
> the process. I think the way to shut it down is by callin
What component is trying to get the SolrCore? if it is implemented as
SolrCoreAware it gets a callback after the core is completely
initialized.
On Tue, May 5, 2009 at 4:29 AM, Amit Nithian wrote:
> How do you get access to the current SolrCore in code? More specifically, I
> am looking for the c
The we interface returns the data in xml for mat because that is the
most readable format.SolrJ uses a compact binary format by default.
But you can make it use xml as well. but there is no real use case for
using xml with solrJ
On Mon, May 4, 2009 at 7:06 PM, ahmed baseet wrote:
> As I know when
Hi Todd,
It depends what kind of hardware you run this on.
4 instances of 15GB shard 1 @ machines 1-4 behind VIP1
4 instances of 15GB shard 2 @ machines 5-8 behind VIP2
4 instances of 15GB shard 3 @ machines 9-12 behind VIP3
4 instances of 15GB shard 4 @ machines 13-16 behind VIP4
This is what
How do you get access to the current SolrCore in code? More specifically, I
am looking for the conf/ directory for the current core (i.e. I have a
configuration file housed in SOLR_HOME//conf and would like to
get at the "SOLR_HOME//conf" directory.) I was able to do this
in 1.2 but of course it o
Hi,
We're in the process of converting a Lucene deployment of 500 M documents /
60 G deployment into a Solr Distributed search deployment.
The primary reason for the change is instability in the Lucene deployment
due to memory constraints. The existing infrastructure is deployed on 48
machines w
On Mon, May 4, 2009 at 5:28 PM, Nasseam Elkarra wrote:
> Hello Koji,
>
> I applied the patch:
> http://issues.apache.org/jira/browse/SOLR-64
>
> It's working but I have a question about facet.prefix. When we add a
> facet.prefix it filters the facet results but not the query results. Is
> there a
Hello Koji,
I applied the patch:
http://issues.apache.org/jira/browse/SOLR-64
It's working but I have a question about facet.prefix. When we add a
facet.prefix it filters the facet results but not the query results.
Is there a way to filter both?
Thank you,
Nasseam
On Apr 14, 2009, at 3:
I'm using the embedded Jetty.
>> I have an index of about 6 million small documents.
>> I find that after a few days of on and off posting, searching
>> still works fine but posting gets really slow - client http
>> connection always times out. I restarted server. Then posting
>> speed seemed to h
Hi all,
I notice that when I use EmbeddedSolrServer I have to use Control C to
stop the process. I think the way to shut it down is by calling
coreContainer.shutdown().
However, is it possible to get the coreContainer from a SolrServer
object? Right now it is defined as protected final C
This should be fine. You won't have to replicate your index, just reopen the
searcher when commit is done, that's all. Index updates and searches can be
happening at the same time.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
> From: Charles
Or you could collapse search results with SOLR-236.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
> From: David Giffin
> To: solr-user@lucene.apache.org
> Sent: Monday, May 4, 2009 12:37:29 PM
> Subject: Custom Sorting Based on Relevancy
>
> H
Correct. For an attempt to allow only field-level updates (without requiring
the whole document to be re-analyzed and re-indexed) please see SOLR-139.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
> From: Amit Nithian
> To: solr-user@lucene.a
Attribute values for fields should be inherited from attribute values of their
field types.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
> From: Michael Ludwig
> To: solr-user@lucene.apache.org
> Sent: Monday, May 4, 2009 1:08:43 PM
> Subject
Hi,
My error is as below. If authentication error while indexing with
authentication enable (Basic GET/POST)
org.apache.solr.client.solrj.SolrServerException:
org.apache.commons.httpclient.ProtocolException: Unbuffered entity enclosing
request can not be repeated.
at
org.apache.solr.client.solr
On Mon, May 4, 2009 at 1:09 PM, wrote:
> I have an index of about 6 million small documents.
> I find that after a few days of on and off posting, searching
> still works fine but posting gets really slow - client http
> connection always times out. I restarted server. Then posting
> speed seemed
I have an index of about 6 million small documents.
I find that after a few days of on and off posting, searching
still works fine but posting gets really slow - client http
connection always times out. I restarted server. Then posting
speed seemed to have returned to normal. Is this the expected
b
From the apache-solr-1.3.0\example\solr\conf\schema.xml file:
So for both fieldtype/@stored and fieldtype/@indexed, the default is
"true", correct?
And does the configuration constitute a default for
so that field/@stored and field/@indexed take their effective values
according to field/@ty
I see. Thanks.
> There was a thread about this last week and verdict is currently you
> can't highlight MoreLikeThis results.
> Thanks,
> Matt Weber
>> My query returns a number of MoreLikeThis results for a given
>> document. I wonder if there is a way to highlight the terms
>> in the MoreLike
I believe you do have to re-index the entire document. From what I have
read, this is a Lucene limitation not a Solr one. I have run into this
problem too and it's a pain to deal with. If you have data relevant for
ranking but not searching, then consider storing it elsewhere and write a
custom fun
You will probably want to use the new TermsComponent in Solr 1.4. See http://wiki.apache.org/solr/TermsComponent
. I just recently wrote a blog post about using autocompletion with
TermsComponent, a servlet, and jQuery. You can probably follow these
instructions, but instead of writing a se
Hi,
I am new to solr. I am using solr server to index the data and make search
in a Ruby on rails project.I want to add autocompletion feature. I tried
with the xml patch in the schema.xml file of solr, but dont know how to test
if the feature is working.also havent been able to integrate the sam
Hi There,
I'm working on a sorting issue. Our site currently sorts by creation
date descending, so users list similar products multiple times to show
up at the top of the results. When sorting based on score, we want to
move items by the "same user" with the "same title" down search
results. It wo
On Mon, May 4, 2009 at 9:28 PM, sunnyfr wrote:
>
> Hi,
>
> I would like to create a field without tokenizer but I've an error,
>
You can use KeywordTokenizer which does not do any tokenization.
--
Regards,
Shalin Shekhar Mangar.
Hi,
I would like to create a field without tokenizer but I've an error,
I tried :
But I've :
May 4 17:49:41 solr-test jsvc.exec[5786]: May 4, 2009 5:49:41 PM
org.apache.solr.common.SolrException log SEVERE:
org.apache.solr.common.SolrException: analyz
I am not sure you can return the results in order of frequency, you
will have to sort the results yourself. Also, for autoSuggest you
will want to add the terms.prefix=input term and
terms.lower.incl=false so your example will be:
/autoSuggest?
terms
=
true
&indent
=
true
&terms
.f
There was a thread about this last week and verdict is currently you
can't highlight MoreLikeThis results.
Thanks,
Matt Weber
On May 4, 2009, at 1:22 AM, jli...@gmail.com wrote:
My query returns a number of MoreLikeThis results for a given
document. I wonder if there is a way to highligh
As I know when we query solr from solr admin interface we get back the
results in xml format, so thought there must be something similar for solrj
as well, which I'll make to go thru an xml parser at the other end and
display all the results in the browser. Otherwise I've to iterate the
solrdocumen
Hi,
I would like to know how work /autoSuggest.
I do have result when I hit :
/autoSuggest?terms=true&indent=true&terms.fl=title&terms.rows=5&terms.lower=simp&omitHeader=true
I've:
74
129
2
2
1
How can I ask it to suggest first expression which are more frequent in the
database ?
How can
The point of using solrj is that you don't have to do any parsing
yourself -- you get access to the results in object form.
If you need to do parsing, just grab the xml directly:
http://host/solr/select?q=*:*&wt=xml
On May 4, 2009, at 9:36 AM, ahmed baseet wrote:
As I know when we query sol
I've got a ConcurrentModificationException during a cron-ed delta import of
DIH, I'm using multicore solr nightly from hudson 2009-04-02_08-06-47.
I don't know if this stacktrace maybe useful to you, but here it is:
java.util.ConcurrentModificationException
at java.util.LinkedHashMap$Linke
Hi,
Actually I have not yet reached the search/Lucene part on my project
(which consists in selling pastries over the internet) but I would like
to participate to benefit for the discussion.
When will this gathering occur?
Regards,
Mohamed
-Original Message-
From: Erik Hatcher [mailto:e
use this constructor:
public CommonsHttpSolrServer(String solrServerUrl, HttpClient
httpClient, ResponseParser parser) throws MalformedURLException {
this(new URL(solrServerUrl), httpClient, parser, false);
}
and give it the XMLResponseParser
-- - - -
Is this just helpful for debu
My company is co-sponsoring a Lucene/Solr meetup later this month in
the Northern VA / DC area (Reston). Details will be coming out soon.
We've got one night of talks planned and considering adding another
consecutive night. If you're in the area and have a Lucene (any of
the Lucene fami
Just out of curiosity, what's the use case for getting the result back
in XML from SolrJ?
Erik
On May 4, 2009, at 8:13 AM, ahmed baseet wrote:
Can we get the results as received by Solrj in XML format? If yes
how to do
that. I think there must be some way to make solrj returns resul
As I know when you resend another index request with some old ID, old field
but new content, the old one gets overwritten by the new one.
@solr-users, Views???
--Ahmed
On Mon, May 4, 2009 at 5:26 PM, appleman1982 wrote:
>
> Hi All,
> I have a requirement wherein i want to update an existing ind
Can we get the results as received by Solrj in XML format? If yes how to do
that. I think there must be some way to make solrj returns results in XML
format.
I need some pointers in this direction. As I know solrs returns the result
in solrdocument format that we've to iterate to extract the fields
Hi All,
I have a requirement wherein i want to update an existing index in solr.
For example : I have issued an index command in solr as
123
xxx
The id field is a unique key here.
My requirement is that i should be able to update this inex i.e add another
field to it without the need to buil
Good solution without touching any code! Thank you very much.
I have already used the "key function" for query facets. I use it to send to
the xml response a different word/sentence than the one I use to do the
proper faceting. It has been really useful
Thank you.
Erik Hatcher wrote:
>
>
> On
My query returns a number of MoreLikeThis results for a given
document. I wonder if there is a way to highlight the terms
in the MoreLikeThis results? Thanks.
Hi,
I use SolrIndexReader.isCurrent() for this purpose
On Fri, May 1, 2009 at 1:42 AM, James Brady wrote:
> Hi,
> The lastModified field the Solr status seems to only be updated when a
> commit/optimize operation takes place.
>
> Is there any way to determine when a core has been changed, includ
48 matches
Mail list logo