Re: summing facets on a specific field

2012-02-09 Thread Paul Kapla
Hi Johannes, Yeah, I could make it world although it would nice if there was a way to plug in an aggregation function especially with this nice pivoting in 4.0. Do you know if there an easy way with the stats component to tell it to bring back only one of those values (ie. sum) back, kinda like the

Re:Re: solr search speed is so slow.

2012-02-09 Thread Rong Kang
Thanks for your reply. I didn't use any other params except q(for example http://localhost:8080/solr/search?q=drugs). no facet, no sort. I don't think configure newSearcher or firstSearcher can help, because I want every query can be very fast. Do you have other solution? I think 460ms is too

Re: Weighting categories

2012-02-09 Thread Chris Hostetter
if your goal is to say documents from certain categories should score higher then documents from other categories, regardless of what the query is, then you should review... http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_increase_the_score_for_specific_documents http://wiki.apache.org/s

Re: solr search speed is so slow.

2012-02-09 Thread Chris Hostetter
: field, than you could use a warming query like the following: : : : : common query : title description author : category:books : title_sort asc : dismax : : ...it's improtant to remember that if params like your defType and qf (and sort and facet.field and fq etc...) are alrea

Re: solr search speed is so slow.

2012-02-09 Thread Chris Hostetter
: When I first search one word in solr . its response time is 460ms. When : I search the same word the second time. its response time is under 70ms. : I can't tolerate 460ms . Does anyone know how to improve performance? tell us more about the query itself -- what params did you use? did you

Re: custom TokenFilter

2012-02-09 Thread Jamie Johnson
Think I figured it out, the tokens just needed the same position attribute. On Thu, Feb 9, 2012 at 10:38 PM, Jamie Johnson wrote: > Thanks Robert, worked perfect for the index side of the house.  Now on > the query side I have a similar Tokenizer, but it's not operating > quite the way I want it

Re: How to do this in Solr? random result for the first few results

2012-02-09 Thread Chris Hostetter
: ok i was looking at RandomSortField and got confused by "As long as the : index version remains unchanged, and the same field name is reused, the : ordering of the docs will be consistent. " So does that mean it's not really : random if I'm hitting an index which doesn't have an update for a whi

Re: custom TokenFilter

2012-02-09 Thread Jamie Johnson
Thanks Robert, worked perfect for the index side of the house. Now on the query side I have a similar Tokenizer, but it's not operating quite the way I want it to. The query tokenizer generates the tokens properly except I'm ending up with a phrase query, i.e. field:"1 2 3 4" when I really want f

Re: custom TokenFilter

2012-02-09 Thread Robert Muir
On Thu, Feb 9, 2012 at 8:54 PM, Jamie Johnson wrote: > Again thanks.  I'll take a stab at that are you aware of any > resources/examples of how to do this?  I figured I'd start with > WhiteSpaceTokenizer but wasn't sure if there was a simpler place to > start. > Well, easiest is if you can build

Re: custom TokenFilter

2012-02-09 Thread Jamie Johnson
Again thanks. I'll take a stab at that are you aware of any resources/examples of how to do this? I figured I'd start with WhiteSpaceTokenizer but wasn't sure if there was a simpler place to start. On Thu, Feb 9, 2012 at 8:44 PM, Robert Muir wrote: > On Thu, Feb 9, 2012 at 8:28 PM, Jamie Johnso

Re: custom TokenFilter

2012-02-09 Thread Robert Muir
On Thu, Feb 9, 2012 at 8:28 PM, Jamie Johnson wrote: > Thanks Robert, I'll take a look there.  Does it sound like I'm on the > right the right track with what I'm implementing, in other words is a > TokenFilter appropriate or is there something else that would be a > better fit for what I've descr

Re: custom TokenFilter

2012-02-09 Thread Jamie Johnson
Thanks Robert, I'll take a look there. Does it sound like I'm on the right the right track with what I'm implementing, in other words is a TokenFilter appropriate or is there something else that would be a better fit for what I've described? On Thu, Feb 9, 2012 at 6:44 PM, Robert Muir wrote: > I

Re: How to do this in Solr? random result for the first few results

2012-02-09 Thread mtheone
ok i was looking at RandomSortField and got confused by "As long as the index version remains unchanged, and the same field name is reused, the ordering of the docs will be consistent. " So does that mean it's not really random if I'm hitting an index which doesn't have an update for a while? --

