numDocs methods seem just for filterCache. So I just need use QueryResult
search(QueryResult qr, QueryCommand cmd) by setting QueryCommand.len=0?I would
try it.
At 2010-11-19 15:49:31,kafka0102 kafka0...@163.com wrote:
In my app,I want to search numdocs for some queries. I see SolrIndexSearcher
The analysis stack for the text type includes the PorterStemmer. A
'stemmer' uses algorithms to trim similar words back to a base word.
In this case, it removes 'ing' from the end of 'testing'. This means
that 'test' and 'testing' are indexed exactly the same, and searching
for one will find the
Please stay on the list.
Anyway, it's a matter of not exposing certain request handlers to the public.
If you have a master/slave set up, you can remove the update handlers from
your public facing slave (or hide it behind HTTP auth in your proxy). The same
goes for other defined request
Hi,
the final solution is explained here in context:
http://mail-archives.apache.org/mod_mbox/lucene-dev/201011.mbox/%3caanlktimatgvplph_mgfbsughdoedc8tc2brrwxhid...@mail.gmail.com%3e
/If you are using Solr branch_3x or trunk, you can turn this off, by
setting autoGeneratePhraseQueries to
Hi,
I configured search request handler as shown below.
requestHandler name=standard class=solr.SearchHandler default=true
!-- default values for query parameters --
lst name=defaults
str name=echoParamsexplicit/str
/requestHandler
I am submitting the below query for search.
The issue is solved.I replaced the solr core jar.
Thanks Erick
--
View this message in context:
http://lucene.472066.n3.nabble.com/Dismax-is-failing-with-json-response-writer-tp1922170p1930382.html
Sent from the Solr - User mailing list archive at Nabble.com.
On Nov 19, 2010, at 7:36 AM, sivaprasad wrote:
Hi,
I configured search request handler as shown below.
requestHandler name=standard class=solr.SearchHandler default=true
!-- default values for query parameters --
lst name=defaults
str name=echoParamsexplicit/str
Hi,
I am using a string filed with below configuration.
fieldType name=cat_string class=solr.StrField sortMissingLast=true
omitNorms=true
analyzer
tokenizer class=solr.KeywordTokenizerFactory/
filter class=solr.LowerCaseFilterFactory/
/analyzer
/fieldType
Hi,
I'm curious about the use of the key option with regard to facets. I've
been treating it as a way to alias fields and queries in order to simplify
processing of result sets and generally make them more readable. However it
seems that the alias is not respected when setting mincount, sort,
Hi, all,
I am working on a distributed searching system. Now I have one server only.
It has to crawl pages from the Web, generate indexes locally and respond
users' queries. I think this is too busy for it to work smoothly.
I plan to use two servers at at least. The jobs to crawl pages and
On Tue, Nov 16, 2010 at 10:28 PM, Chamnap Chhorn
chamnapchh...@gmail.com wrote:
I have one question related to single word token with dismax query. In order
to be found I need to add the quote around the search query all the time.
This is quite hard for me to do since it is part of full text
That sounds like a great option, and it will also free some storage space on
that sever (now each index is about 130GB).
Other than the lock policy (we use single), any other things to look out to?
Thanks
ב-19 בנוב 2010, בשעה 05:30, Lance Norskog goks...@gmail.com כתב/ה:
If they are on the same
But with above configuration i am not getting any
results.Can anybody has idea.
class=solr.StrField should be replaced with class=solr.TextField
Hi,
This problem is usually because your custom Transformer is in the
solr/lib folder, when it needs to be in the webapps .war file (under
WEB-INF/lib of course).
Place your custom Transformer in a .jar in your .war and you should be
good to go.
Thanks,
Peter
Subject:
RE:
Hi
Is possible to export one set of documents indexed in one solr server for do
a sincronization with other solr server?
Thank's
Hi, all,
Since I didn't find that Lucene presents updated indexes to us, may I
transmit indexes in the following way?
1) One indexing machine, A, is busy with generating indexes;
2) After a certain time, the indexing process is terminated;
3) Then, the new indexes are transmitted to machines
On Fri, Nov 19, 2010 at 10:33 PM, Anderson vasconcelos
anderson.v...@gmail.com wrote:
Hi
Is possible to export one set of documents indexed in one solr server for do
a sincronization with other solr server?
Yes. The easiest way probably is to set up replication:
On Fri, Nov 19, 2010 at 10:53 PM, Bing Li lbl...@gmail.com wrote:
Hi, all,
Since I didn't find that Lucene presents updated indexes to us, may I
transmit indexes in the following way?
1) One indexing machine, A, is busy with generating indexes;
2) After a certain time, the indexing process
Thanks so much, Gora!
What do you mean by appending? If you mean adding to an existing index
(on reindexing, this would normally mean an update for an existing Solr
document ID, and a create for a new Solr document ID), the best way
probably is not to delete the index on the master server (what
On Fri, Nov 19, 2010 at 11:39 PM, Bing Li lbl...@gmail.com wrote:
[...]
When updates are replicated to slave servers, it is supposed that the
updates are merged with the existing indexes and readings on them can be
done concurrently. If so, the queries must be responded instantly. That's
what
You haven't said what version of Solr you're using, but you're
asking about replication, which is built-in.
See: http://wiki.apache.org/solr/SolrReplication
And no, your slave doesn't block while the update is happening,
and it automatically switches to the updated index upon
successful
Dear Erick,
Thanks so much for your help! I am new in Solr. So I have no idea about the
version.
But I wonder what are the differences between Solr and Hadoop? It seems that
Solr has done the same as what Hadoop promises.
Best,
Bing
On Sat, Nov 20, 2010 at 2:28 AM, Erick Erickson
Thanks Erick.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Meaning-of-avgTimePerRequest-avgRequestsPerSecond-in-SOLR-stats-page-tp1922692p1932275.html
Sent from the Solr - User mailing list archive at Nabble.com.
On Sat, Nov 20, 2010 at 12:05 AM, Bing Li lbl...@gmail.com wrote:
Dear Erick,
Thanks so much for your help! I am new in Solr. So I have no idea about the
version.
The solr/admin/registry.jsp URL on your local Solr installation should show
you the version at the top.
But I wonder what are
Hi, Gora,
No, I really wonder if Solr is based on Hadoop?
Hadoop is efficient when using on search engines since it is suitable to the
write-once-read-many model. After reading your emails, it looks like Solr's
distributed file system does the same thing. Both of them are good for
searching
On Sat, Nov 20, 2010 at 12:39 AM, Bing Li lbl...@gmail.com wrote:
Hi, Gora,
No, I really wonder if Solr is based on Hadoop?
As far as I know, no it it isn't.
Hadoop is efficient when using on search engines since it is suitable to the
write-once-read-many model. After reading your emails,
Hi Ahmet,
The below is my previous configuration which use to work correctly.
searchComponent name=spellcheck class=solr.SpellCheckComponent
str name=queryAnalyzerFieldTypetextSpell/str
lst name=spellchecker
str name=namedefault/str
str name=fieldsearchFields/str
str
Hi,
I am new to the lucene/solr. I have a very general question, and hope to
hear your recommendation.
Do you need a middleware/module between your search client and solr server?
The response message is very solr specific. Do you need to translate it to
application object model and return
Hello Erick,
I guess I'm the one asking for pardon - but sure not you! It seems,
you're first guess could already be the correct one. Disc space IS kind
of short and I believe it could have run out; since Solr is performing a
rollback after the failure, I didn't notice (beside the fact that
On Sat, Nov 20, 2010 at 2:28 AM, cyang2010 ysxsu...@hotmail.com wrote:
[...]
Do you need a middleware/module between your search client and solr server?
The response message is very solr specific. Do you need to translate it to
application object model and return back to search client? In
You might be able to skip on a front-end to solr by making extensive use
of XSL to format the results, but there are several other arguments
putting code in front of solr (e.g. saved searches, custom sorting,
result-level embedded actions, etc..)
Cheers,
Dan
On 11/19/2010 01:58 PM, cyang2010
: The wiki on facet.limit
: (http://wiki.apache.org/solr/SimpleFacetParameters#facet.limit) says
: This parameter can be specified on a per field basis to indicate a
: separate limit for certain fields. But it is not specified how to
: specify a specific field. How do you do this?
it's explained
: Subject: DIH full-import failure, no real error message
: References: aanlktinqsw22n0vj7at3nbx4=ocmdesjq=q0y+rbp...@mail.gmail.com
: In-Reply-To: aanlktinqsw22n0vj7at3nbx4=ocmdesjq=q0y+rbp...@mail.gmail.com
http://people.apache.org/~hossman/#threadhijack
Thread Hijacking on Mailing Lists
When
The below is my previous configuration which use to work
correctly.
searchComponent name=spellcheck
class=solr.SpellCheckComponent
str
name=queryAnalyzerFieldTypetextSpell/str
lst name=spellchecker
str name=namedefault/str
str name=fieldsearchFields/str
str
Yes, I noticed just after sending the message.
My apologies!
Best,
Erik
Am 20.11.2010 um 00:32 schrieb Chris Hostetter hossman_luc...@fucit.org:
: Subject: DIH full-import failure, no real error message
: References: aanlktinqsw22n0vj7at3nbx4=ocmdesjq=q0y+rbp...@mail.gmail.com
:
Hi,
I setup a Solr infrastructure a couple of months ago. So far the system has
worked well but I am occasionally getting stuck in loops where I keep
getting 500's returned for commits.
my Tomcat Catalina logs on the Solr master show the following issue:
Nov 14, 2010 2:41:46 AM
Wow, i never know this syntax before. What's that called?
On 11/19/10, Yonik Seeley yo...@lucidimagination.com wrote:
On Tue, Nov 16, 2010 at 10:28 PM, Chamnap Chhorn
chamnapchh...@gmail.com wrote:
I have one question related to single word token with dismax query. In
order
to be found I
On Fri, Nov 19, 2010 at 9:41 PM, Chamnap Chhorn chamnapchh...@gmail.com wrote:
Wow, i never know this syntax before. What's that called?
I dubbed it local params since it adds local info to a parameter
(think extra metadata, like XML attributes on an element).
Erick Erickson erickerick...@gmail.com writes:
Thanks for your reply.
I failed incorporate the IKAnalyzer[1] into solr-trunk,
so I am now using solr 1.4.1 + field collapsing patch[2].
It works fine.
[1] http://code.google.com/p/ik-analyzer/
[2] https://issues.apache.org/jira/browse/SOLR-236
39 matches
Mail list logo