Re: WordDelimiterFilterFactory + CamelCase query

2010-11-18 Thread Ken Stanley
On Thu, Nov 18, 2010 at 3:22 PM, Peter Karich peat...@yahoo.de wrote: Hi, Please add preserveOriginal=1  to your WDF [1] definition and reindex (or just try with the analysis page). but it is already there!? filter class=solr.WordDelimiterFilterFactory protected=protwords.txt            

Re: Reindex Solr Using Tomcat

2010-11-18 Thread Ken Stanley
On Thu, Nov 18, 2010 at 3:33 PM, Eric Martin e...@makethembite.com wrote: Hi, I searched google and the wiki to find out how I can force a full re-index of all of my content and I came up with zilch. My goal is to be able to adjust the weight settings, re-index  my entire database and then

Re: Reindex Solr Using Tomcat

2010-11-18 Thread Ken Stanley
On Thu, Nov 18, 2010 at 3:42 PM, Eric Martin e...@makethembite.com wrote: Ah, I am using an ApacheSolr module in Drupal and used nutch to insert the data into the Solr index. When I using Jetty I could just delete the data contents in sshd and then restart the service forcing the reindex.

Re: How do I format this query with 2 search terms?

2010-11-17 Thread Ken Stanley
2010/11/17 Jón Helgi Jónsson jonjons...@gmail.com: I'm using index time boosting and need to specify every field I want to search (not use copy fields) or else the boosting wont work. This query with 1 saerchterm works fine, boosts look good: http://localhost:8983/solr/select/?

Re: ranged and boolean query

2010-11-17 Thread Ken Stanley
On Wed, Nov 17, 2010 at 10:39 AM, Peter Blokland pe...@desk.nl wrote: hi. i'm using solr and am trying to limit my resultset to documents that either have a publication date in the range * to now, or have no publication date set at all (field is not present). however, using this :

Re: ranged and boolean query

2010-11-17 Thread Ken Stanley
On Wed, Nov 17, 2010 at 11:00 AM, Peter Blokland pe...@desk.nl wrote: hi, On Wed, Nov 17, 2010 at 10:54:48AM -0500, Ken Stanley wrote: pubdate:([* TO NOW] OR (NOT *)) Instead of using NOT, try simply prefixing the field name with a minus sign. This tells SOLR to exclude the field

Re: DIH for multilingual index multiValued field?

2010-11-13 Thread Ken Stanley
On Sat, Nov 13, 2010 at 4:56 PM, Ahmet Arslan iori...@yahoo.com wrote: For (1) you probably need to write a custom transformer. Something like: public Object transformRow(MapString, Object row)     { String language_code = row.get(language_code); String text = row.get(text);

Re: DIH for multilingual index multiValued field?

2010-11-13 Thread Ken Stanley
On Sat, Nov 13, 2010 at 5:59 PM, Ken Stanley doh...@gmail.com wrote:   CREATE TABLE documents (       id INT NOT NULL AUTO_INCREMENT,       language_code CHAR(2),       tags CHAR(30),       text TEXT,       PRIMARY KEY (id)   ); I apologize, but I couldn't leave the typo in my last post

Re: scheduling imports and heartbeats

2010-11-10 Thread Ken Stanley
On Tue, Nov 9, 2010 at 10:16 PM, Tri Nguyen tringuye...@yahoo.com wrote: Hi, Can I configure solr to schedule imports at a specified time (say once a day, once an hour, etc)? Also, does solr have some sort of heartbeat mechanism? Thanks, Tri Tri, If you use the DataImportHandler (DIH),

Re: Best practice for emailing this list?

2010-11-10 Thread Ken Stanley
On Wed, Nov 10, 2010 at 1:11 PM, robo - robom...@gmail.com wrote: How do people email this list without getting spam filter problems? Depends on which side of the spam filter that you're referring to. I've found that to keep these emails from entering my spam filter is to add a rule to Gmail

Re: dynamically create unique key

2010-11-09 Thread Ken Stanley
the various tag keywords for each blog entry; this is where multiValued comes in handy. I hope that this helps to clarify things for you. - Ken Stanley

Re: dynamically create unique key

2010-11-09 Thread Ken Stanley
On Tue, Nov 9, 2010 at 10:53 AM, Christopher Gross cogr...@gmail.com wrote: Thanks Ken. I'm using a script with Java/SolrJ to copy documents from their original locations into the Solr Index. I wasn't sure if the copyField would help me, but from your answers it seems that I'll have to

Re: spell check vs terms component

2010-11-09 Thread Ken Stanley
/AnalyzersTokenizersTokenFilters#solr.EdgeNGramFilterFactory - Ken Stanley

Re: Fixed value in dataimporthandler

2010-11-08 Thread Ken Stanley
definition and reindexing to see if that gives you what you're looking for? - Ken Stanley PS. If this came through twice, I apologize; I got a bounce-back saying my original reply was blocked, so I'm trying to re-send as plain text.

Re: Tomcat special character problem

2010-11-07 Thread Ken Stanley
On Sun, Nov 7, 2010 at 9:11 AM, Em mailformailingli...@yahoo.de wrote: Hi List, I got an issue with my Solr-environment in Tomcat. First: I am not very familiar with Tomcat, so it might be my fault and not Solr's. It can not be a solr-side configuration problem, since everything worked

Re: Tomcat special character problem

2010-11-07 Thread Ken Stanley
On Sun, Nov 7, 2010 at 9:34 AM, Em mailformailingli...@yahoo.de wrote: Hi Ken, thank you for your quick answer! To make sure that there occurs no mistakes at my application's side, I send my requests with the form that is available at solr/admin/form.jsp I changed almost nothing from the

Re: querying multiple fields as one

2010-11-04 Thread Ken Stanley
with SOLR has a dismax parser that you can modify to your needs. - Ken Stanley

Re: Phrase Query Problem?

2010-11-02 Thread Ken Stanley
On Tue, Nov 2, 2010 at 8:19 AM, Erick Erickson erickerick...@gmail.comwrote: That's not the response I get when I try your query, so I suspect something's not quite right with your test... But you could also try putting parentheses around the words, like

Highlighting and maxBooleanClauses limit

2010-11-02 Thread Ken Stanley
]]/str /lst /formatter /highlighting It is worth noting that I have not done anything (except formatting) to the highlighting configuration in solrconfig.xml. Any help, assistance, and/or guidance that can be provided would be greatly appreciated. Thank you, Ken Stanley

