Maybe switching to Solr Cores

2012-03-16 Thread Mike Austin
I'm trying to understand the difference between multiple Tomcat indexes using context fragments versus using one application with multiple cores? Since I'm currently using tomcat context fragments to run 7 different indexes, could I get help understanding more why I would want to use solr cores ins

Re: index size with replication

2012-03-15 Thread Mike Austin
but work on *nix so can't personally guarantee it). And replication > won't replicate the stale files, so that's not a problem either > > Best > Erick > > On Wed, Mar 14, 2012 at 11:54 PM, Mike Austin > wrote: > > Shawn, > > > > Thanks for th

Re: Sort by bayesian function for 5 star rating

2012-03-14 Thread Mike Austin
Why don't you just use that formula and calculate the weighted rating for each movie and index that value? sort=wrating desc Maybe I didn't understand your question. mike On Mon, Mar 12, 2012 at 1:38 PM, Zac Smith wrote: > Does anyone have an example formula that can be used to sort by a 5 sta

Re: index size with replication

2012-03-14 Thread Mike Austin
14, 2012 at 6:34 PM, Shawn Heisey wrote: > On 3/14/2012 2:54 PM, Mike Austin wrote: > >> The odd thing is that if I optimize the index it doubles in size.. If I >> then, add one more document to the index it goes back down to half size? >> >> Is there a way to force this

Re: index size with replication

2012-03-14 Thread Mike Austin
Thanks. I might just remove the optimize. I had it planned for once a week but maybe I'll just do it and restart the app if performance slows. On Wed, Mar 14, 2012 at 4:37 PM, Dyer, James wrote: > SOLR-3033 is related to ReplcationHandler's ability to do backups. It > allows you to specify ho

Re: index size with replication

2012-03-14 Thread Mike Austin
ll generate new segments and delete old ones. if your master >> also provides searching service during indexing, the old files may be >> opened by old SolrIndexSearcher. they will be deleted later. So when >> indexing, the index size may double. But a moment later, old indexes will >

Re: index size with replication

2012-03-14 Thread Mike Austin
ing service during indexing, the old files may be > opened by old SolrIndexSearcher. they will be deleted later. So when > indexing, the index size may double. But a moment later, old indexes will > be deleted. > > On Wed, Mar 14, 2012 at 7:06 AM, Mike Austin > wrote: > > >

Solr Memory Usage

2012-03-14 Thread Mike Austin
I'm looking at the solr admin interface site. On the dashboard right panel, I see three sections with size numbers like 227MB(light), 124MB(darker), and 14MB(darkest). I'm on a windows server. Couple questions about what I see in the solr app admin interface: - In the top right section of the d

read only slaves and write only master

2012-03-14 Thread Mike Austin
Is there a way mark a master as write only and the slaves as read only? I guess I could just remove those handlers from the config? Is there a benefit from doing this as far as performance or anything else? Thanks, Mike

index size with replication

2012-03-13 Thread Mike Austin
I have a master with two slaves. For some reason on the master if I do an optimize after indexing on the master it double in size from 42meg to 90 meg.. however, when the slaves replicate they get the 42meg index.. Should the master and slaves always be the same size? Thanks, Mike

What is the latest solr version

2012-03-02 Thread Mike Austin
I've heard some people talk about solr4.. but I only see solr 3.5 available. Thanks

Re: Solr sorting question to boost a certain field first

2012-02-29 Thread Mike Austin
Boom! This works: sort=map(query($qq,-1),0, , 1)+desc,score+desc&qq=domain:domainA Thanks, Mike On Wed, Feb 29, 2012 at 3:45 PM, Mike Austin wrote: > I have content that I index for several different domains. What I'd like > to do is have all search results found for d

Solr sorting question to boost a certain field first

2012-02-29 Thread Mike Austin
I have content that I index for several different domains. What I'd like to do is have all search results found for domainA returned first and results for domainB,C,D..etc.. returned second. I could do two different searches but was wondering if there was a way to only do one query but return res

Re: Running solr on small amounts of RAM

2011-09-14 Thread Mike Austin
Just wanted to follow up and say thanks for all the valuable replies. I'm in the process of testing everything. Thanks, Mike On Mon, Sep 12, 2011 at 1:20 PM, Chris Hostetter wrote: > > Beyond the suggestions already made, i would add: > > a) being really aggressive about stop words can help kee

Re: Running solr on small amounts of RAM

2011-09-09 Thread Mike Austin
or actually disabling caching as mentioned here: http://wiki.apache.org/solr/SolrCaching#Cache_Sizing On Fri, Sep 9, 2011 at 11:48 AM, Mike Austin wrote: > I'm trying to push to get solr used in our environment. I know I could have > responses saying WHY can't you get more RAM

Running solr on small amounts of RAM

2011-09-09 Thread Mike Austin
I'm trying to push to get solr used in our environment. I know I could have responses saying WHY can't you get more RAM etc.., but lets just skip those and work with this situation. Our index is very small with 100k documents and a light load at the moment. If I wanted to use the smallest possible

Re: Solr commit process and read downtime

