Re: delta-import not giving updated records

2009-02-24 Thread Lance Norskog
You could try making a view for this query and then loading that view. This will give you simpler syntax in the data-config.xml file. You may find that the query you are trying is itself wrong. Using a view also lets you examine the data your are importing. Lance On 2/23/09, Noble Paul നോബിള്‍

field collapsing in a nightly-build

2009-02-24 Thread Marc Sturlese
I have seen field collapsing patch ( http://issues.apache.org/jira/browse/SOLR-236 ) has been market for Solr 1.5 but... Has anyone made it work with a recent nightly build ?? -- View this message in context: http://www.nabble.com/field-collapsing-in-a-nightly-build-tp22179010p22179010.html

Field Boosting with Alt Query

2009-02-24 Thread dabboo
Hi, I am trying to achieve field boosting with alt query. I am giving wildcard in the query and it is working fine and field boosting is working with normal q query. I want to achieve both with q query. I am able to do wildcard search with q query but now I am not getting the field boosting

Wildcard search with q query

2009-02-24 Thread dabboo
Hi, I am trying to perform wildcard search using q query. e.g. If I give tes* as the query, it works fine and returns the results as expected. But if I give *tes*, then it throws an exception saying that we cant have wildcards in front of any string. Please suggest. Thanks, Amit Garg --

Field Boosting with wildcard

2009-02-24 Thread dabboo
Hi, I am trying to achieve the field boosting in wild card search. If I do normal search, then this field boosting works fine but if I use wildcard in the search string, then it field boosting doesnt work. Please suggest. thanks, Amit garg -- View this message in context:

RE: Wildcard search with q query

2009-02-24 Thread Jana, Kumar Raja
Hi Amit, Leading wildcard searches are not allowing in Solr Out-of-the-box. There are other techniques to overcome this handicap. Search for Leading Wildcards in the user mailing list archives will return the necessary mail threads which might be pretty useful to you. -Kumar -Original

RE: Field Boosting with wildcard

2009-02-24 Thread Jana, Kumar Raja
Hi Amit, Wildcard searches do not support highlighting and rank boosting from Solr-1.3 onwards. -Kumar -Original Message- From: dabboo [mailto:ag...@sapient.com] Sent: Tuesday, February 24, 2009 4:06 PM To: solr-user@lucene.apache.org Subject: Field Boosting with wildcard Hi, I am

any experiences with running SOLR on OpenJDK?

2009-02-24 Thread Christian Vogler
Hi all, does anyone have experience with running SOLR on OpenJDK 6.0? Any data points, positive or negative, would be appreciated. I am trying to decide whether to switch to OpenJDK on Debian Lenny, or whether to stick with the non-free JDK 5.0 for the time being. Best regards - Christian

Re: Field Boosting with wildcard

2009-02-24 Thread dabboo
Hi, Thanks for the information. But can we achieve wildcards with q query instead of q.alt parameter. thanks, Amit dabboo wrote: Hi, I am trying to achieve the field boosting in wild card search. If I do normal search, then this field boosting works fine but if I use wildcard in

Re: any experiences with running SOLR on OpenJDK?

2009-02-24 Thread Mark Miller
Christian Vogler wrote: Hi all, does anyone have experience with running SOLR on OpenJDK 6.0? Any data points, positive or negative, would be appreciated. I am trying to decide whether to switch to OpenJDK on Debian Lenny, or whether to stick with the non-free JDK 5.0 for the time being.

Re: arcane queryParser parseException

2009-02-24 Thread Brian Whitman
: I went ahead and added it since it does not hurt anything to escape more : things -- it just makes the final string ugly. : In 1.3 the escape method covered everything: H good call, i didn't realize the escape method had been so blanket in 1.3. this way we protect people who

show up every parameter in my dismax query

2009-02-24 Thread sunnyfr
Hi Sorry I dont remember what is the parameter which show up every parameters stores in my solrconfig.xml file for the dismax query ? thanks a lot, -- View this message in context: http://www.nabble.com/show-up-every-parameter-in-my-dismax-query-tp22181063p22181063.html Sent from the

Re: show up every parameter in my dismax query

2009-02-24 Thread Koji Sekiguchi
sunnyfr wrote: Hi Sorry I dont remember what is the parameter which show up every parameters stores in my solrconfig.xml file for the dismax query ? thanks a lot, echoParams=all ? regards, Koji

Re: show up every parameter in my dismax query

2009-02-24 Thread sunnyfr
yes thanks a lot Koji, Koji Sekiguchi-2 wrote: sunnyfr wrote: Hi Sorry I dont remember what is the parameter which show up every parameters stores in my solrconfig.xml file for the dismax query ? thanks a lot, echoParams=all ? regards, Koji -- View this

java.lang.NoSuchMethodError: org.apache.solr.common.util.ConcurrentLRUCache.getLatestAccessedItems(J)Ljava/util/Map;

2009-02-24 Thread Brian Whitman
Seeing this in the logs of an otherwise working solr instance. Commits are done automatically I believe every 10m or 1 docs. This is solr trunk (last updated last night) Any ideas? INFO: [] webapp=/solr path=/select

RE: Direct control over document position in search results

2009-02-24 Thread Steven A Rowe
Hi Tolga, Here's a good place to start: http://wiki.apache.org/solr/QueryElevationComponent Steve On 2/23/2009 at 7:47 PM, Ercan, Tolga wrote: I was wondering if there was any facility to directly manipulate search results based on business criteria to place documents at a fixed position in

Collection distribution in a multicore environment

2009-02-24 Thread Jérôme Etévé
Hi fellow Solr fans, I'm setting up some collection distribution along with multicore solr . I'm using version 1.3 I have no problem with the snapshooter, since this can be set within each core in solrconfig.xml. My question is more about the rsyncd . The rsyncd-start creates a

Re: sint vs integer

2009-02-24 Thread Amit Nithian
I believe the difference is that an sint is mangled in such a way that it will sort properly (i.e. during a range query) where as a regular integer is not. Since everything is stored as a string in lucene, sorting by numbers happens lexicographically which may not be the same as an ordinal sort.

warming question

2009-02-24 Thread Marc Sturlese
Hey there, Is there any dynamic way to specify the queries to do the warming? I mean, not writing them hardcoded in solrconfig.xml but getting them from a database or from another file?? Thanks in advance -- View this message in context:

Re: java.lang.NoSuchMethodError: org.apache.solr.common.util.ConcurrentLRUCache.getLatestAccessedItems(J)Ljava/util/Map;

2009-02-24 Thread Mark Miller
Most likely a jar issue. Did you clean before dist? The commons jar is probably out of whack with the solr jar - or something in that realm of thought. I'd fresh build and deploy again. -- - Mark http://www.lucidimagination.com Brian Whitman wrote: Seeing this in the logs of an otherwise

Re: java.lang.NoSuchMethodError: org.apache.solr.common.util.ConcurrentLRUCache.getLatestAccessedItems(J)Ljava/util/Map;

2009-02-24 Thread Ryan McKinley
i hit that one too! try: ant clean On Feb 24, 2009, at 12:08 PM, Brian Whitman wrote: Seeing this in the logs of an otherwise working solr instance. Commits are done automatically I believe every 10m or 1 docs. This is solr trunk (last updated last night) Any ideas? INFO: []

Re: Error with highlighter and UTF-8 chars?

2009-02-24 Thread Peter Wolanin
Here you can see a manifestation of it when trying to highlight with ?q=daß lst name=highlighting − lst name=ebdcc46ab3791a12dccd0f915a463bd2/node/11622 − arr name=body − str -Community einfach nicht mehr wahrnimmt. Hätte mir am letzten Montag Nachmittag jemand gesagt, strongdaß /strongich am

Re: arcane queryParser parseException

2009-02-24 Thread Chris Hostetter
: H good call, i didn't realize the escape method had been so : blanket in 1.3. this way we protect people who were using it in 1.3 and : relied on it to protect them from the legacy ; behavior. : Thanks hoss and ryan. That explains why the error was new to us-- we : upgraded to

Re: Error with highlighter and UTF-8 chars?

2009-02-24 Thread Peter Wolanin
So - something in the highlighting code is counting bytes when it should be counting characters. Looks like a lucene bug, so I'm surprised others have not hit this before. Probably this is it: https://issues.apache.org/jira/browse/LUCENE-1500 -Peter On Tue, Feb 24, 2009 at 2:22 PM, Peter

Re: Error with highlighter and UTF-8 chars?

2009-02-24 Thread Peter Wolanin
Actually, looking at the Lucene source and the trace: java.lang.StringIndexOutOfBoundsException: String index out of range: 2822 at java.lang.String.substring(String.java:1765) at org.apache.lucene.search.highlight.Highlighter.getBestTextFragments(Highlighter.java:274) at

Re: sint vs integer

2009-02-24 Thread Yonik Seeley
On Mon, Feb 23, 2009 at 8:40 PM, Jonathan Haddad j...@letsgetnuts.com wrote: What are the differences between using an sint and an integer, aside from the range queries on sint?  If I've indexed a field as an integer, and I try to sort on it, will there be performance problem? Nope. If you

Re: Persistent, seemingly unfixable corrupt indices

2009-02-24 Thread James Brady
Thanks for your answers Michael! I was using a pre-1.3 Solr build, but I've now upgraded to the 1.3 release, run the new CheckIndex shipped as part of the Lucene 2.4 dev build and I'm still getting the CorruptIndexException: docs out of order exceptions I'm afraid. Upon a fresh start, on newly

Re: java.lang.NoSuchMethodError: org.apache.solr.common.util.ConcurrentLRUCache.getLatestAccessedItems(J)Ljava/util/Map;

2009-02-24 Thread Brian Whitman
Yep, did ant clean, made sure all the solr-libs were current, no more exception. Thanks ryan mark On Tue, Feb 24, 2009 at 1:47 PM, Ryan McKinley ryan...@gmail.com wrote: i hit that one too! try: ant clean On Feb 24, 2009, at 12:08 PM, Brian Whitman wrote: Seeing this in the logs of

Re: warming question

2009-02-24 Thread Shalin Shekhar Mangar
On Tue, Feb 24, 2009 at 11:45 PM, Marc Sturlese marc.sturl...@gmail.comwrote: Hey there, Is there any dynamic way to specify the queries to do the warming? I mean, not writing them hardcoded in solrconfig.xml but getting them from a database or from another file?? Not right now. I had once

Re: java.lang.NoSuchMethodError: org.apache.solr.common.util.ConcurrentLRUCache.getLatestAccessedItems(J)Ljava/util/Map;

2009-02-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
please do a ant clean dist The signature of a method in ConsurrentLRUCache was altered from ConcurrentLRUCache.getLatestAccessedItems(long count) to ConcurrentLRUCache.getLatestAccessedItems(int count) On Wed, Feb 25, 2009 at 5:42 AM, Brian Whitman br...@echonest.com wrote: Yep, did ant clean,

Re: warming question

2009-02-24 Thread Amit Nithian
I'm actually working on one for my company which parses our tomcat log files to obtain queries to feed as warming queries (since GET queries are the dominant source of queries) to the firstSearcher. I am not sure what the interface is in Solr 1.3, but in 1.2, I implemented the SolrEventListener

Wildcards with q query parameter

2009-02-24 Thread dabboo
Hi, can we achieve wildcard search with q query parameter. wildcard search works fine with q.alt parameter but not with q parameter. Also, I am trying to debug the QueryParser class for the same issue, but the control is not going in the right place in the eclipse. Hence, I am not able to debug

Debugging Lucene Code

2009-02-24 Thread dabboo
Hi, I am trying to debug code of QueryParser class and other related files. I have also taken the code of lucene from its SVN, but it is not going to the right control during debug. I wnated to know if I have taken the latest code and if not, from where I can take the code. Thansk, Amit Garg