Re: Empty results with OR filter query

2012-02-09 Thread Erik Hatcher
On Feb 9, 2012, at 20:11 , Steven Ou wrote: > Sorry, what do you mean "explicit category rather than boolean expression"? q=category_ids_im:634 for example. Just to get an idea of what matches each category. > Type was not changed midstream - hasn't really been changed ever, really. > And I h

Re: Empty results with OR filter query

2012-02-09 Thread Steven Ou
Sorry, what do you mean "explicit category rather than boolean expression"? Type was not changed midstream - hasn't really been changed ever, really. And I happen to have *just* reindexed, too. Don't seem to have a default operator set. Not sure how to do it, either...? -- Steven Ou | 歐偉凡 *ravn.

Re: How to do this in Solr? random result for the first few results

2012-02-09 Thread mtheone
I'd rather boost premium ads rather than go the way of elevation. @wunder i think I'll go with your suggestion, thanks all -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-do-this-in-Solr-random-result-for-the-first-few-results-tp3728729p3731393.html Sent from the Solr

Re: Empty results with OR filter query

2012-02-09 Thread Erik Hatcher
Extremely odd. Hmmm... other things to try: * query on an explicit category, rather than in a boolean expression * try a different field type than sint (say just int, or string) * shouldn't matter (since you're using "OR" explicitly) but double check the default operator in schema.xml *

Re: Empty results with OR filter query

2012-02-09 Thread Steven Ou
I'm really sorry to be spamming everyone. I know I've sent out a ton of emails, but I ran it without *any* other filters (just solr/select?q=category_ids_im:(637+OR+639+OR+634)&debugQuery=true) and here's the debug. This produces 1 result only. Removing category 634 produces 11 results. Can anyone

Re: Empty results with OR filter query

2012-02-09 Thread Steven Ou
Actually, I take that back. Using q instead of fq still produces the same problem. Somehow it's *less* inconsistent so at first glance it looked like it fixed it. However, it does *not* fix it :( -- Steven Ou | 歐偉凡 *ravn.com* | Chief Technology Officer steve...@gmail.com | +1 909-569-9880 On Thu

Re: Empty results with OR filter query

2012-02-09 Thread Steven Ou
Well, keeping all other filter queries the same, changing fq= category_ids_im:(637+OR+639) to fq=category_ids_im:(637+OR+639+OR+634) causes results to not show up. In fact, I took out *all* other filter queries. And while I wasn't able to reproduce it exactly, nonetheless when I added the third ca

Re: Range facet - Count in facet menu != Count in search results

2012-02-09 Thread Jan Høydahl
Hi, If you use trunk (4.0) version, you can say fq=price:[10 TO 20} and have the upper bound be exclusive. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com On 10. feb. 2012, at 00:58, Yuhao wrote: > I've changed the "facet.range.in

Re: Empty results with OR filter query

2012-02-09 Thread Erik Hatcher
Yes, certainly should work fine as a filter query... I was merely trying to eliminate variables from the equation. You've got several filters and a q=*:* going on below, so it's obviously harder to pinpoint what could be going wrong. I suggest continuing to eliminate variables here, as more th

Re: Empty results with OR filter query

2012-02-09 Thread Steven Ou
By turning fq=category_ids_im:(637+OR+639+OR+634) to q=category_ids_im:(637+OR+639+OR+634) it appears to produce the correct results. But... that doesn't seem to make sense to me? Shouldn't it work just fine as a filter query? -- Steven Ou | 歐偉凡 *ravn.com* | Chief Technology Officer steve...@gmail

Re: Empty results with OR filter query

