automatic delta imports?

2011-12-19 Thread Mark Juszczec
Hello all I'm seeing the following in my web server log file: [2011-12-19 08:57:00.016] [customersIndex] webapp=/solr path=/dataimport params={command=delta-import&commit=true&optimize=true} status=0 QTime=3 [2011-12-19 08:57:00.018] Starting Delta Import [2011-12-19 08:57:00.018] Read dataimport

case insensitive searches

2011-10-30 Thread Mark Juszczec
Hello all According to the docs, I need to use solr.LowerCaseTokenizerFactory Does anyone have any experience with it? Can anyone comment on pitfalls or things to beware of? Does anyone know of any examples I can look at? Thanks Mark

Re: searching for terms containing embedded spaces

2011-09-11 Thread Mark juszczec
+ACTIVE_IND%3A1&defType=edismax&rows=500&sort=ACCOUNT_CUSTOMER_ID+asc&start=0 Mark On Sun, Sep 11, 2011 at 2:05 PM, Yonik Seeley wrote: > On Sun, Sep 11, 2011 at 1:39 PM, Mark juszczec > wrote: > > That's what I thought. The problem is, its not and I am un

Re: searching for terms containing embedded spaces

2011-09-11 Thread Mark juszczec
That's what I thought. The problem is, its not and I am unsure what is wrong. On Sun, Sep 11, 2011 at 1:35 PM, Yonik Seeley wrote: > On Sun, Sep 11, 2011 at 1:15 PM, Mark juszczec > wrote: > > I am looking for a text string with a single, embedded space. For the > > p

Re: searching for terms containing embedded spaces

2011-09-11 Thread Mark juszczec
> > But as Erick says, it's not clear that's really what you want (to > search on a single term with a space in it). If it's a normal text > field, each word will be indexed separately, so you really want a > phrase query or a boolean query: > > field:"a b" > or > field:(a b) > > I am looking for

Re: searching for terms containing embedded spaces

2011-09-11 Thread Mark juszczec
If you're entering field:a b then 'b' will be searched against your > default text field > and you should enter field:(a b) or field:a field:b > > If you've tokenized the field, you shouldn't care. > > If you're using keywordanalyzer, escaping should work.

Re: solr equivalent of "select distinct"

2011-09-11 Thread Mark juszczec
search would be failing! > > Best > Erick > > On Fri, Sep 9, 2011 at 8:08 PM, Mark juszczec > wrote: > > Hello everyone > > > > Let's say each record in my index contains fields named PK, FLD1, FLD2, > FLD3 > > FLD100 > > > > PK

searching for terms containing embedded spaces

2011-09-09 Thread Mark juszczec
Hi folks I've got a field that contains 2 words separated by a single blank. What's the trick to creating a search string that contains the single blank? Mark

solr equivalent of "select distinct"

2011-09-09 Thread Mark juszczec
Hello everyone Let's say each record in my index contains fields named PK, FLD1, FLD2, FLD3 FLD100 PK is my solr primary key and I'm creating it by concatenating FLD1+FLD2+FLD3 and I'm guaranteed that combination will be unique Let's say 2 of these records have FLD1 = A and FLD2 = B. I am

edismax, inconsistencies with implicit/explicit AND when used with explicit OR

2011-08-09 Thread Mark juszczec
Hello all We've just switched from the default parser to the edismax parser and a user has noticed some inconsistencies when using implicit/explicit ANDs, ORs and grouping search terms in parenthesis. First, the default query operator is AND. I switched it from OR today. The query: customersJo

edismax, mixing wildcards with specific terms

2011-08-09 Thread Mark juszczec
Hello all Will the edismax QueryParser allow you to mix search terms with wildcards and search terms with specific values in the same query? Or is it better to switch between Query Parsers at run time after analyzing the query? IOW if it contains wildcards, use edismax, otherwise use the default

Re: edismax configuration

