Indexing Content of a Direcory

2011-05-11 Thread Robert Naczinski
Hi all,

i want PERIODIC ( 1x per 30s ) index the content of a directory to
solr. In doing that i will to index only the new files and add it to
the index.

Can I use for that the standard solr, or must I write own indexer? Can
I implement custom DIH.

The files are readable via HTTP.

Can someone give me a tip?

Robert


Re: Indexing Content of a Direcory

2011-05-11 Thread Robert Naczinski
Thanx for your help.

Can I configure with this components native solr or must I write own
Indexer that use
org.apache.solr.handler.dataimport.FileListEntityProcessor?

Someware must I transform the inputdocuments to the schema. My
iputdocuments are in different format.

Robert

2011/5/11 Ahmet Arslan iori...@yahoo.com:

 i want PERIODIC ( 1x per 30s ) index the content of a
 directory to
 solr. In doing that i will to index only the new files and
 add it to
 the index.

 Probably you can use DIH, there are different DataSource implementations.
 http://wiki.apache.org/solr/DataImportHandler#DataSource

 For example you can index files in a directory recursively using 
 FileListEntityProcessor.



Re: Indexing Content of a Direcory

2011-05-11 Thread Robert Naczinski
Hi,

we try to index logfiles. That are xmlfiles ( this can be not valid )
and text files. Unfortunately have all files not the same content

Regards,

Robert

2011/5/11 Ahmet Arslan iori...@yahoo.com:
 Can I configure with this components native solr or must I
 write own
 Indexer that use
 org.apache.solr.handler.dataimport.FileListEntityProcessor?

 You can use native solr. All things are configured in xml files, 
 data-config.xml, schema.xml etc.

 There are examples in the directory example-DIH/solr{db,mail,rss,tika,ms}
 They all use dataimport.

 Someware must I transform the inputdocuments to the schema.
 My
 iputdocuments are in different format.

 What are your input documents? pdf word excel?



Use Solr / Lucene to search in a Logfile

2011-05-06 Thread Robert Naczinski
Hello,

we want to search large log4j logfiles withSolr / Lucene and find any
lines with a special argument. ( for examle: with a defined userid )
It should be a solr indput document for each row in the file. The log
file is growing continuously and the search index must be refreshed.

Has already anybidy implemented something like this and can give me a tip ?

Greetings,

Robert


Re: Use Solr / Lucene to search in a Logfile

2011-05-06 Thread Robert Naczinski
Hi,

thanks for the reply. I did not know that.

Is there still a way to use Solr or Lucene? Or Apache Nutch would be not be bad.

Could I maybe write a customized DIH?

Greetings,

Robert

2011/5/6 Otis Gospodnetic otis_gospodne...@yahoo.com:
 Loggly.com


Re: 'Error 404: missing core name in path ' in adminconsole

2010-08-25 Thread Robert Naczinski
Thanx for your help.

