hits=XXX not always there in solr.log.* file?!?

2010-01-08 Thread michael8
Hi, I'm puzzled by this issue and was wondering if anyone knows why. Basically I am trying to get hit counts from my solr.log.* files for analysis purpose. However, I noticed that sometimes for a request I don't get a hits=xyz shown. Here are 2 example log snippets from my

Re: hits=XXX not always there in solr.log.* file?!? collapse field related?

2010-01-08 Thread michael8
Update: from my further investigation, it appears that anytime I am using the collapse field feature (I am running collapse field patch on 1.4), then the hits= count is not shown in the log. Anyone can confirm? michael8 wrote: Hi, I'm puzzled by this issue and was wondering if anyone knows

How to get Solr 1.4 to replicate spellcheck directories as well?

2009-12-16 Thread michael8
I'm currently using Solr 1.4 with its built-in solr.ReplicationHandler enabled in solrconfig.xml for a master and slave as follows: requestHandler name=/replication class=solr.ReplicationHandler lst name=master str name=enable${enable.master:false}/str str

Re: field collapse using 'adjacent' 'includeCollapsedDocs' + 'sort' query field

2009-11-15 Thread michael8
then an ArrayList of integers. I think that this will only be a real problem when the collapse groups become very large. I hope this will answer your question. Martijn 2009/11/14 michael8 mich...@saracatech.com: Hi, This almost seems like a bug, but I can't be sure so I'm seeking

field collapse using 'adjacent' 'includeCollapsedDocs' + 'sort' query field

2009-11-14 Thread michael8
Hi, This almost seems like a bug, but I can't be sure so I'm seeking confirmation. Basically I am building a site that presents search results in reverse chronologically order. I am also leveraging the field collapse feature so that I can group results using 'adjacent' mode and have solr

Re: sanizing/filtering query string for security

2009-11-10 Thread michael8
size. see q.alt Alex On Tue, Nov 10, 2009 at 12:59 AM, michael8 wrote: Sounds like a nice approach you have done. BTW, I have not used DisMax handler yet, but does it handle *:* properly? IOW, do you care if users issue this query, or does DisMax treat this query string

Re: sanizing/filtering query string for security

2009-11-09 Thread michael8
Hi Julian, Saw you post on exactly the question I have. I'm curious if you got any response directly, or figured out a way to do this by now that you could share? I'm in the same situation trying to 'sanitize' the query string coming in before handing it to solr. I do see that characters like

Re: sanizing/filtering query string for security

2009-11-09 Thread michael8
original query to DisMax request handler. Alex On Mon, Nov 9, 2009 at 10:05 PM, michael8 mich...@saracatech.com wrote: Hi Julian, Saw you post on exactly the question I have.  I'm curious if you got any response directly, or figured out a way to do this by now that you could share?  I'm

Re: question about collapse.type = adjacent

2009-11-03 Thread michael8
michael8 mich...@saracatech.com: Hi, I would like to confirm if 'adjacent' in collapse.type means the documents (with the same collapse field value) are considered adjacent *after* the 'sort' param from the query has been applied, or *before*?  I would think it would be *after* since

Re: apply a patch on solr

2009-11-03 Thread michael8
the --revision switch in svn, patch away, and then svn up to make sure everything merges cleanly. This is a good guide to follow as well: http://www.mail-archive.com/solr-user@lucene.apache.org/msg10189.html cheers, -mike On Mon, Nov 2, 2009 at 3:55 PM, michael8 mich...@saracatech.com wrote

Re: apply a patch on solr

2009-11-03 Thread michael8
) Unless there is a better way, it seems like I would need to do svn up --revision ... for each of the files to be patched and then apply the patch? This seems error prone and tedious. Am I missing something simpler here? Michael michael8 wrote: Perfect. This is what I need to know instead

question about collapse.type = adjacent

2009-11-02 Thread michael8
Hi, I would like to confirm if 'adjacent' in collapse.type means the documents (with the same collapse field value) are considered adjacent *after* the 'sort' param from the query has been applied, or *before*? I would think it would be *after* since collapse feature primarily is meant for

apply a patch on solr

2009-11-02 Thread michael8
Hi, First I like to pardon my novice question on patching solr (1.4). What I like to know is, given a patch, like the one for collapse field, how would one go about knowing what solr source that patch is meant for since this is a source level patch? Wouldn't the exact versions of a set of java

apply a patch on solr

2009-11-02 Thread michael8
Hi, First I like to pardon my novice question on patching solr (1.4). What I like to know is, given a patch, like the one for collapse field, how would one go about knowing what solr source that patch is meant for since this is a source level patch? Wouldn't the exact versions of a set of java