2011-08-08 Thread Mark juszczec
Got it. Thank you. I thought this was going to be much more difficult than it actually was. Mark On Mon, Aug 8, 2011 at 4:50 PM, Markus Jelsma wrote: > http://wiki.apache.org/solr/CommonQueryParameters#defType > > > Hello all > > > > Can someone direct me to a link with config info in order to

edismax configuration

2011-08-08 Thread Mark juszczec
Hello all Can someone direct me to a link with config info in order to allow use of the edismax QueryHandler? Mark

deleting index directory/files

2011-08-04 Thread Mark juszczec
Hello all I'm using multiple cores. I there's a directory named by the core and it contains a subdir named data that contains a subdir named index that contains a bunch of files that contain the data for my index. Let's say I want to completely rebuild the index from scratch. Can I delete the d

Re: field with repeated data in index

2011-07-28 Thread Mark juszczec
oup > (615) 213-4311 > > > -----Original Message- > From: Mark juszczec [mailto:mark.juszc...@gmail.com] > Sent: Thursday, July 28, 2011 3:50 PM > To: solr-user@lucene.apache.org > Subject: field with repeated data in index > > Hello all > > I created an inde

field with repeated data in index

2011-07-28 Thread Mark juszczec
Hello all I created an index consisting of orders and the names of the salesmen who are responsible for the order. As you can imagine, the same name can be associated with many different orders. No problem. Until I try to do a faceted search on the salesman name field. Right now, I have the da

Re: updating existing data in index vs inserting new data in index

2011-07-07 Thread Mark juszczec
a in your index isn't what you're expecting... > > Also, you might want to get a copy of Luke and examine your index, there's > a > wealth of infomration > > > Best > Erick > > > On Thu, Jul 7, 2011 at 11:12 AM, Mark juszczec > wrote: > >

Re: updating existing data in index vs inserting new data in index

2011-07-07 Thread Mark juszczec
n these should be the number of deleted documents. > > > Solr doesn't "manage" unique keys. All that happens is Solr will replace > any > pre-existing documents where *you've* defined the when a > new doc is added... > > Hope this helps > Eri

Re: updating existing data in index vs inserting new data in index

2011-07-07 Thread Mark juszczec
Ok. That's really good to know because optimization of that kind will be important. What of commit? Does it somehow remove the previous version of an updated record? On Thu, Jul 7, 2011 at 10:49 AM, Michael Kuhlmann wrote: > Am 07.07.2011 16:14, schrieb Bob Sandiford: > > [...] (Without the o

Re: updating existing data in index vs inserting new data in index

2011-07-07 Thread Mark juszczec
> P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com > www.sirsidynix.com > > > > -Original Message- > > From: Mark juszczec [mailto:mark.juszc...@gmail.com] > > Sent: Thursday, July 07, 2011 10:04 AM > > To: solr-user@lucene.apache.org > > Subject: Re:

Re: updating existing data in index vs inserting new data in index

2011-07-07 Thread Mark juszczec
d of > just an 'insert'. > > Bob Sandiford | Lead Software Engineer | SirsiDynix > P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com > www.sirsidynix.com > > > > -Original Message- > > From: Mark juszczec [mailto:mark.juszc...@gmail.com] > > Sent: T

updating existing data in index vs inserting new data in index

2011-07-07 Thread Mark juszczec
Hello all I'm using Solr 3.2 and am confused about updating existing data in an index. According to the DataImportHandler Wiki: *"delta-import* : For incremental imports and change detection run the command `http://:/solr/dataimport?command=delta-import . It supports the same clean, commit, opti

primary key made of multiple fields from multiple source tables

2011-07-05 Thread Mark juszczec
Hello all I'm using Solr 3.2 and am trying to index a document whose primary key is built from multiple columns selected from an Oracle DB. I'm getting the following error: java.lang.IllegalArgumentException: deltaQuery has no column to resolve to declared primary key pk='ordersorderline_id'