Understanding the Solr Admin page

2013-04-07 Thread Dotan Cohen
I am expanding my Solr skills and would like to understand the Admin page better. I understand that understanding Java memory management and Java memory options will help me, and I am reading and experimenting on that front, but if there are any concise resources that are especially pertinent to So

Re: Flow Chart of Solr

2013-04-07 Thread Lance Norskog
Seconded. Single-stepping really is the best way to follow the logic chains and see how the data mutates. On 04/05/2013 06:36 AM, Erick Erickson wrote: Then there's my lazy method. Fire up the IDE and find a test case that looks close to something you want to understand further. Step through it

Re: Does solr cloud support rename or swap function for collection?

2013-04-07 Thread Mark Miller
It's pretty simple - just as Brad said, it's just http://localhost:8983/solr/admin/collections?action=CREATEALIAS&name=alias&collections=collection1,collection2,… You also have action=DELETEALIAS CREATEALIAS will create and update. For update requests, you only want a 1to1 alias. For read reque

Token Stream with Offsets (Token Sources class)

2013-04-07 Thread vempap
Hi, I've the following snippet code where I'm trying to extract weighted span terms from the query (I do have term vectors enabled on the fields): File path = new File( ""); FSDirectory directory = FSDirectory.open(path);

Re: Time estimate Solr Installation

2013-04-07 Thread Gruxter
Thanks Jan, you helped me a great deal with such estimate! Your estimate does seem in line with what one of the freelancers quoted. Basically i explained to him something similar to what i mention above and he mentioned it seemed quite straight forward. He said that for the server set up, it wo

Re: Time estimate Solr Installation

2013-04-07 Thread Jan Høydahl
Your description here would not be enough to give a detailed offer. If you pointed us to your freelancer job description, perhaps it would be easier to compare. But from your description, it would definitely be possible to get solr with a tuned schema and db import up during the first day, and

Re: Does solr cloud support rename or swap function for collection?

2013-04-07 Thread Tim Vaillancourt
I aim to use this feature in more in testing soon. I'll be sure to doc what I can. Cheers, Tim On 07/04/13 12:28 PM, Mark Miller wrote: On Apr 7, 2013, at 9:44 AM, bradhill99 wrote: Thanks Mark for this great feature but I suggest you can update the wiki too. Yeah, I've stopped updating

query regarding spell suggestions for multiple word query

2013-04-07 Thread Rohan Thakur
hi all I wanted to know how can I generate spell suggestion for more than one word query my suggestions are working well for single word correction but when I pass more then one word query and any one of them is correct and other is wrong spelled the sentence is showns as correct and the results a

Re: Does solr cloud support rename or swap function for collection?

2013-04-07 Thread Mark Miller
On Apr 7, 2013, at 9:44 AM, bradhill99 wrote: > Thanks Mark for this great feature but I suggest you can update the wiki > too. Yeah, I've stopped updating the wiki for a while now looking back - paralysis on how to handle versions (I didn't want to do the std 'this applies to 4.1', 'this ap

Time estimate Solr Installation

2013-04-07 Thread Gruxter
Hi all, I hope this is teh right place to post this. I want to use Apache Solr search for my website, which runs in php. I have a table that has about 150.000 news (records) in a Mysql table and i would like to do a basic olr installation to search in these news. Basically i am looking for this

Re: Solr metrics in Codahale metrics and Graphite?

2013-04-07 Thread Alan Woodward
I've been thinking about how to improve this reporting, especially now that metrics-3 (which removes all of the funky thread issues we ran into last time I tried to add it to Solr) is close to release. I think we could go about it as follows: * refactor the existing JMX reporting to use metric

Re: Boost parameter with query function - how to pass in complex params?

2013-04-07 Thread Yonik Seeley
On Sun, Apr 7, 2013 at 10:11 AM, dc tech wrote: > Yonik: > Pasted the wrong URL as I was trying various things. > > I did not work with OR > http://localhost:8983/solr/cars/select?fl=text,score&defType=edismax&q=suv&boost=query($boostq,1)&boostq=toyota%20OR%20honda&debug=true > > See dumps below.

Re: Does solr cloud support rename or swap function for collection?

2013-04-07 Thread Upayavira
Thx, very useful. On Sun, Apr 7, 2013, at 02:44 PM, bradhill99 wrote: > I think the api is : > http://localhost:8983/solr/admin/collections?action=CREATEALIAS&name=alias&collections=collection1,collection2,... > > And you can do query like: > http://localhost:8983/solr/alias/select?... And it wi

Re: Boost parameter with query function - how to pass in complex params?

2013-04-07 Thread dc tech
Yonik: Pasted the wrong URL as I was trying various things. I did not work with OR http://localhost:8983/solr/cars/select?fl=text,score&defType=edismax&q=suv&boost=query($boostq,1)&boostq=toyota%20OR%20honda&debug=true See dumps below. Many thanks. INPUT 0 882 toyota OR honda text,score suv

FYI - Excel to generate schema and SolrConfig

2013-04-07 Thread dc tech
To minimize my own typing when setting up SOLR schema or config, I created a simple Excel that can reduce the amount of typing that is required. Please feel free to use it if you find it useful. solr_schema_shared.xlsx Description: application/vnd.openxmlformats-officedocument.spreadsheetml.shee

Re: Does solr cloud support rename or swap function for collection?

2013-04-07 Thread bradhill99
I think the api is : http://localhost:8983/solr/admin/collections?action=CREATEALIAS&name=alias&collections=collection1,collection2,... And you can do query like: http://localhost:8983/solr/alias/select?... And it will query collection1 and collection2. I tried it using solr 4.2.1, it works. Th

Re: Boost parameter with query function - how to pass in complex params?

2013-04-07 Thread Yonik Seeley
On Sun, Apr 7, 2013 at 8:39 AM, dc tech wrote: > Yonik, > Many thanks. > The OR is still not working... here is the full URL > 1. Honda or Toyota individually work > http://localhost:8983/solr/cars/select?fl=text,score&defType=edismax&q=suv&boost=query($boostq,1)&boostq=honda > http://localhost:89

Re: Boost parameter with query function - how to pass in complex params?

2013-04-07 Thread dc tech
Yonik, Many thanks. The OR is still not working... here is the full URL 1. Honda or Toyota individually work http://localhost:8983/solr/cars/select?fl=text,score&defType=edismax&q=suv&boost=query($boostq,1)&boostq=honda http://localhost:8983/solr/cars/select?fl=text,score&defType=edismax&q=suv&boos

Slow qTime for distributed search

2013-04-07 Thread Manuel Le Normand
Hello After performing a benchmark session on small scale i moved to a full scale on 16 quad core servers. Observations at small scale gave me excellent qTime (about 150 ms) with up to 2 servers, showing my searching thread was mainly cpu bounded. My query set is not faceted. Growing to full scale

Re: Does solr cloud support rename or swap function for collection?

2013-04-07 Thread Upayavira
Mark, have hunted, but not found docs for this feature. Can you point me at something? It is a very useful feature. Thx!! Upayavira On Sun, Apr 7, 2013, at 12:22 AM, Mark Miller wrote: > 4.2 and 4.2.1 have collection aliasing (similar to what we had with > SolrCore aliasing at one point). You ca