Solr document security

2009-06-24 Thread pof
Hi, I am wanting to add document-level security that works as following: An external process makes a query to the index, depending on their security allowences based of a login id a list of hits are returned minus any the user are meant to know even exist. I was thinking maybe a custom filter with

Re: DataImportHandler Full Import completed successfully after SQLException

2009-06-24 Thread George
Noble, thank you for fixing this issue! :) 2009/6/25 Noble Paul നോബിള്‍ नोब्ळ् > OK , this should be a bug with JdbcDataSource. > > look at the line > > org.apache.solr.handler.dataimport.JdbcDataSource$ResultSetIterator.hasnext(JdbcDataSource.java:326) > > it is eating up the exception and logs

Re: DataImportHandler Full Import completed successfully after SQLException

2009-06-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
OK , this should be a bug with JdbcDataSource. look at the line org.apache.solr.handler.dataimport.JdbcDataSource$ResultSetIterator.hasnext(JdbcDataSource.java:326) it is eating up the exception and logs error and goes back. I shall raise an issue thanks On Wed, Jun 24, 2009 at 11:12 PM, Georg

Re: script to do full import / build index

2009-06-24 Thread Avlesh Singh
Reindex every midnight 0 0 * * * wget http://your-solr-host:port /path/to/solr-core/dataimport?command=full-import You can use you favorite http client instead of wget. Cheers Avlesh On Thu, Jun 25, 2009 at 9:15 AM, Jack Wu wrote: > Is there a way I can do a full import or build the index via

Re: Reverse querying

2009-06-24 Thread Otis Gospodnetic
Alex & Oleg, Look at MemoryIndex in Lucene's contrib. It's the closest thing to what you are looking for. What you are describing is sometimes referred to as "prospective search", sometimes "saved searches", and a few other names. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - N

script to do full import / build index

2009-06-24 Thread Jack Wu
Is there a way I can do a full import or build the index via a script? I want to cron job it rather than have to manually hit the dataimport.jsp page and click on 'full import' on the control panel every time. I am using SOLR on PHP, and am using the PHP-SOLR client.

Re: Reverse querying

2009-06-24 Thread oleg_gnatovskiy
AlexElba wrote: > > Hello, > > I have problem which I am trying to solve using solr. > > I have search text (term) and I have index full of words which are mapped > to ids. > > Is there any query that I can run to do this? > > Example: > > Term > "3) A recommendation to use VAR=value in th

Reverse querying

2009-06-24 Thread AlexElba
Hello, I have problem which I am trying to solve using solr. I have search text (term) and I have index full of words which are mapped to ids. Is there any query that I can run to do this? Example: Term "3) A recommendation to use VAR=value in the configure command line will not work wit

RE: DIH Indexing - Disregard Previous

2009-06-24 Thread Mukerjee, Neiloy (Neil)
My error was in syntax. Sorry for the spam. -Original Message- From: Mukerjee, Neiloy (Neil) [mailto:neil.muker...@alcatel-lucent.com] Sent: Wednesday, June 24, 2009 4:33 PM To: solr-user@lucene.apache.org Subject: DIH Indexing I am running Solr 1.3 with Tomcat 6, and I am trying to imp

DIH Indexing

2009-06-24 Thread Mukerjee, Neiloy (Neil)
I am running Solr 1.3 with Tomcat 6, and I am trying to import and index a MySQL database. However, even though DIH seems to have installed properly, when I try to do a full import via http://localhost:8080/solr/dataimport?command=full-import, the following is registered in my logs. *

Re: No wildcards with solr.ASCIIFoldingFilterFactory?

