Re: Solr on Tomcat, how to use an external data directory?

2010-05-30 Thread Abdelhamid ABID
.. and to unset dataDir just leave it blank dataDir${solr.data.dir:}/dataDir On Sun, May 30, 2010 at 12:15 AM, Chris Hostetter hossman_luc...@fucit.orgwrote: : Most likely you have missed to point data directory in solrconf.xml, : this should help : :

Re: Luke browser does not show non-String Solr fields?

2010-05-30 Thread Erick Erickson
The Solr admin page as access to (and uses) the field definitions you've put in the config file. Luke has no knowledge of this configuration, you have to choose your analyzer from the drop down and select the one closest to what's in your config file for SOLR. Are you perhaps using an analyzer in

Re: strange results with query and hyphened words

2010-05-30 Thread Sascha Szott
Hi Markus, I was facing the same problem a few days ago and found an explanation in the mail archive that clarifies my question regarding the usage of Solr's WordDelimiterFilterFactory: http://markmail.org/message/qoby6kneedtwd42h Best, Sascha markus.rietz...@rzf.fin-nrw.de wrote: i am

Re: Luke browser does not show non-String Solr fields?

2010-05-30 Thread jlist9
I find in the Plugins tab that the default is PersianAnalyzer. I switched to StandardAnalyzer and tried a few different Lucene Compatibility values but it didn't help :-( On Sun, May 30, 2010 at 4:40 AM, Erick Erickson erickerick...@gmail.com wrote: The Solr admin page as access to (and uses)

Re: Solr on Tomcat, how to use an external data directory?

2010-05-30 Thread jlist9
The JVM arg seems to overwrite that just fine: -Dsolr.data.dir=/opt/solr/example/data On Sun, May 30, 2010 at 12:14 AM, Abdelhamid ABID aeh.a...@gmail.com wrote: .. and to unset dataDir just leave it blank dataDir${solr.data.dir:}/dataDir On Sun, May 30, 2010 at 12:15 AM, Chris Hostetter

Re: Luke browser does not show non-String Solr fields?

2010-05-30 Thread Erick Erickson
Then you have to provide a lot more detail about what you did and what you're seeing and what you think you should see. You might review this page: http://wiki.apache.org/solr/UsingMailingLists Best Erick On Sun, May 30, 2010 at 1:41 PM, jlist9 jli...@gmail.com wrote: I find in the Plugins tab

Re: Luke browser does not show non-String Solr fields?

2010-05-30 Thread jlist9
Oh, here's a modified/improved version of what I described in my first email: 1. Queries like id:123 which work fine in /solr/admin web interface but returns nothing in Luke. Query *:* returns all records fine in Luke. I expect Luke returns the same result as /solr/admin since it's essentially a

Re: Luke browser does not show non-String Solr fields?

2010-05-30 Thread Erick Erickson
No, not nearly enough information. You haven't shown the SOLR field type definitions. You haven't provided, say, the output from SOLR if you add debugQuery=on. You haven't shown the terms from either SOLR admin or Luke that they actually see in the index. You haven't identified the version of

TikaEntityProcessor not working?

2010-05-30 Thread Brad Greenlee
Hi. I'm trying to get Solr to index a database in which one column is a filename of a PDF document I'd like to index. My configuration looks like this: dataConfig dataSource name=ds-db driver=com.mysql.jdbc.Driver url=jdbc:mysql://localhost/document_db user=user password=password

Re: Storing different entities in Solr

2010-05-30 Thread Bill Au
There is only one primary key in a single index. If the id of your different document types do collide, you can simply add a prefix or suffix to make them unique. Bill On Fri, May 28, 2010 at 1:12 PM, Moazzam Khan moazz...@gmail.com wrote: Thanks for all your answers guys. Requests and