Re: How to update index after document expired.

2017-03-03 Thread XuQing Tan
On Fri, Mar 3, 2017 at 9:17 AM, Erick Erickson wrote: > you'd have to copy/paste or petition to make > DocExpirationUpdateProcessorFactory not final. > yes, I copied DocExpirationUpdateProcessorFactory with additional reason is, our xml content from external source already contains expires in Da

Re: How to update index after document expired.

2017-03-03 Thread Erick Erickson
> in our case, we have contents need to be refreshed periodically according >> > to the TTL of each document. >> > >> > looks like DocExpirationUpdateProcessorFactory is a quite good fit >> except >> > that it does delete the document only, but no way to

Re: How to update index after document expired.

2017-03-02 Thread XuQing Tan
; I don't see there's a way to hook into DocExpirationUpdateProcessorFa > ctory > > for custom logic like get the document and update index. and even > > DocExpirationUpdateProcessorFactory is a final class. > > > > so just want to confirm with you, is there

Re: How to update index after document expired.

2017-03-02 Thread Alexandre Rafalovitch
fit except > that it does delete the document only, but no way to update the indexing > with the new document. > > I don't see there's a way to hook into DocExpirationUpdateProcessorFactory > for custom logic like get the document and update index. and even > DocExp

How to update index after document expired.

2017-03-02 Thread XuQing Tan
t see there's a way to hook into DocExpirationUpdateProcessorFactory for custom logic like get the document and update index. and even DocExpirationUpdateProcessorFactory is a final class. so just want to confirm with you, is there any existing solution for this? otherwise, I might have our o

Re: Update index

2016-07-13 Thread Erick Erickson
s >> >> -Original Message----- >> From: kostali hassan [mailto:med.has.kost...@gmail.com] >> Sent: Wednesday, July 13, 2016 5:17 AM >> To: solr-user@lucene.apache.org >> Subject: Update index >> >> I am using solr 5.4 1 to index sql database with data import handler. >> I am looking for update index automatically when the database is modified >> or insert in it new value. >>

Re: Update index

2016-07-13 Thread kostali hassan
t; Sent: Wednesday, July 13, 2016 5:17 AM > To: solr-user@lucene.apache.org > Subject: Update index > > I am using solr 5.4 1 to index sql database with data import handler. > I am looking for update index automatically when the database is modified > or insert in it new value. >

RE: Update index

2016-07-13 Thread Jamal, Sarfaraz
Hi Kostali, I would look at the Delta Queries - Sas -Original Message- From: kostali hassan [mailto:med.has.kost...@gmail.com] Sent: Wednesday, July 13, 2016 5:17 AM To: solr-user@lucene.apache.org Subject: Update index I am using solr 5.4 1 to index sql database with data import

Update index

2016-07-13 Thread kostali hassan
I am using solr 5.4 1 to index sql database with data import handler. I am looking for update index automatically when the database is modified or insert in it new value.

Re: What is the recommended way to import and update index records?

2015-01-27 Thread Carl Roberts
Yep - it works with string. Thanks a lot! On 1/27/15, 7:08 PM, Alexandre Rafalovitch wrote: Make that id field a string and reindex. text_general is not the right type for a unique key. Regards, Alex.

Re: What is the recommended way to import and update index records?

2015-01-27 Thread Alexandre Rafalovitch
> Make that id field a string and reindex. text_general is not the right type for a unique key. Regards, Alex.

Re: What is the recommended way to import and update index records?

2015-01-27 Thread Alexandre Rafalovitch
On 27 January 2015 at 18:44, Carl Roberts wrote: > OK - I did a little testing and with full-import and clean=false, I get more > and more records when I import the same XML file. I have also checked and I > see that my uniqueKey is defined correctly. 1) Is this a SolrCloud or a single core setu

Re: What is the recommended way to import and update index records?