Re: Highlighting and maxBooleanClauses limit

2010-11-02 Thread Ken Stanley
On Tue, Nov 2, 2010 at 11:26 AM, Koji Sekiguchi k...@r.email.ne.jp wrote: (10/11/02 23:14), Ken Stanley wrote: I've noticed in the stack trace that this exception occurs when trying to build the query for the highlighting; I've confirmed this by copying the params and changing hl=true to hl

Re: Phrase Query Problem?

2010-11-01 Thread Ken Stanley
On Mon, Nov 1, 2010 at 10:26 PM, Tod listac...@gmail.com wrote: I have a number of fields I need to do an exact match on. I've defined them as 'string' in my schema.xml. I've noticed that I get back query results that don't have all of the words I'm using to search with. For example:

Re: indexing '-

2010-10-31 Thread Ken Stanley
On Sun, Oct 31, 2010 at 12:12 PM, PeterKerk vettepa...@hotmail.com wrote: I have a city named 's-Hertogenbosch I want it to be indexed exactly like that, so 's-Hertogenbosch (without ) But now I get: lst name=city int name=hertogenbosch1/int int name=s1/int int

Re: If I want to move a core from one physical machine to another....

2010-10-28 Thread Ken Stanley
On Wed, Oct 27, 2010 at 6:12 PM, Ron Mayer r...@0ape.com wrote: If I want to move a core from one physical machine to another, is it as simple as just scp -r core5 otherserver:/path/on/other/server/ and then adding core name=core5name instanceDir=core5 / on that other server's solr.xml

Re: If I want to move a core from one physical machine to another....

2010-10-28 Thread Ken Stanley
On Thu, Oct 28, 2010 at 8:07 AM, Ephraim Ofir ephra...@icq.com wrote: How is this better than replication? Ephraim Ofir It's not; for our needs here, we have not set up replication through SOLR. We are working through OOM problems/performance tuning first, then best practices second. I just

Re: Looking for Developers

2010-10-28 Thread Ken Stanley
On Thu, Oct 28, 2010 at 2:57 PM, Michael McCandless luc...@mikemccandless.com wrote: I don't think we should do this until it becomes a real problem. The number of job offers is tiny compared to dev emails, so far, as far as I can tell. Mike By the time that it becomes a real problem, it

Re: How do I this in Solr?

2010-10-26 Thread Ken Stanley
On Tue, Oct 26, 2010 at 9:15 AM, Savvas-Andreas Moysidis savvas.andreas.moysi...@googlemail.com wrote: If I get your question right, you probably want to use the AND binary operator as in samsung AND andriod AND GPS or +samsung +andriod +GPS N.b. For these queries you can also pass the q.op

Re: ClassCastException Issue

2010-10-26 Thread Ken Stanley
On Mon, Oct 25, 2010 at 2:45 AM, Alex Matviychuk alex...@gmail.com wrote: Getting this when deploying to tomcat: [INFO][http-4443-exec-3][solr.schema.IndexSchema] readSchema():394 Reading Solr Schema [INFO][http-4443-exec-3][solr.schema.IndexSchema] readSchema():408 Schema name=tsadmin

Re: DataImporter using pure solr add XML