Re: dih.last_index_time - exacty what time is this capturing?

2009-10-11 Thread michael8
: On Sat, Oct 10, 2009 at 1:42 AM, michael8 mich...@saracatech.com wrote: Hi, Does anyone know when exactly is the dih.last_index_time in dataimport.properties captured? E.g. start of issueing SQL to data source, end of executing SQL to data source to fetch the list of IDs that have changed

Re: dih.last_index_time - exacty what time is this capturing?

2009-10-11 Thread michael8
That's perfect. Reimporting and reindexing some redundantly because of the slight time overlap is worth the risk of losing docs. Thanks Shalin. Michael Shalin Shekhar Mangar wrote: On Sun, Oct 11, 2009 at 9:46 PM, michael8 mich...@saracatech.com wrote: Thanks for your clarification

Re: solr 1.4 formats last_index_time for SQL differently than 1.3 ?!?

2009-10-09 Thread michael8
Thanks Shalin. Patch works well for me too. Michael Shalin Shekhar Mangar wrote: On Thu, Oct 8, 2009 at 1:38 AM, michael8 mich...@saracatech.com wrote: 2 things I noticed that are different from 1.3 to 1.4 for DataImport: 1. there are now 2 datetime values (per my specific schema I'm

dih.last_index_time - exacty what time is this capturing?

2009-10-09 Thread michael8
Hi, Does anyone know when exactly is the dih.last_index_time in dataimport.properties captured? E.g. start of issueing SQL to data source, end of executing SQL to data source to fetch the list of IDs that have changed since last index, end of indexing all changed/new documents? The name seems

Re: solr 1.4 formats last_index_time for SQL differently than 1.3 ?!?

2009-10-07 Thread michael8
format to use. Michael Noble Paul നോബിള്‍ नोब्ळ्-2 wrote: really? I don't remember that being changed. what difference do u notice? On Wed, Oct 7, 2009 at 2:30 AM, michael8 mich...@saracatech.com wrote: Just looking for confirmation from others, but it appears that the formatting

solr 1.4 formats last_index_time for SQL differently than 1.3 ?!?

2009-10-06 Thread michael8
Just looking for confirmation from others, but it appears that the formatting of last_index_time from dataimport.properties (using DataImportHandler) is different in 1.4 vs. that in 1.3. I was troubleshooting why delta imports are no longer working for me after moving over to solr 1.4 (10/2

Re: download pre-release nightly solr 1.4

2009-09-28 Thread michael8
markrmiller wrote: michael8 wrote: markrmiller wrote: michael8 wrote: Hi, I know Solr 1.4 is going to be released any day now pending Lucene 2.9 release. Is there anywhere where one can download a pre-released nighly build of Solr 1.4 just for getting familiar with new

Re: download pre-release nightly solr 1.4

2009-09-25 Thread michael8
markrmiller wrote: michael8 wrote: Hi, I know Solr 1.4 is going to be released any day now pending Lucene 2.9 release. Is there anywhere where one can download a pre-released nighly build of Solr 1.4 just for getting familiar with new features (e.g. field collapsing)? Thanks

download pre-release nightly solr 1.4

2009-09-24 Thread michael8
Hi, I know Solr 1.4 is going to be released any day now pending Lucene 2.9 release. Is there anywhere where one can download a pre-released nighly build of Solr 1.4 just for getting familiar with new features (e.g. field collapsing)? Thanks, Michael -- View this message in context:

Looking for suggestion of WordDelimiter filter config and 'ALMA awards'

2009-09-24 Thread michael8
Hi, I have this situation that I believe is very common but was curious if anyone knows the right way to go about solving it. I have a document with 'ALMA awards' in it. However, when user searches for 'aLMA awards', it ends up with no results found. However, when I search for 'alma awards'

Re: standard requestHandler components

2009-09-12 Thread michael8
in the example directory (.../example/solr/conf/) for examples on how to set up the spellcheck component, and on how the request handlers are configured. -Jay http://www.lucidimagination.com On Fri, Sep 11, 2009 at 3:04 PM, michael8 mich...@saracatech.com wrote: Hi, I have a newbie question

standard requestHandler components

2009-09-11 Thread michael8
Hi, I have a newbie question about the 'standard' requestHandler in solrconfig.xml. What I like to know is where is the config information for this requestHandler kept? When I go to http://localhost:8983/solr/admin, I see the following info, but am curious where are the supposedly 'chained'