2015-01-27 Thread Carl Roberts
records twice. What is even more puzzling that if I search for an id value which is unique in the imported XML, I get all records back: curl "http://localhost:8983/solr/nvd-rss/select?wt=json&indent=true&q=id:CVE-1999-0001&start=0&&rows=0&fl=*"; { "

Re: What is the recommended way to import and update index records?

2015-01-27 Thread Carl Roberts
11:32 AM, Carl Roberts wrote: Hi, What is the recommended way to import and update index records? I've read the documentation and I've experimented with full-import and delta-import and I am not seeing the desired results. Basically, I have 15 RSS feeds that I am importing through rss-da

Re: What is the recommended way to import and update index records?

2015-01-27 Thread Alexandre Rafalovitch
he records that are new by id, and update the ones that have an id that > matches the one in the existing index? > > > > On 1/27/15, 11:32 AM, Carl Roberts wrote: >> >> Hi, >> >> What is the recommended way to import and update index records? >> >>

Re: What is the recommended way to import and update index records?

2015-01-27 Thread Carl Roberts
Roberts wrote: Hi, What is the recommended way to import and update index records? I've read the documentation and I've experimented with full-import and delta-import and I am not seeing the desired results. Basically, I have 15 RSS feeds that I am importing through rss-data-config.

What is the recommended way to import and update index records?

2015-01-27 Thread Carl Roberts
Hi, What is the recommended way to import and update index records? I've read the documentation and I've experimented with full-import and delta-import and I am not seeing the desired results. Basically, I have 15 RSS feeds that I am importing through rss-data-config.xml. The

Re: how to update index by c/c++?

2013-08-29 Thread Gora Mohanty
On 30 August 2013 07:02, Kevin wrote: > > > i know query a key word by " > http://localhost:8983/solr/collection1/select?q=*solr*&wt=json&indent=true"; > how to add/update records ?thanks This is a very basic question, and you could probably gain from starting with http://wiki.apache.org/solr/#

how to update index by c/c++?

2013-08-29 Thread Kevin
i know query a key word by " http://localhost:8983/solr/collection1/select?q=*solr*&wt=json&indent=true"; how to add/update records ?thanks Kevin

Re: auto trigger the delta import to update index in solr if any update in sql database

2013-02-06 Thread Rohan Thakur
> > --JP > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/auto-trigger-the-delta-import-to-update-index-in-solr-if-any-update-in-sql-database-tp4038525p4038715.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: auto trigger the delta import to update index in solr if any update in sql database

2013-02-05 Thread jp
The following link provides on using external activator for tracking DB changes http://ajitananthram.wordpress.com/2012/05/26/auditing-external-activator/ --JP -- View this message in context: http://lucene.472066.n3.nabble.com/auto-trigger-the-delta-import-to-update-index-in-solr-if-any

Re: auto trigger the delta import to update index in solr if any update in sql database

2013-02-05 Thread Rohan Thakur
r in soft commit mode > > --JP > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/auto-trigger-the-delta-import-to-update-index-in-solr-if-any-update-in-sql-database-tp4038525p4038554.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: auto trigger the delta import to update index in solr if any update in sql database

2013-02-05 Thread jp
You could use SQL service Broker External Activation service to monitor the changes and post the changes into the Solr Index using update request handler in soft commit mode --JP -- View this message in context: http://lucene.472066.n3.nabble.com/auto-trigger-the-delta-import-to-update-index

Re: auto trigger the delta import to update index in solr if any update in sql database

2013-02-05 Thread Alexandre Rafalovitch
tp://www.linkedin.com/in/alexandrerafalovitch > > - Time is the quality of nature that keeps events from happening all at > > once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) > > > > > > On Tue, Feb 5, 2013 at 5:39 AM, Rohan Thakur > wro

Re: auto trigger the delta import to update index in solr if any update in sql database

2013-02-05 Thread Rohan Thakur
vents from happening all at > once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) > > > On Tue, Feb 5, 2013 at 5:39 AM, Rohan Thakur wrote: > > > hi everyone > > > > is their any way in which we can auto trigger the delta impor

Re: auto trigger the delta import to update index in solr if any update in sql database

2013-02-05 Thread Alexandre Rafalovitch
keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Tue, Feb 5, 2013 at 5:39 AM, Rohan Thakur wrote: > hi everyone > > is their any way in which we can auto trigger the delta import to update > index in solr if their

auto trigger the delta import to update index in solr if any update in sql database

2013-02-05 Thread Rohan Thakur
hi everyone is their any way in which we can auto trigger the delta import to update index in solr if their any update in sql database. thanks regards Rohan

Re: Using SolrJ to update index with array fields

2012-12-21 Thread Erick Erickson
gt; > when updating the following error is generated: > > Exception in thread "main" org.apache.solr.common.SolrException: Internal > Server Error > > Inside the schema.xml file we have: > multiValued="true"/> > > Any help is usefull to me. >

Using SolrJ to update index with array fields

2012-12-19 Thread leonildo
is generated: Exception in thread "main" org.apache.solr.common.SolrException: Internal Server Error Inside the schema.xml file we have: Any help is usefull to me. -- View this message in context: http://lucene.472066.n3.nabble.com/Using-SolrJ-to-update-index-with-array-fields

Re: Update Index : Updating Specific Fields

2010-04-28 Thread Rob Ganly
>>may be this is one very imp feature to be considered for next releases of SOLR. i agree, is glaringly important. i'm quite suprised that this feature isn't already available. can anyone elaborate on the reason that it isn't available? (out of interest). >>sometimes these kind of cases would co

Re: Update Index : Updating Specific Fields

2010-03-04 Thread Kranti™ K K Parisa
may be this is one very imp feature to be considered for next releases of SOLR. sometimes these kind of cases would come up. Best Regards, Kranti K K Parisa On Thu, Mar 4, 2010 at 3:01 PM, Andrzej Bialecki wrote: > On 2010-03-04 07:41, Walter Underwood wrote: > >> No. --wunder >> > > Or perha

Re: Update Index : Updating Specific Fields

2010-03-04 Thread Andrzej Bialecki
On 2010-03-04 07:41, Walter Underwood wrote: No. --wunder Or perhaps "not yet" ... http://portal.acm.org/ft_gateway.cfm?id=1458171 On Mar 3, 2010, at 10:40 PM, Kranti™ K K Parisa wrote: Hi, Is there any way to update the index for only the specific fields? Eg: Index has ONE document con

Re: Update Index : Updating Specific Fields

2010-03-03 Thread Walter Underwood
No. --wunder On Mar 3, 2010, at 10:40 PM, Kranti™ K K Parisa wrote: > Hi, > > Is there any way to update the index for only the specific fields? > > Eg: > Index has ONE document consists of 4 fields, F1, F2, F3, F4 > Now I want to update the value of field F2, so if I send the update xml to >

Update Index : Updating Specific Fields

2010-03-03 Thread Kranti™ K K Parisa
Hi, Is there any way to update the index for only the specific fields? Eg: Index has ONE document consists of 4 fields, F1, F2, F3, F4 Now I want to update the value of field F2, so if I send the update xml to SOLR, can it keep the old field values for F1,F3,F4 and update the new value specified

Re: cron job update index

2008-09-18 Thread sunnyfr
0:43:40.465 > > > Vary the cron job depending on how frequently and by how many documents > the > DB is updated. If an existing import is running, additional calls to start > an import operation are ignored. > > -- > Regards, > Shalin Shekhar Mangar. > > -- View this message in context: http://www.nabble.com/cron-job-update-index-tp19520468p19547964.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: cron job update index

2008-09-17 Thread Shalin Shekhar Mangar
On Wed, Sep 17, 2008 at 9:42 PM, sunnyfr <[EMAIL PROTECTED]> wrote: > > Sorry but silly question about "Then the main "query" is > executed for each primary key identified by the deltaQuery. This main query > is used to create the documents and index them." > > I don't see in the code the link be

Re: cron job update index

2008-09-17 Thread sunnyfr
changed since the last > run > (through the use of the last_index_time variable. Then the main "query" is > executed for each primary key identified by the deltaQuery. This main > query > is used to create the documents and index them. > > In the output you pasted

Re: cron job update index

2008-09-17 Thread Shalin Shekhar Mangar
anged and the number of documents it has indexed until now. Once it completes, it will show the time at which it committed the changes to the index. The parentDeltaQuery is needed only when you have nested entities and you need to identify changes in the child entities. > > -- > View this message in context: > http://www.nabble.com/cron-job-update-index-tp19520468p19535082.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- Regards, Shalin Shekhar Mangar.

Re: cron job update index

2008-09-17 Thread sunnyfr
had assumed that you wanted to sync the index between a master and > slaves. > Now I realize that your question was different. > > Look at DataImportHandler and delta imports. You can run delta-imports > through a cron job syncing the database with Solr frequently depending on &g

Re: cron job update index

2008-09-17 Thread Shalin Shekhar Mangar
on was different. Look at DataImportHandler and delta imports. You can run delta-imports through a cron job syncing the database with Solr frequently depending on the update frequency of the database. http://wiki.apache.org/solr/DataImportHandler > > -- > View this message in context:

Re: cron job update index

2008-09-17 Thread sunnyfr
a6230fe23e422f1583f31edbff7b1007 >> > > Yes. > > -- > Regards, > Shalin Shekhar Mangar. > > -- View this message in context: http://www.nabble.com/cron-job-update-index-tp19520468p19533680.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: cron job update index

2008-09-17 Thread Shalin Shekhar Mangar
On Wed, Sep 17, 2008 at 1:37 PM, sunnyfr <[EMAIL PROTECTED]> wrote: > is it this one ? > > > http://wiki.apache.org/solr/CollectionDistribution#head-9f393ae2a6230fe23e422f1583f31edbff7b1007 > Yes. -- Regards, Shalin Shekhar Mangar.

Re: cron job update index

2008-09-17 Thread sunnyfr
/sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message >> From: sunnyfr <[EMAIL PROTECTED]> >> To: solr-user@lucene.apache.org >> Sent: Tuesday, September 16, 2008 5:59:01 PM >> Subject: cron job update index >> >>

Re: cron job update index

2008-09-16 Thread Otis Gospodnetic
6, 2008 5:59:01 PM > Subject: cron job update index > > > Hi > Can you give me more explanation about how to manage index update > automatically > I would like to automatically update solr, obviously I have to run snapuller > ?? > And I would like to past data fro

cron job update index

2008-09-16 Thread sunnyfr
View this message in context: http://www.nabble.com/cron-job-update-index-tp19520468p19520468.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Using cocoon to update index

2007-03-26 Thread Thorsten Scherler
On Mon, 2007-03-26 at 09:30 -0400, Winona Salesky wrote: > Thanks Chris, I'll take another look at the forest plugin. Have a look as well at http://wiki.apache.org/solr/SolrForrest it points out the cocoon components. salu2 -- Thorsten Scherler thorsten.at.apache.

RE: Using cocoon to update index

2007-03-26 Thread Winona Salesky
Thanks Chris, I'll take another look at the forest plugin. -Winona -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Saturday, March 24, 2007 4:55 PM To: solr-user@lucene.apache.org Subject: Re: Using cocoon to update index : Is anyone using cocoon to index

RE: Using cocoon to update index

2007-03-24 Thread Binkley, Peter
cocoon to update index Hi, Is anyone using cocoon to index data? I'm trying to do this via cincludes but I have had no luck. If you are using cocoon, and are POSTing data to solr via a pipeline, would you share an example of how you have things working. Thanks for the help, -Winona -

Re: Using cocoon to update index

2007-03-24 Thread Chris Hostetter
: Is anyone using cocoon to index data? I'm trying to do this via cincludes : but I have had no luck. If you are using cocoon, and are POSTing data to : solr via a pipeline, would you share an example of how you have things you may want to take a look at the forest plugin Thorsten wrote, or the C

Using cocoon to update index

2007-03-23 Thread Winona Salesky
Hi, Is anyone using cocoon to index data? I'm trying to do this via cincludes but I have had no luck. If you are using cocoon, and are POSTing data to solr via a pipeline, would you share an example of how you have things working. Thanks for the help, -Winona - Winona Salesky The Universit

Re: add/update index

2006-07-27 Thread Tricia Williams
Thanks Yonik, That's exactly what I needed to know. I'll adapt my xsl process to omit null values. Tricia On Thu, 27 Jul 2006, Yonik Seeley wrote: On 7/27/06, Tricia Williams <[EMAIL PROTECTED]> wrote: Hi, I have created a process which uses xsl to convert my data to the form indi

Re: add/update index

2006-07-27 Thread Yonik Seeley
On 7/27/06, Tricia Williams <[EMAIL PROTECTED]> wrote: Hi, I have created a process which uses xsl to convert my data to the form indicated in the examples so that it can be added to the index as the solr tutorial indicates: value ... In some cases the xsl process wi

add/update index

2006-07-27 Thread Tricia Williams
Hi, I have created a process which uses xsl to convert my data to the form indicated in the examples so that it can be added to the index as the solr tutorial indicates: value ... In some cases the xsl process will create a field element with no data. (ie ) Is this con