2010-10-25 Thread Ken Stanley
/field1 field2more data/field2 ... /CHILD_NODE /XMLROOT Also note that, in my experience, case sensitivity matters when parsing your xpath instructions. I hope this helps! - Ken Stanley

Re: xpath processing

2010-10-23 Thread Ken Stanley
On Fri, Oct 22, 2010 at 11:52 PM, pghorp...@ucla.edu wrote: dataConfig dataSource name=myfilereader type=FileDataSource/ document entity name=f rootEntity=false dataSource=null processor=FileListEntityProcessor fileName=.*xml recursive=true baseDir=C:\data\sample_records\mods\starr

Re: xpath processing

2010-10-22 Thread Ken Stanley
Parinita, In its simplest form, what does your entity definition for DIH look like; also, what does one record from your xml look like? We need more information before we can really be of any help. :) - Ken It looked like something resembling white marble, which was probably what it was:

Re: boosting injection

2010-10-19 Thread Ken Stanley
Andrea, Using the SOLR dismax query handler, you could set up queries like this to boost on fields of your choice. Basically, the q parameter would be the query terms (without the field definitions, and a qf (Query Fields) parameter that you use to define your boost(s):

Re: **SPAM** Re: boosting injection

2010-10-19 Thread Ken Stanley
isn't it? Regards Andrea -- *From:* Ken Stanley [mailto:doh...@gmail.com] *To:* solr-user@lucene.apache.org *Sent:* Tue, 19 Oct 2010 15:05:31 +0200 *Subject:* **SPAM** Re: boosting injection Andrea, Using the SOLR dismax query handler, you could set up queries

Re: Documents and Cores, take 2

2010-10-19 Thread Ken Stanley
Ron, In the past I've worked with SOLR for a product that required the ability to search - separately - for companies, people, business lists, and a combination of the previous three. In designing this in SOLR, I found that using a combination of explicit field definitions and dynamic fields (

Re: SOLR DateTime and SortableLongField field type problems

2010-10-18 Thread Ken Stanley
, Oct 15, 2010 at 6:42 PM, Ken Stanley doh...@gmail.com wrote: Hello all, I am using SOLR-1.4.1 with the DataImportHandler, and I am trying to follow the advice from http://www.mail-archive.com/solr-user@lucene.apache.org/msg11887.htmlabout converting date fields to SortableLong fields

Re: SOLR DateTime and SortableLongField field type problems

2010-10-18 Thread Ken Stanley
in the exception I've described (displaying the date in the incorrect format). Thanks, Ken Stanley

Re: problem on running fullimport

2010-10-15 Thread Ken Stanley
On Fri, Oct 15, 2010 at 7:42 AM, swapnil dubey swapnil.du...@gmail.comwrote: Hi, I am using the full import option with the data-config file as mentioned below dataConfig dataSource type=JdbcDataSource driver=com.mysql.jdbc.Driver url=jdbc:mysql:///xxx user=xxx password=xx /

SOLR DateTime and SortableLongField field type problems

2010-10-15 Thread Ken Stanley
Hello all, I am using SOLR-1.4.1 with the DataImportHandler, and I am trying to follow the advice from http://www.mail-archive.com/solr-user@lucene.apache.org/msg11887.html about converting date fields to SortableLong fields for better memory efficiency. However, whenever I try to do this using

Re: Searching Across Multiple Cores

2010-10-14 Thread Ken Stanley
in both (determined by the resourceId, which exists on both)? Cheers, Steve -Original Message- From: Ken Stanley [mailto:doh...@gmail.com] Sent: 13 October 2010 20:08 To: solr-user@lucene.apache.org Subject: Re: Searching Across Multiple Cores On Wed, Oct 13, 2010 at 2:11 PM, Lohrenz

Re: Searching Across Multiple Cores

2010-10-13 Thread Ken Stanley
On Wed, Oct 13, 2010 at 2:11 PM, Lohrenz, Steven steven.lohr...@hmhpub.comwrote: Hi, I am trying to figure out if how I can accomplish the following: I have a fairly static and large set of resources I need to have indexed and searchable. Solr seems to be a perfect fit for that. In addition

Re: searching while importing

2010-10-13 Thread Ken Stanley
On Wed, Oct 13, 2010 at 6:38 PM, Shawn Heisey s...@elyograg.org wrote: If you are using the DataImportHandler, you will not be able to search new data until the full-import or delta-import is complete and the update is committed. When I do a full reindex, it takes about 5 hours, and until it

Re: Solr PHP PECL Extension going to Stable Release - Wishing for Any New Features?

2010-10-12 Thread Ken Stanley
($solrquery-getFields() as $field) { // Do something } } ? This is a minor request, I know. But, I feel that it would go a long way toward polishing the extension up for general consumption. Thank you, Ken Stanley PS. I apologize if this request has come through the pipes already