Re: Reading timestamp for DIH

2010-12-04 Thread Koji Sekiguchi
(10/11/24 6:05), Siddharth Powar wrote: Hey, Is it possible to read the timestamp that the DataImportHandler uses for a delta-import from a location other than conf/dataimport.properties. Thanks, Sid No. There is an open issue for this problem:

Re: finding exact case insensitive matches on single and multiword values

2010-12-04 Thread PeterKerk
Geert-Jan and Erick, thanks! What I tried first is making it work with string type, that works perfect for all lowercase values! What I do not understand is how and why I have to make the casing work at the client, since the casing differs in the database. Right now in the database I have

Re: Problem with DIH delta-import delete.

2010-12-04 Thread Koji Sekiguchi
(10/11/17 20:18), Matti Oinas wrote: Solr does not delete documents from index although delta-import says it has deleted n documents from index. I'm using version 1.4.1. The schema looks like fields field name=uuid type=string indexed=true stored=true required=true / field

Re: finding exact case insensitive matches on single and multiword values

2010-12-04 Thread Ahmet Arslan
Then to the solution of tweaking the fieldtype for me to work. I have this right now:         fieldType name=myField class=solr.TextField sortMissingLast=true omitNorms=true     analyzer         tokenizer class=solr.KeywordTokenizerFactory/         filter

RE: finding exact case insensitive matches on single and multiword values

2010-12-04 Thread Jonathan Rochkind
ALL solr queries are case-sensitive. The trick is in the analyzers. If you downcase everything at index time before you put it in the index, and downcase all queries at query time too -- then you have case-insensitive query. Not because the Solr search algorithms are case insensitive, but

autocommit commented out -- what is the default?

2010-12-04 Thread Brian Whitman
Hi, if you comment out the block in solrconfig.xml !-- autoCommit maxDocs1/maxDocs maxTime60/maxTime /autoCommit -- Does this mean that (a) commits never happen automatically or (b) some default autocommit is applied?

Re: autocommit commented out -- what is the default?

2010-12-04 Thread Yonik Seeley
On Sat, Dec 4, 2010 at 10:36 AM, Brian Whitman br...@echonest.com wrote: Hi, if you comment out the block in solrconfig.xml !--   autoCommit      maxDocs1/maxDocs      maxTime60/maxTime    /autoCommit -- Does this mean that (a) commits never happen automatically or (b) some

Re: Batch Update Fields

2010-12-04 Thread Adam Estrada
Synonyms eh? I have a synonym list like the following so how do I identify the synonyms on a specific field. The only place the field is used is as a facet. original field = country name AF = AFGHANISTAN AX = ÅLAND ISLANDS AL = ALBANIA DZ = ALGERIA AS = AMERICAN SAMOA AD = ANDORRA AO = ANGOLA AI

Re: Batch Update Fields

2010-12-04 Thread Erick Erickson
When you define your fieldType at index time. My idea was that you substitue these on the way in to your index. You may need a specific field type just for your country conversion Perhaps in a copyField if you need both the code and full name Best Erick On Sat, Dec 4, 2010 at 12:16 PM,

Re: How to make a client in JSP which will take output from Solr Server

2010-12-04 Thread Anurag
Ok, I solved it by just opening the connection and then parsing the output from xml to front page. Though It has some security isuue... - Kumar Anurag -- View this message in context:

FastVectorHighlighter ignoring fragmenter parameter . . .

2010-12-04 Thread CRB
Got the FVH to work in Solr 3.1 (or at least I presume I have given I can see multi-color highlighting in the output.) But I am not able to get it to recognize the regex fragmenter. I get no change in output if I specify the fragmenter. In fact, I can even enter bogus names for the fragmenter

Solr Got Exceptions When schema.xml is Changed

2010-12-04 Thread Bing Li
Dear all, I am a new user of Solr. Now I am just trying to try some basic samples. Solr can be started correctly with Tomcat. However, when putting a new schema.xml under SolrHome/conf and starting Tomcat again, I got the following two exceptions. The Solr cannot be started correctly unless

Re: Solr Got Exceptions When schema.xml is Changed

2010-12-04 Thread Peter Karich
QueryElevationComponent requires the schema to have a uniqueKeyFie ld implemented using StrField you should use the type StrField ('string') for the field used in uniqueKeyField

RE: autocommit commented out -- what is the default?

2010-12-04 Thread Jonathan Rochkind
It means they never happen automatically, added documents wont' be committed until you send a commit to solr. Jonathan From: Brian Whitman [br...@echonest.com] Sent: Saturday, December 04, 2010 10:36 AM To: solr-user@lucene.apache.org Subject: autocommit

Full text hit term highlighting

2010-12-04 Thread Rich Cariens
Anyone ever use Solr to present a view of a document with hit-terms highlighted within? Kind of like Google's cached http://bit.ly/hgudWqcopies?

Re: Full text hit term highlighting

2010-12-04 Thread Lance Norskog
Set the fragment length to 0. This means highlight the entire text body. If, you have stored the text body. Otherwise, you have to get the term vectors somehow and highlight the text yourself. I investigated this problem awhile back for PDFs. You can add a starting page and an OR list of search

Re: Question about Solr Fieldtypes, Chaining of Tokenizers

2010-12-04 Thread Grant Ingersoll
Could you expand on your example and show the output you want? FWIW, you could simply write a token filter that does the same thing as the WhitespaceTokenizer. -Grant On Dec 3, 2010, at 1:14 PM, Matthew Hall wrote: Hey folks, I'm working with a fairly specific set of requirements for our

Re: Question about Solr Fieldtypes, Chaining of Tokenizers

2010-12-04 Thread Robert Muir
On Fri, Dec 3, 2010 at 1:14 PM, Matthew Hall mh...@informatics.jax.org wrote: Oh, and let me add that the WordDelimiterFilter comes really close to what I want, but since we are unwilling to promote our solr version to the trunk (we are on the 1.4x) version atm, the inability to turn off the

Re: Exceptions in Embedded Solr

2010-12-04 Thread Tharindu Mathew
Any help on this? On Thu, Dec 2, 2010 at 7:51 PM, Tharindu Mathew mcclou...@gmail.com wrote: Hi everyone, I get the exception below when using Embedded Solr suddenly. If I delete the Solr index it goes back to normal, but it obviously has to start indexing from scratch. Any idea what the

Re: How to make a client in JSP which will take output from Solr Server

2010-12-04 Thread Gora Mohanty
On Sun, Dec 5, 2010 at 1:51 AM, Anurag anurag.it.jo...@gmail.com wrote: Ok, I solved it by just opening the connection and then parsing the output from xml to front page. Though It has some security isuue... See AJAX Solr: http://evolvingweb.github.com/ajax-solr/ Regards, Gora