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 wrote:
In my app,I want to search numdocs for some queries. I see SolrIndexSearcher
has two methods:
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 ot
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 handler
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 fa
Hi,
I configured search request handler as shown below.
explicit
I am submitting the below query for search.
http://localhost:8680/solr/catalogSearch/select?facet=true&spellcheck=true&indent=on&omitHeader=true&stats.field=sal_amt&stats.field=volume&stats=true&wt=xml&q=prod_
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.
>
>
>
>
> explicit
>
>
> I am submitting the below query for search.
>
> http://localhost:8680/solr/catalogSearch/select?facet=true&spellcheck=true&indent=on&omitHe
Hi,
I am using a string filed with below configuration.
One of the filed is using the fields type as "cat_string". I am using this
as facet and i am searching on that field .While searching i need case
insensitive search.
Let us say cat:"Games" or ca
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 genera
On Tue, Nov 16, 2010 at 10:28 PM, Chamnap Chhorn
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 search.
>
> Here is my
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 כתב/ה:
If they are on the same server, you do no
> 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: DataImportHandler
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 wh
On Fri, Nov 19, 2010 at 10:33 PM, Anderson vasconcelos
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:
http://wiki.apache.org/solr/SolrReplication
However
On Fri, Nov 19, 2010 at 10:53 PM, Bing Li 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 is termi
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 yo
On Fri, Nov 19, 2010 at 11:39 PM, Bing Li 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 I mean "appen
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 replicatio
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 wrote:
> You
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 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 the difference
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 large
On Sat, Nov 20, 2010 at 12:39 AM, Bing Li 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, it looks like
Hi Ahmet,
The below is my previous configuration which use to work correctly.
textSpell
default
searchFields
/solr/qa/tradedata/spellchecker
true
We use to search only in one field which is "searchFields" but with
implementing dismax we are searching in different fields like
titl
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 b
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 t
On Sat, Nov 20, 2010 at 2:28 AM, cyang2010 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 that case, i
> am t
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:
: In-Reply-To:
http://people.apache.org/~hossman/#threadhijack
Thread Hijacking on Mailing Lists
When starting a new discussion on a mailing list, please do not reply to
an existing message, instead start a fresh email.
> The below is my previous configuration which use to work
> correctly.
>
> class="solr.SpellCheckComponent">
> name="queryAnalyzerFieldType">textSpell
>
> default
> searchFields
> name="spellcheckIndexDir">/solr/qa/tradedata/spellchecker
> true
>
>
>
> We use to search only in o
Yes, I noticed just after sending the message.
My apologies!
Best,
Erik
Am 20.11.2010 um 00:32 schrieb Chris Hostetter :
>
> : Subject: DIH full-import failure, no real error message
> : References:
> : In-Reply-To:
>
> http://people.apache.org/~hossman/#threadhijack
> Thread Hijacking on M
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 org.apache.solr
Wow, i never know this syntax before. What's that called?
On 11/19/10, Yonik Seeley wrote:
> On Tue, Nov 16, 2010 at 10:28 PM, Chamnap Chhorn
> 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
On Fri, Nov 19, 2010 at 9:41 PM, Chamnap Chhorn 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).
http://wiki.apache.org/solr/LocalParams
It's used most
Erick Erickson 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
> It's already in trunk, s
39 matches
Mail list logo