2011-09-01 Thread Mike Austin
Wow.. thanks for the great answers Erick! This answered my concerns perfectly. Mike On Thu, Sep 1, 2011 at 7:54 AM, Erick Erickson wrote: > See below: > > On Wed, Aug 31, 2011 at 2:16 PM, Mike Austin > wrote: > > I've set up a master slave configuration and it&#

Solr commit process and read downtime

2011-08-31 Thread Mike Austin
I've set up a master slave configuration and it's working great! I know this is the better setup but if I had just one index due to requirements, I'd like to know more about the performance hit of the commit. let's just assume I have a decent size index of a few gig normal sized documents with hig

Re: Solr warming when using master/slave replication

2011-08-29 Thread Mike Austin
Correction: Will traffic be served with a non "warmed" index searcher at any point? Thanks, Mike On Mon, Aug 29, 2011 at 4:52 PM, Mike Austin wrote: > "Distribution/Replication gives you a 'new' index on the slave. When Solr > is told to use the new index, the

Re: Solr warming when using master/slave replication

2011-08-29 Thread Mike Austin
sson wrote: > it's always been my understanding that the caches are discarded, then > rebuilt/warmed: > > > http://wiki.apache.org/solr/SolrCaching#Caching_and_Distribution.2BAC8-Replication > > hth, > rob > > On Mon, Aug 29, 2011 at 5:30 PM, Mike Austin > wro

Solr warming when using master/slave replication

2011-08-29 Thread Mike Austin
How does warming work when a collection is being distributed to a slave. I understand that a temp directory is created and it is eventually copied to the live folder, but what happens to the cache that was built in with the old index? Does the cache get rebuilt, can we warm it before it becomes l

Re: Geo spatial search with multi-valued locations (SOLR-2155 / lucene-spatial-playground)

2011-08-29 Thread Mike Austin
e a "basic" feature that you would use with a standard set of spacial features like what is in solr4 now. Thanks, Mike On Mon, Aug 29, 2011 at 12:38 PM, Darren Govoni wrote: > It doesn't. > > > On 08/29/2011 01:37 PM, Mike Austin wrote: > >> I've been trying t

Geo spatial search with multi-valued locations (SOLR-2155 / lucene-spatial-playground)

2011-08-29 Thread Mike Austin
I've been trying to follow the progress of this and I'm not sure what the current status is. Can someone update me on what is currently in Solr4 and does it support multi-valued location in a single document? I saw that SOLR-2155 was not included and is now lucene-spatial-playground. Thanks, Mik

Re: New IndexSearcher and autowarming

2011-08-26 Thread Mike Austin
es. That should allow you to do what you want, > > > > -Simon > > > > On Fri, Aug 26, 2011 at 11:13 AM, Mike Austin >wrote: > > > >> I would like to have the ability to keep requests from being slowed from > >> new > >> document adds and

New IndexSearcher and autowarming

2011-08-26 Thread Mike Austin
I would like to have the ability to keep requests from being slowed from new document adds and commits by having a separate index that gets updated. Basically a read-only and an updatable index. After the update index has finished updating with new adds and commits, I'd like to switch the update to

RE: Faceted Search!

2007-06-20 Thread Mike Austin
Niraj: What environment are you using? SQL Server/.NET/Windows? or something else? -Mike -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 4:24 PM To: solr-user@lucene.apache.org Subject: Re: Faceted Search! : define the sub-categories.

RE: PriceJunkie.com using solr!

2007-05-23 Thread Mike Austin
ery nice job! > It's fast too. > > -Yonik > > On 5/16/07, Mike Austin <[EMAIL PROTECTED]> wrote: > > I just wanted to say thanks to everyone for the creation of solr. I've > been > > using it for a while now and I have recently brought one of my side > pro

RE: PriceJunkie.com using solr!

2007-05-23 Thread Mike Austin
search and noticed pages were executed through aspx. Are you using .net to parse the xml results from SOLR? Nice site, just trying to figure out where SOLR fits into this. On 5/16/07, Mike Austin <[EMAIL PROTECTED]> wrote: I just wanted to say thanks to everyone for the creation o

PriceJunkie.com using solr!

2007-05-16 Thread Mike Austin
categories - simple xml configuration for the final outputted category configuration file I'm sure there are more cool things but that is all for now. Join the mailing list to see more improvements in the future. Also.. how do I get added to the Using Solr wiki page? Thanks, Mike Austin

RE: Solrsharp feedback

2007-04-26 Thread Mike Austin
Jeff, I reviewed your code a few days ago (and again today after seeing your email) and it looks good. I'm not as interested in the Query and Results namespaces since I pushed most of my facet and query code into the solr servlet. However I would like to use the Update, Indexing, and Configuration

Solr index updating pattern

2007-04-25 Thread Mike Austin
Could someone give advise on a better way to do this? I have an index of many merchants and each day I delete merchant products and re-update my database. After doing this I than re-create the entire index and move it to production replacing the current index. I was thinking about updating the in

RE: C# API for Solr

2007-04-05 Thread Mike Austin
I would be very interested in this. Any idea on when this will be available? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 02, 2007 1:44 AM To: solr-user@lucene.apache.org Subject: Re: C# API for Solr Well, i think there will be a lot of

Re: New Feature: ${solr.home}/lib/ dir for "plugins"

2006-11-15 Thread Mike Austin
Very nice. This will help me also. I will try this out and let you know how it goes. (Windows XP with a custom request handler and some other custom classes)

Re: searcher.numDocs OR

2006-10-23 Thread Mike Austin
s.. On 10/23/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 10/23/06, Mike Austin <[EMAIL PROTECTED]> wrote: > How can I get a count like I do by using searcher.numDocs(query, docset) but > with it doing an OR operation? I want the number of documents that match a > OR b? It

searcher.numDocs OR

2006-10-23 Thread Mike Austin
How can I get a count like I do by using searcher.numDocs(query, docset) but with it doing an OR operation? I want the number of documents that match a OR b? Thanks, Mike

Re: Sorting

2006-10-13 Thread Mike Austin
that's a very slippery slop .. i suspect a lot of users would be put-off by ranges that kept changing on them as they added/removed other facet constraints -- one minute you are seeing ranges like 0-10,11-20,20-30 and then you say you are only interested in red products and now your ranges are 0-

Re: Sorting

2006-10-13 Thread Mike Austin
that's certianly one way to do it ... it would probably be faster though to use the TermEnum of the price field directly. I will look into this. i've yet to really see a good appraoch to progomaticaly determining (non-trivial) numeric ranges, personally i think that to have good looking ran

Re: Sorting

2006-10-11 Thread Mike Austin
Let me back up.. for a second. I want to create price ranges. I was thinking that I would do a search with a sort on price and create ranges by getting the document price every (docCount / #ofpricerangesIwant). Basically create: < 10, 10 - 60, 60 - 100 etc.. If the initial search wasn't sorted by

Price facet counts based on price[] query or text field

2006-09-27 Thread Mike Austin
I'm trying to figure out the best way to do filters based on price. I've been thinking that I would do it based on the query such as price[10-20], however I wanted opinions on whether it would be better to do it based on pre-filtering the item into a price range and searching for the string that

Use of caches.

2006-05-14 Thread Mike Austin
I was just reading threads about the use of caches. OK.. I have about 100 categories that I want to bitwise AND together with different searches to get category counts. After the user selects a category, they will be using other facets based on the particular category. I was planning to keep my

Adding xml to SolrQueryResponse

2006-05-01 Thread Mike Austin
er to throw some more attributes on a node. Thanks, Mike Austin

Re: Run solr on windows with IIS

2006-04-07 Thread Mike Austin
ust the port that it runs on depending on > > your system, but probably not. > > > > From ASP.NET, simply use RESTful HTTP GET/POST commands to the Solr > > application server. What a dream! > > > > Erik > > > > > > On Apr 7, 2006, at 3:3

Run solr on windows with IIS

2006-04-07 Thread Mike Austin
I know that I asked something like this before, but... I read that you need cygwin for shell support, but is that just for the cmd line post.sh support? I would like to run ASP.NET apps that use solr as the search platform(on the same server for now). So, can I run IIS and solr/servlets together?

Re: solr setup

2006-03-28 Thread Mike Austin
Try starting Tomcat from your /var/lib/tomcat5/ folder. While in that folder, run "/etc/init.d/tomcat5 start". I think I had a similar issue and it was because I started tomcat in the wrong folder. mike

Re: solr setup

2006-03-20 Thread Mike Austin
Ahhh!! OK.. next time you see me you can back-slap me. I was doing a cd into bin and starting tomcat. Now it is working. Sorry to waste your time, it was my mistake all along. I did install tomcat 5.5 but the issue was the startup. Thanks, Mike

Re: solr setup

2006-03-20 Thread Mike Austin
ardContext[/jsp-examples]SessionListener: contextInitialized() On 3/20/06, Mike Austin <[EMAIL PROTECTED]> wrote: > Actually.. it looks like it is still not finding solrconfig.xml because > after I restart tomcat I get the config file error. Where should this go > again? I know

Re: solr setup

2006-03-20 Thread Mike Austin
Actually.. it looks like it is still not finding solrconfig.xml because after I restart tomcat I get the config file error. Where should this go again? I know you said ./solrconf, but relative to what? Also, I still don't know if I deployed the site correctly..the only thing I did was copy the

Re: solr setup

2006-03-20 Thread Mike Austin
, Yonik Seeley <[EMAIL PROTECTED]> wrote: > On 3/20/06, Mike Austin <[EMAIL PROTECTED]> wrote: > > I'm trying to set solr up with CentOS 4.2, Apache 2.0.55, Tomcat 5, and > Java > > SDK 1.5 for the first time. > > > > I copied the solr.war to the tomcat web

solr setup

2006-03-20 Thread Mike Austin
I'm trying to set solr up with CentOS 4.2, Apache 2.0.55, Tomcat 5, and Java SDK 1.5 for the first time. I copied the solr.war to the tomcat webapps folder and it created the solr folders. I then try running the app with http://localhost:8080/solr/adminand I get an error (I don't have the error me