I bound de.lvm.services.logging.PerformanceLoggingFilter in web.xml
and mapped it to /admin/* .
It works fine with EmbeddedSolr. I get NullPointer in some links under
admin/index.jsp, but I will solve this problem.

Robert

2010/8/25 Chris Hostetter hossman_luc...@fucit.org:

 : we use in our application to the JEE EmbeddedSolrServer. It works very
 : well. Now I wanted to create the admin JSPs. For that I have copied
 : the JSPs from webroot Solr example. When I try to access
 : ...admin/index.jsp , I get 'Error 404: missing core name in path'

 just copying JSPs isn't enough to make the Solr admin interface magically
 work in a an app that uses EmbeddedSolr -- EmbeddedSolr is really not
 designed to be used this way at all, that's the trade of of using Embedded
 vs just running Solr as an app.

 In particular, the SolrDispatchFilter is responsible for intercepting all
 HTTP requests to Solr, and sets up a lot of pre-conditions that the JSPs
 depend on -- it's also what executes the various Handlers that are
 make many of the admin URLs work.

 If you really insist on pursuing this route, i suggest you start by
 looking at the existing Solr web.xml


 -Hoss

 --
 http://lucenerevolution.org/  ...  October 7-8, Boston
 http://bit.ly/stump-hoss      ...  Stump The Chump!




'Error 404: missing core name in path ' in adminconsole

2010-08-24 Thread Robert Naczinski
Hello,

we use in our application to the JEE EmbeddedSolrServer. It works very
well. Now I wanted to create the admin JSPs. For that I have copied
the JSPs from webroot Solr example. When I try to access
...admin/index.jsp , I get 'Error 404: missing core name in path'

We run the application on Websphere.Die Tips from
http://wiki.apache.org/solr/SolrWebSphere and
http://www-01.ibm.com/support/docview.wss?uid=swg24014758 I have
already implemented.

Can someone give me a tip, and say how can I see the console?

Regards,

Robert


Re: 'Error 404: missing core name in path ' in adminconsole

2010-08-24 Thread Robert Naczinski
Unfortunately, when I use /admin/ I get the error too.

My contextroot is not 'solr'. I use the EmbeddedSolrServer in another JEE-App

Another idea?

Robert

2010/8/24 Lucas F. A. Teixeira lucas...@gmail.com:
 I hate when this happen.

 Look, if you enter the url:

 http://server:port/solr/core/admin

 you'll have this error you said... try a final slash on it

 http://server:port/solr/core/admin/

 and will work.



 Lucas Frare Teixeira .·.
 - lucas...@gmail.com
 - lucastex.com.br
 - blog.lucastex.com
 - twitter.com/lucastex


 On Tue, Aug 24, 2010 at 8:30 AM, Robert Naczinski 
 robert.naczin...@googlemail.com wrote:

 Hello,

 we use in our application to the JEE EmbeddedSolrServer. It works very
 well. Now I wanted to create the admin JSPs. For that I have copied
 the JSPs from webroot Solr example. When I try to access
 ...admin/index.jsp , I get 'Error 404: missing core name in path'

 We run the application on Websphere.Die Tips from
 http://wiki.apache.org/solr/SolrWebSphere and
 http://www-01.ibm.com/support/docview.wss?uid=swg24014758 I have
 already implemented.

 Can someone give me a tip, and say how can I see the console?

 Regards,

 Robert




Wildcards queries

2010-07-06 Thread Robert Naczinski
Hi,

we use in our application EmbeddedSolrServer. Everything went fine.
Now I want use wildcards queries.

It does not work. Must be adapted for the schema.xml?

Can someone help me? In wiki, I find nothing? Why do I need simple
example or link.

Regards,

Robert


Re: Wildcards queries

2010-07-06 Thread Robert Naczinski
Hi,

thanks for the reply. I am an absolute beginner with Solr.

I have taken, for the beginning, the configuration from
{solr.home}example/solr .

In solrconfig.xml are all queryparser commented out  ;-( Where can a
find the QeryParser? Javadoc, Wiki?

Regards,

Robert

2010/7/6 Mark Miller markrmil...@gmail.com:
 On 7/6/10 8:53 AM, Robert Naczinski wrote:
 Hi,

 we use in our application EmbeddedSolrServer.

 Great!

 Everything went fine.

 Excellent!

 Now I want use wildcards queries.

 Cool!


 It does not work.

 Bummer!

 Must be adapted for the schema.xml?

 Not necessarily...


 Can someone help me?

 We can try!

In wiki, I find nothing?

 No, you will find lots!

 Why do I need simple
 example or link.

 Because it would be helpful!



 Regards,

 Robert


 What query parser are you using? Dismax? That query parser does not
 support wildcards. Try the lucene queryparser if that's the case.

 Otherwise respond with more information about your setup.

 --
 - Mark

 http://www.lucidimagination.com



Use of EmbeddedSolrServer

2010-06-27 Thread Robert Naczinski
Hello,

there is a recommendation (best practice) for the use of
EmbeddedSolrServer? We use it, because we have in our application an
EJB module with Message Drive Bean. Now, we create the
EmbeddedSolrServer (http://wiki.apache.org/solr/Solrj #
EmbeddedSolrServer) in a javax.servlet.ServletContextListener and keep
the in a singletonwrapper

Can we do it that way? Or should we create a whole pool of the
servers? ( with Apache Commons Pool )

Can anyone give me any advice?

Regards,

Robert


Use of EmbeddedSolrServer

2010-06-19 Thread Robert Naczinski
Hi,

is there a best practice for use of EmbeddedSolrServer?

Knows someone  a good link besides http://wiki.apache.org/solr/Solrj #
EmbeddedSolrServer

Regards,

Robert


Use of EmbeddedSolrServer

2010-06-11 Thread Robert Naczinski
Hello experts,

we would like to use Solr in our search application. We want to index
a large inventory in the database. The initial index is not a problem,
but it should also updates the Db. These tables, we plan to provide
you with triggers. The only problem is the Datenbnk on zOS. But we get
the updates on PL1. The Procedure to send a message through MQSeries
that we would handy tips on the application. Then, the index should be
updated.

If the plan valid?

If so, do I have in my application and use with EJB Message Driven
Bean. The normal Solr server is but one was. Therefore, I would use
EmbeddedSolrServer in a application deployed on WebSphere AppServer.
Can I find somewhere a manual for the use of EmbeddedSolrServer?

Regards,

Robert


Wildcars in Queries

2010-05-17 Thread Robert Naczinski
Hi,

i'm new to solr. Can I use wilcard like '*' in my queries?

Thanx,

Robert


Re: Wildcars in Queries

2010-05-17 Thread Robert Naczinski
How I can do that? I that distribute example I'cant use wildcards ;-(

2010/5/17 Leonardo Menezes leonardo.menez...@googlemail.com:
 Yes, also you can use '?' for a single character wild card.

 On Mon, May 17, 2010 at 11:21 AM, Robert Naczinski 
 robert.naczin...@googlemail.com wrote:

 Hi,

 i'm new to solr. Can I use wilcard like '*' in my queries?

 Thanx,

 Robert