2009-06-24 Thread Mark Miller
Mark Miller wrote: vladimirneu wrote: Thank you Mark! Do you know the name of this special analyzer? (The link to Lucene API is attached: http://hudson.zones.apache.org/hudson/view/Lucene/job/Lucene-trunk/javadoc/ ) It would be very helpful for us. We are working with material in 12 diffe

Re: No wildcards with solr.ASCIIFoldingFilterFactory?

2009-06-24 Thread Mark Miller
vladimirneu wrote: Thank you Mark! Do you know the name of this special analyzer? (The link to Lucene API is attached: http://hudson.zones.apache.org/hudson/view/Lucene/job/Lucene-trunk/javadoc/ ) It would be very helpful for us. We are working with material in 12 different slavic languages (pl

RE: How do I set up an embedded server with version 1.3.0 ?

2009-06-24 Thread Manepalli, Kalyan
Hi Ian, I use the embeddedSolrServer from a Solr Component. The code for invoking the embeddedSolrServer looks like this SolrServer locServer = new EmbeddedSolrServer(SolrCore.getCoreDescriptor() .getCoreContainer(), "locationCore"); Where locationCore is the core name in

DataImportHandler Full Import completed successfully after SQLException

2009-06-24 Thread George
Hi, Yesterday I found out the following exception trying to index from an Oracle Database in my indexing process: 2009-06-23 14:57:29,205 WARN [org.apache.solr.handler.dataimport.JdbcDataSource] Error reading data java.sql.SQLException: ORA-01555: snapshot too old: rollback segment number 1 with

Re: building custom RequestHandlers

2009-06-24 Thread Julian Davchev
Great thank you. Mats Lindh wrote: > I wrote a small post regarding how to create an analysis filter about a year > ago. I'm guessing that the process is quite similar when developing a custom > request handler: > > http://e-mats.org/2008/06/writing-a-solr-analysis-filter-plugin/ > > Hope that hel

Delete, Commit, Add Interaction

2009-06-24 Thread Patrick Johnstone
We're indexing a potentially large collection of documentsinto smaller subgroups we call "collections". Each document has a field that identifies the collection it belongs to, in addition to a unique document id field: foo-1 foo .. foo-2 foo ..

Re: SolrCore, reload, synonyms not reloaded

2009-06-24 Thread ranjitr
Thank you, Noble. The other problem seems to be that with Solr 1.3 release, I am not able to RELOAD the index often (e.g. every minute) while I can do that with the nightly-build/trunk code. E.g. try issuing http://localhost:8983/solr/admin/cores?action=RELOAD&core=core1 every 5 seconds. Are y

RE: Data Import Handler

2009-06-24 Thread Mukerjee, Neiloy (Neil)
Yes, this was the issue. I downloaded the .tar.gz, extracted the contents, put the jar file in /usr/tomcat6.0.20/solr/lib, and the dataimport page is now not showing any errors, nor is there any error shown in the logs. Thank you! -Original Message- From: Shalin Shekhar Mangar [mailto

Re: building custom RequestHandlers

2009-06-24 Thread Mats Lindh
I wrote a small post regarding how to create an analysis filter about a year ago. I'm guessing that the process is quite similar when developing a custom request handler: http://e-mats.org/2008/06/writing-a-solr-analysis-filter-plugin/ Hope that helps. --mats On Wed, Jun 24, 2009 at 12:54 PM, J

Re: Data Import Handler

2009-06-24 Thread Shalin Shekhar Mangar
On Wed, Jun 24, 2009 at 6:14 PM, Mukerjee, Neiloy (Neil) < neil.muker...@alcatel-lucent.com> wrote: > Caused by: org.apache.solr.common.SolrException: Could not load driver: > com.mysql.jdbc.Driver >at > org.apache.solr.handler.dataimport.JdbcDataSource.createConnectionFactory(JdbcDataSour

RE: Data Import Handler

2009-06-24 Thread Mukerjee, Neiloy (Neil)
The error I am getting is "Unable to read dataimport.properties" - I have put the full text below. Jun 24, 2009 8:22:18 AM org.apache.solr.core.SolrCore execute INFO: [] webapp=/solr path=/dataimport params={} status=0 QTime=1 Jun 24, 2009 8:22:43 AM org.apache.solr.handler.dataimport.DataImpor

Re: Replication in Solr 1.4 - redirecting update handlers?

2009-06-24 Thread Mark A. Matienzo
On Fri, Jun 19, 2009 at 9:31 PM, Otis Gospodnetic wrote: > Would it work to pus something like Apache (or any LB or any other simpler > tool) in front of your cluster and configure it to use mod_proxy or > mod_rewrite to pass requests to appropriate backend Tomcat instance depending > on the ori

Re: Need to know about Custom request with filters in solr ?????

2009-06-24 Thread Otis Gospodnetic
Hi Noor, I don't follow your question, but perhaps you are looking for the "fq" URL parameter for filtering results? http://wiki.apache.org/solr/FilterQueryGuidance Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Noor > To: solr-user@lu

Re: building custom RequestHandlers

2009-06-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Wed, Jun 24, 2009 at 4:24 PM, Julian Davchev wrote: > Well it's really lovely whats in there but this is just configuration > aspect. Is there sample where should I place my class etc > and howto complie and all. just simple top to bottom example. I guess > most of those aspects might be java

Re: building custom RequestHandlers

2009-06-24 Thread Julian Davchev
Well it's really lovely whats in there but this is just configuration aspect. Is there sample where should I place my class etc and howto complie and all. just simple top to bottom example. I guess most of those aspects might be java but they are solr related as well. Noble Paul നോബിള്‍ नोब्ळ् wr

Re: No wildcards with solr.ASCIIFoldingFilterFactory?

2009-06-24 Thread vladimirneu
Thank you Mark! Do you know the name of this special analyzer? (The link to Lucene API is attached: http://hudson.zones.apache.org/hudson/view/Lucene/job/Lucene-trunk/javadoc/ ) It would be very helpful for us. We are working with material in 12 different slavic languages (plus some West Europea

Need to know about Custom request with filters in solr ?????

2009-06-24 Thread Noor
Hi, We're working on apache solr. We need some feature for appending some constraints(filters) with incoming solr query(request). The solr should response for the incoming query with the specified constraints meets. We made the posting operation in java, it retrieved all the sql data and

How do I set up an embedded server with version 1.3.0 ?

2009-06-24 Thread Ian Smith
Hi all, I am a new Solr user, and am trying to run an embedded server using the procedure at: http://wiki.apache.org/solr/Solrj#EmbeddedSolrServer Both the constructor and the static factory are deprecated, and if I try to use the procedure I end up with the following error: Exception in thread

Re: Initialize SOLR DataImportHandler

2009-06-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
try using the QuerySender listener http://wiki.apache.org/solr/SolrConfigXml#head-44db2a0bc0654e712bd6824ec0e76abca9605f88 full-import 2009/6/24 Noble Paul നോബിള്‍ नोब्ळ् : > yes , you will need to fire a command > > On Tue, Jun 23, 2009 at 9: