Re: filtering facets

2009-08-31 Thread Mike Topper
Hi Olivier, are the facet counts on the urls you dont want 0? if so you can use facet.mincount to only return results greater than 0. -Mike Olivier H. Beauchesne wrote: > Hi, > > Long time lurker, first time poster. > > I have a multi-valued field, let's call it article_outlinks containing > al

Re: indexing entire text but only storing first N characters?

2009-02-19 Thread Mike Topper
Cool, we are actually still on 1.2 but were planning on upgrading to 1.3 is this a feature of 1.3 or just on the nightly builds? -Mike Koji Sekiguchi wrote: > Mike Topper wrote: >> Hello, >> >> In one of the fields in my schema I am sending somewhat large texts. I >&g

indexing entire text but only storing first N characters?

2009-02-19 Thread Mike Topper
Hello, In one of the fields in my schema I am sending somewhat large texts. I want to be able to index all of it since I want to search on the entire text, but I only need the first N characters to be returned to me. Is there a way to do this with one field or would I just create two fields, one

Re: NOT NULL Query

2008-10-15 Thread mike topper
I think you can do field:["" TO *] to grab everything that is not null. -Mike John E. McBride wrote: Hello All, I need to run a query which asks: field = NOT NULL should this perhaps be done with a filter? I can't find out how to do NOT NULL from the documentation, would appreciate any advi

Re: Querying Greater Than and Less Than

2008-08-26 Thread mike topper
you can also use queries like field:[* to Z] or field:[Z TO *] -Mike Jake Conk wrote: Hello, I was trying to figure out how to query ranges greater than and less than. The closest solution I could find was using the range format: field:[x TO z] While this solution works for querying greate

almost realtime updates with replication

2007-08-22 Thread mike topper
Hello, Currently in our application we are using the master/slave setup and have a batch update/commit about every 5 minutes. There are a couple queries that we would like to run almost realtime so I would like to have it so our client sends an update on every new document and then have solr

how to use function queries

2007-05-21 Thread mike topper
I'm trying to retrieve results from solr such that newer documents' scores are boosted. From the solr wiki it states that I should use a function query to influence the score but I'm a little confused on howto use a function query. Searching through the archives I found a suggestion of using

adjusting score slightly by date field

2007-05-09 Thread mike topper
Hello, In our application there are a lot of old records that we still want in our index but would like for them to be scored lower than some newer records. Is it possible for a date field to weigh in on the score slightly in some way? Or if not is there another way to push up newer records

limiting the rows returned for a query

2007-04-18 Thread mike topper
Hello, I have a question that I couldn't really find the answer to and dont really know if its possible currently within solr. I want to do a simple query to the solr index. something like q=stateid:1 countryid:1 but i'm really only concerned with getting the record above and below a cert

problem with solr.HTMLStripWhitespaceTokenizerFactory

2007-03-06 Thread mike topper
I'm trying to use the html stripping factory in order to strip html tags from my description field when indexing. I added this fieldtype:

newbie question on determining fieldtype

2007-01-08 Thread mike topper
Hi, I have a question that I couldn't find the exact answer to. I have some fields that I want to add to my schema but will never be searched on. They are only used as additional information about a document when retrieved. They are integers, so should i just have the field be: I'm pre