2012-02-09 Thread Steven Ou
I don't really know how to analyze the debug output... Here it is for the full query I'm running, which includes other filter queries. *:* *:* MatchAllDocsQuery(*:*) *:* LuceneQParser type:Event displayable_b:true category_ids_im:(637 OR 639 OR 634) end_datetime_dt:[2012\-02\-10T00\:17\:52Z TO

Re: Empty results with OR filter query

2012-02-09 Thread Steven Ou
Heh, yeah, I bolded the numbers for emphasis. The field type follows. *Dynamically Created From Pattern: **_IM *Field Type: *SINT *Schema: *Indexed, Multivalued, Omit Norms *Index: *(unstored fiel

Re: Empty results with OR filter query

2012-02-09 Thread Erik Hatcher
What type of field is category_ids_im? And I'm assuming that the *'s below are for emphasis and not really in your query? Try your query in the q parameter and turn on debug (&debugQuery=true) and see how your query is parsing. That'll likely tell all. Erik On Feb 9, 2012, at 18:42 ,

Range facet - Count in facet menu != Count in search results

2012-02-09 Thread Yuhao
I've changed the "facet.range.include" option to every possible value (lower, upper, edge, outer, all)**.  It only changes the count shown in the "Ranges" facet menu on the left.  It has no effect on the count and results shown in search results, which ALWAYS is inclusive of both the lower AND u

Re: custom TokenFilter

2012-02-09 Thread Robert Muir
If you are writing a custom tokenstream, I recommend using some of the resources in Lucene's test-framework.jar to test it. These find lots of bugs! (including thread-safety bugs) For a filter: I recommend to use the assertions in BaseTokenStreamTestCase: assertTokenStreamContents, assertAnalyzesT

Empty results with OR filter query

2012-02-09 Thread Steven Ou
Hey guys, I'm stumped - hope someone can help! Basically, I'm running a filter query that filters by category (e.g. fq=category_ids_im:(637 OR 639 OR 634)). However, it often produces no results whatsoever even though each individual query *does* produce results. So, for example, fq=category_ids_

indexing with DIH (and with problems)

2012-02-09 Thread alessio crisantemi
hi all, I would index on solr my pdf files wich includeds on my directory c:\myfile\ so, I add on my solr/conf directory the file data-config.xml like the following: before, I add this part into solr-config.xml: c:\solr\conf\data-config.xml but this is the r

RE: regular expression in solrcore.config to be passed to dataConfig via DataImportHandler

2012-02-09 Thread Dyer, James
I wouldn't feel too bad about this. This is a pretty common gotcha and going forward it would be nice if we can make it easier to parameterize data-config.xml... James Dyer E-Commerce Systems Ingram Content Group (615) 213-4311 -Original Message- From: Zajkowski, Radoslaw [mailto:rado

RE: regular expression in solrcore.config to be passed to dataConfig via DataImportHandler

2012-02-09 Thread Zajkowski, Radoslaw
Nevermind everybody, you're with stupid, the correct way to access these vars is to prefix with dataimporter.request Got the answer here earlier today: http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201008.mbox/%3c9f8b39cb3b7c6d4594293ea29ccf438b01702...@icq-mail.icq.il.office.aol.com

regular expression in solrcore.config to be passed to dataConfig via DataImportHandler

2012-02-09 Thread Zajkowski, Radoslaw
Hi, I have a good number of files which will be broken into a dozen + cores. To make config management easier I have been using global xml files and passing settings to them as needed. My settings reside in solrcore.config and are passed to solr config and dataConfig as default values of the da

Specify a cores roles through core add command

2012-02-09 Thread Jamie Johnson
per SOLR-2765 we can add roles to specific cores such that it's possible to give custom roles to solr instances, is it possible to specify this when adding a core through curl 'http://host:port/solr/admin/cores...'? https://issues.apache.org/jira/browse/SOLR-2765

correct usage of StreamingUpdateSolrServer?

2012-02-09 Thread T Vinod Gupta
Hi, I wrote a hello world program to add documents to solr server. When I use CommonsHttpSolrServer, the program exits but when I use StreamingUpdateSolrServer, the program never exits. And I couldn't find a way to close it? Are there any best practices here? Do I have to do anything differently at

Keyword Tokenizer Phrase Issue

2012-02-09 Thread Zac Smith
Hi, I have a simple field type that uses the KeywordTokenizerFactory. I would like to use this so that values in this field are only matched with the full text of the field. e.g. If I indexed the text 'chicken stock', searches on this field would only match when searching for 'chicken stock'. I

Re: SolrCloud on Trunk shard update error

2012-02-09 Thread Jamie Johnson
There is more, but it was lost since I was doing so many inserts. The issue looks like it's getting thrown by a custom FilterFactory I have and is completely unrelated to SolrCloud. I am trying to confirm now though. On Thu, Feb 9, 2012 at 3:03 PM, Mark Miller wrote: > Is that the entire stack

Re: SolrCloud on Trunk shard update error

2012-02-09 Thread Mark Miller
Is that the entire stack trace - no other exception logged? On Feb 9, 2012, at 2:44 PM, Jamie Johnson wrote: > I just ran a test with a very modest cluster (exactly the same as > http://outerthought.org/blog/491-ot.html). I then indexed 10,000 > documents into the cluster. From what I can tell

SolrCloud on Trunk shard update error

2012-02-09 Thread Jamie Johnson
I just ran a test with a very modest cluster (exactly the same as http://outerthought.org/blog/491-ot.html). I then indexed 10,000 documents into the cluster. From what I can tell everything worked properly but I'm seeing the following errors in the logs. I'm randomly choosing the solr instance

RE: spell checking and filtering in the same query

2012-02-09 Thread Dyer, James
Mark, I'm not as familiar with the Suggester, but with normal spellcheck if you set "spellcheck.maxCollationTries" to something greater than 0 it will check the collations with the index. This checking includes any "fq" params you had. So in this sense the SpellCheckComponent does work with "

Re: Geospatial search with multivalued field

2012-02-09 Thread Mikhail Khludnev
Some time ago I tested backported patch from https://issues.apache.org/jira/browse/SOLR-2155 it works. Regards On Thu, Feb 9, 2012 at 6:36 PM, Marian Steinbach wrote: > Hi! > > I'm trying to figure out how to enable spatial search for my use case. > > I have documents that are in many cases ass

Re: Improving performance for SOLR geo queries?

2012-02-09 Thread Yonik Seeley
2012/2/9 Matthias Käppler : > > {!bbox cache=false d=50 sfield=location_ll pt=54.1434,-0.452322} > > > > WrappedQuery({!cache=false > cost=0}+location_ll_0_coordinate:[53.69373983225355 TO > 54.59306016774645] +location_ll_1_coordinate:[-1.2199462259963294 TO > 0.31530222599632934]) > > Yep,

Re: Help:Solr can't put all pdf files into index

2012-02-09 Thread Erick Erickson
Tika is not guaranteed to be able to parse any PDF file that can be read. There are significant differences in how pdf files are constructed by different "compatible" vendors, and the reader is quite forgiving about still displaying them. Sometimes you can get around this by re-writing the PDF wit

Re: Index Start Question

2012-02-09 Thread Erick Erickson
Hmmm. You say: "The DBA opens a command line prompt and initiates an index build/rebuild" How? By issuing a curl command? Running a program? It seems to me that the easiest thing to do here would be to create a small program that kicks off the indexing process and have *that* program send the e-m

Re: Zookeeper view not displaying on latest trunk

2012-02-09 Thread Mark Miller
On Feb 9, 2012, at 12:09 PM, Jamie Johnson wrote: > To get this to work I had to modify my solr.xml to add a > defaultCoreName, then everything worked fine on the old interface > (/solr/admin). The new interface was still unhappy and looking at the > response that comes back I see the following

Re: struggling with solr.WordDelimiterFilterFactory and periods "." or dots

2012-02-09 Thread Erick Erickson
Hmmm, Try looking at either anything you've done in solrconfig.xml where to the request handler (probably called "search") with default="true" set. Or does your field in schema.xml have anything like autoGeneratePhraseQueries="true" in it? Best Erick On Thu, Feb 9, 2012 at 12:02 PM, geeky2 wrot

RE: Help:Solr can't put all pdf files into index

2012-02-09 Thread Vivek Shrivastava
I think you might need to figure out what files are not coming in the index, and see if you can find command pattern in those files. Since these are pdf files, please make sure the file's security settings allow content extraction etc.. Regards, Vivek -Original Message- From: 荣康 [mai

Re: Zookeeper view not displaying on latest trunk

2012-02-09 Thread Jamie Johnson
To get this to work I had to modify my solr.xml to add a defaultCoreName, then everything worked fine on the old interface (/solr/admin). The new interface was still unhappy and looking at the response that comes back I see the following {"status": 404, "error" : "Zookeeper is not configured for

Re: struggling with solr.WordDelimiterFilterFactory and periods "." or dots

2012-02-09 Thread geeky2
>> OK, first question is why are you searching on two different values? Is that intentional? << yes - our users have to be able to locate a part or model number (that may or may not have periods in that number) even if they do NOT enter the number with the embedded periods. example: actual

Re: Help:Solr can't put all pdf files into index

2012-02-09 Thread Michael Kuhlmann
I don't know much about Tika, but this seems to be a bug in PDFBox. See: https://issues.apache.org/jira/browse/PDFBOX-797 Yoz might also have a look at this: http://stackoverflow.com/questions/7489206/error-while-parsing-binary-files-mostly-pdf At least that's what I found when I googled the

Re:Re: Help:Solr can't put all pdf files into index

2012-02-09 Thread Rong Kang
I test one file that is missing in Solr index. And solr response as below ... 0 1 0 2012-02-10 00:03:23 Indexing completed. Added/Updated: 0 documents. Deleted 0 documents. ..  I see tomcat's log file and find this Exception in entity : tika-test:org.apache.solr.handler.dataimport.DataIm

Re: Wildcard ? issue?

2012-02-09 Thread Erick Erickson
You can pull down 3.5 (aka 3.x) from the nightly build if you want, see: https://builds.apache.org//view/S-Z/view/Solr/job/Solr-3.x/ the "last successful artifacts" link will probably be what you want. Best Erick On Thu, Feb 9, 2012 at 5:35 AM, Dalius Sidlauskas wrote: > Okay, I get it, 3.6 is n

Re: Latest SolrCloud Issue

2012-02-09 Thread Jamie Johnson
done https://issues.apache.org/jira/browse/SOLR-3117 On Thu, Feb 9, 2012 at 11:02 AM, Mark Miller wrote: > > On Feb 9, 2012, at 10:14 AM, Jamie Johnson wrote: > >> So I think the change I made should still be done > > If you create a JIRA issue, I'd be happy to pop it in. > > - Mark Miller > luci

Re: How do i do group by in solr with multiple shards?

2012-02-09 Thread Erick Erickson
You have to provide many more details, particularly what you've tried and what the results have been. For instance, from the Wiki: Grouping is also supported for distributed searches from version Solr3.5 and from version Solr4.0. Currently group.truncate and group.func are the only parameters that

Re: Latest SolrCloud Issue

2012-02-09 Thread Mark Miller
On Feb 9, 2012, at 10:14 AM, Jamie Johnson wrote: > So I think the change I made should still be done If you create a JIRA issue, I'd be happy to pop it in. - Mark Miller lucidimagination.com

Re: Help:Solr can't put all pdf files into index

2012-02-09 Thread Michael Kuhlmann
I'd suggest that you check which documents *exactly* are missing in Solr index. Or find at least one that's missing, and try to figure out how this document differs from the other ones that can be found in Solr. Maybe we can then find out what exact problem there is. Greetings, -Kuli On 09.02

Re: Help:Solr can't put all pdf files into index

2012-02-09 Thread François Schiettecatte
Have you tried checking any logs? Have you tried identifying a file which did not make it in and submitting just that one and seeing what happens? François On Feb 9, 2012, at 10:37 AM, Rong Kang wrote: > > Yes, I put all file in one directory and I have tested file names using > code. >

RE: Index Start Question

2012-02-09 Thread Hoffman, Chase
Erick, My understanding of the process is this: 1. The DBA opens a command line prompt and initiates an index build/rebuild 2. SOLR performs said index build/rebuild 3. Index finishes I don't think we're appending documents to the SOLR index - it's indexing MSSQL tables. The servers these are

Re: Index Start Question

2012-02-09 Thread Erick Erickson
OK, what do you mean by "index is kicked off"? You mean starting Solr or actually adding a document to a running Solr? If the latter, you're probably looking for something like this: Feb 9, 2012 10:34:26 AM org.apache.solr.update.processor.LogUpdateProcessor finish INFO: {add=[eoe32]} 0 6 The imp

Re:Re: Help:Solr can't put all pdf files into index

2012-02-09 Thread Rong Kang
Yes, I put all file in one directory and I have tested file names using code. At 2012-02-09 20:45:49,"Jan Høydahl" wrote: >Hi, > >Are you 100% sure that the filename is globally unique, since you use it as >the uniqueKey? > >-- >Jan Høydahl, search solution architect >Cominvent AS - www.c

Re: struggling with solr.WordDelimiterFilterFactory and periods "." or dots

2012-02-09 Thread Erick Erickson
OK, first question is why are you searching on two different values? Is that intentional? If I'm reading your problem right, you should be able to get/not get any response just by toggling whether the period is in the search URL, right? But assuming that's not the problem, there's something you're

Zookeeper view not displaying on latest trunk

2012-02-09 Thread Jamie Johnson
I'm looking at the latest code on trunk and it seems as if the zookeeper view does not work. When trying to access the information I get the following in the log 2012-02-09 10:28:49.030:WARN::/solr/zookeeper.jsp java.lang.NullPointerException at org.apache.jsp.zookeeper_jsp$ZKPrinter.(o

Re: Latest SolrCloud Issue

2012-02-09 Thread Jamie Johnson
So I think the change I made should still be done, but the issue was on my end missing the '' surrounding the url. After changing that things are moving again. On Thu, Feb 9, 2012 at 9:56 AM, Jamie Johnson wrote: > This morning I pulled the latest code from trunk and was trying to > walk through

Re: How to do this in Solr? random result for the first few results

2012-02-09 Thread Walter Underwood
Or you can do a search for two ads with random ordering, then a second search for ads in the desired order with excludes for the two ads returned in the first. You don't have to do everything inside Solr. wunder Search Guy, Chegg On Feb 9, 2012, at 1:04 AM, Tommaso Teofili wrote: > I think y

Problem Multi word synonyms in solr 3.4

2012-02-09 Thread Pravin Agrawal
Hi All, I am trying to use synonyms in solr 3.4 and facing below issue with multiword synonyms. I am using edismax query parser with following fields in qf and pf qf: name^1.2,name_synonym^0.5 pf: phrase_name^3 The analyzers that I am using for name_synonym is as follows

Re: Which Tokeniser (and/or filter)

2012-02-09 Thread Erick Erickson
Give it a try. I was surprised the first time I tried ngramming, the actual increase in my index size was much less than I feared. Best Erick On Wed, Feb 8, 2012 at 11:41 AM, Robert Brown wrote: > Attempting to re-produce legacy behaviour (i know!) of simple SQL > substring searching, with and w

Geospatial search with multivalued field

2012-02-09 Thread Marian Steinbach
Hi! I'm trying to figure out how to enable spatial search for my use case. I have documents that are in many cases associated with multiple geo locations. I'd like to filter documents by the minimum distance to a reference point (which is given at query time). What this means is: If at least one

Re: multiple cores in a single instance vs multiple instances with single core

2012-02-09 Thread Mark Miller
On Feb 8, 2012, at 10:14 PM, Jamie Johnson wrote: > Thanks Mark, in regards to failover I completely agree, I am wondering more > about performance and memory usage if the indexes are large and wondering > if the separate Java instances under heavy load would more or less > performant. Currently

Re: solr cloud concepts

2012-02-09 Thread Mark Miller
On Feb 8, 2012, at 11:27 PM, Adeel Qureshi wrote: > to > create new collections its not that automated right .. It can be fairly automated...if you have uploaded the configuration sets for both collections, you can basically then create new collections that use one of those configuration sets

spell checking and filtering in the same query

2012-02-09 Thread Mark Swinson
Background: I have an solr index containing foodtypes, chefs, and courses. This is an initial setup to test my configuration. Here is the problem I'm trying to solve : -When I query for a mispelt foodtype 'x' and filter by chef 'c' I should get a suggested list of foodtypes prepared by chef 'c'

Re: Help:Solr can't put all pdf files into index

2012-02-09 Thread Jan Høydahl
Hi, Are you 100% sure that the filename is globally unique, since you use it as the uniqueKey? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com On 9. feb. 2012, at 08:30, 荣康 wrote: > Hey , > I am using solr as my search engine to s

Re:Re: solr search speed is so slow.

2012-02-09 Thread Rong Kang
Thanks, I am trying your method. And do you think 460ms is a long time for my computer(2 cores, 2GB memory)? Regards, Rong Kang At 2012-02-09 18:37:15,"Rafał Kuć" wrote: >Hello! > >I don't know what Your queries will look like, but let's assume that >you will use 3 fields for searching like t

Re: solr search speed is so slow.

2012-02-09 Thread Rafał Kuć
Hello! I don't know what Your queries will look like, but let's assume that you will use 3 fields for searching like title, description and author, you will also filter on category field and sort on title_sort field, than you could use a warming query like the following: common query title

Re: Wildcard ? issue?

2012-02-09 Thread Dalius Sidlauskas
Okay, I get it, 3.6 is not released yet. Thanks for help fellas! Regards! Dalius Sidlauskas On 09/02/12 10:19, Dalius Sidlauskas wrote: It seams it is applicable for Solr 3.6 and 4.0. Mines version is 3.5 Regards! Dalius Sidlauskas On 08/02/12 17:26, Ahmet Arslan wrote: I have already trie

Re: solr cloud concepts

2012-02-09 Thread Bruno Dumon
On Thu, Feb 9, 2012 at 5:27 AM, Adeel Qureshi wrote: > Thanks for the explanation. It makes sense but I am hoping that you can > clarify things a bit more .. > > so now it sounds like in solrcloud the concept of cores have changed a bit > .. as you explained that for me to have 2 cores with differ

Re:Re: solr search speed is so slow.

2012-02-09 Thread 荣康
Hi! Thanks for your reply. I read some material at http://wiki.apache.org/solr/SolrConfigXml#newSearcher , but it doesn't give me some example. Could you tell me how to modify it or give some links about incorporating warming queries ? Regards , Rong Kang At 2012-02-09 18:01:38,"Rafał K

Re: Improving performance for SOLR geo queries?

2012-02-09 Thread Matthias Käppler
Hi Ryan, >>I'm trying to understand how you have your data indexed so we can give >>reasonable direction. >> >>What field type are you using for your locations?  Is it using the >>solr spatial field types?  What do you see when you look at the debug >>information from &debugQuery=true? we query a

Re: Wildcard ? issue?

2012-02-09 Thread Dalius Sidlauskas
It seams it is applicable for Solr 3.6 and 4.0. Mines version is 3.5 Regards! Dalius Sidlauskas On 08/02/12 17:26, Ahmet Arslan wrote: I have already tried this and it did not helped because it does not highlight matches if wild-card is used. The field configuration turns data to: This writeu

Re: solr search speed is so slow.

2012-02-09 Thread 荣康
Hi! Thanks for your reply. I read some material at http://wiki.apache.org/solr/SolrConfigXml#newSearcher , but it doesn't give me some example. Could you tell me how to modify it or give some links about incorporating warming queries ? -- Original -- From:

Re: solr search speed is so slow.

2012-02-09 Thread Rafał Kuć
Hello! You may want to incorporate warming queries to your solrconfig.xml file. Edit the solrconfig.xml file and look for the default warming queries, they are in the following places: and Modify the default ones to match your needs - for example include sorting there, fields you use for searc

Re: linking documents in solr

2012-02-09 Thread Ahmet Arslan
> I have a question around documents linking in solr and want > to know if its > possible. lets say i have a set of blogs and their authors > that i want to > index seperately. is it possible to link a document > describing a blog to > another document describing an author? if yes, can i search > f

solr search speed is so slow.

2012-02-09 Thread 荣康
My solr 's index data size is 1.1GB,and solr only has one core. When I first search one word in solr . its response time is 460ms. When I search the same word the second time. its response time is under 70ms. I can't tolerate 460ms . Does anyone know how to improve performance? My Compute

Re: Sorting solrdocumentlist object after querying

2012-02-09 Thread Tommaso Teofili
Hi Kashif, maybe the field collapsing feature [1] may help you with your requirement. Hope this helps, Tommaso [1] : http://wiki.apache.org/solr/FieldCollapsing

Re: How to do this in Solr? random result for the first few results

2012-02-09 Thread Tommaso Teofili
I think you may use/customize the query elevation component to achieve that. http://wiki.apache.org/solr/QueryElevationComponent Tommaso 2012/2/9 mtheone > Say I have a classified ads site, I want to display 2 random items (premium > ads) in the beginning of the search result and the rest are re

Re: How to do this in Solr? random result for the first few results

2012-02-09 Thread Ahmet Arslan
> Say I have a classified ads site, I > want to display 2 random items (premium > ads) in the beginning of the search result and the rest are > regular ads, how > do I do it? http://wiki.apache.org/solr/QueryElevationComponent is used for paid inclusion.

Re: How to reindex about 10Mio. docs

2012-02-09 Thread Vadim Kisselmann
Hi Otis, thanks for your response:) We had a solution yesterday. It works with an ruby script, curl and saxon/xslt. The performance is great. We moved all the docs in 5-batches to prevent an overload of our machines. Best regards Vadim 2012/2/8 Otis Gospodnetic : > Vadim, > > Would using xsl