Re: filter query on timestamp slowing query???

2010-07-19 Thread oferiko
Chris Hostetter-3 wrote: > > : updating your index between queries, so you may be reloading > : your cache every time. Are you updating or adding documents > : between queries and if so, how? > : > : If this is vaguely on target, have you tried firing up warmup queries > : after you update your

Re: Finding distinct unique IDs in documents returned by fq -- Urgent Help Req

2010-07-19 Thread Ninad Raut
Hi, Also the collapsing feature doesn't give the count of number of records returned (grouped by a field value). It gives the count of the hits for the query. This is really not useful when it comes to pagination. Is there a way, at least in collapsing, wherein I can get the count of actual reco

Re: dismax request handler without q

2010-07-19 Thread Chamnap Chhorn
I can't put q=keyphrase:hotel in my request using dismax handler. It returns no result. On Tue, Jul 20, 2010 at 1:19 PM, Chamnap Chhorn wrote: > There are some default configuration on my solrconfig.xml that I didn't > show you. I'm a little confused when reading > http://wiki.apache.org/solr/Dis

Re: dismax request handler without q

2010-07-19 Thread Chamnap Chhorn
There are some default configuration on my solrconfig.xml that I didn't show you. I'm a little confused when reading http://wiki.apache.org/solr/DisMaxRequestHandler#q. I think q is for plain user input query. On Tue, Jul 20, 2010 at 12:08 PM, olivier sallou wrote: > Hi, > this is not very clear,

Re: Solr Index corruption

2010-07-19 Thread benedictdsilva
After a much closer look at the logs, I found these errors: Looks like the errors started from the 3rd day after my server was running. After the initial Java heap space error Jul 15, 2010 9:46:34 AM Solr did run for a certain time till Jul 15, 2010 8:13:33 PM when it started failing due to the

Re: dismax request handler without q

2010-07-19 Thread olivier sallou
Hi, this is not very clear, if you need to query only keyphrase, why don't you query directly it? e.g. q=keyphrase:hotel ? Furthermore, why dismax if only keyphrase field is of interest? dismax is used to query multiple fields automatically. At least dismax do not appear in your query (using query

dismax request handler without q

2010-07-19 Thread Chamnap Chhorn
I wonder how could i make a query to return only *all books* that has keyphrase "web development" using dismax handler? A book has multiple keyphrases (keyphrase is multivalued column). Do I have to pass q parameter? Is it the correct one? http://locahost:8081/solr/select?&q=hotel&fq=keyphrase:%2

Re: setting up clustering

2010-07-19 Thread Chris Hostetter
: I'm trying to enable clustering in solr 1.4. I'm following these instructions: : : http://wiki.apache.org/solr/ClusteringComponent : : However, `ant get-libraries` fails for me. Before it tries to download : the 4 jar files, it tries to compile lucene? Is this necessary? FWIW: in the future pl

Re: filter query on timestamp slowing query???

2010-07-19 Thread Chris Hostetter
: updating your index between queries, so you may be reloading : your cache every time. Are you updating or adding documents : between queries and if so, how? : : If this is vaguely on target, have you tried firing up warmup queries : after you update your index that involve your timestamp? based

Re: Ranking based on term position

2010-07-19 Thread Li Li
I have considerd this problem and tried to solve it using 2 methods By these methods, we also can boost a doc by the relative positions of query terms. 1: add term Position when indexing modify TermScorer.score public float score() { assert doc != -1; int f = freqs[pointer]; floa

Re: Spatial filtering

2010-07-19 Thread Lance Norskog
Add the debugQuery=true parameter and it will show you the Lucene query tree, and how each document is evaluated. This can help with the more complex queries. On Mon, Jul 19, 2010 at 3:35 AM, Olivier Ricordeau wrote: > Hi folks, > > I can't manage to have the new spatial filtering feature (added

Re: How to patch SOLR-1966?

2010-07-19 Thread Chamnap Chhorn
Is there an easy way to apply this patch to solr 1.4 release in my system because I will use in the production server. Thanks, Chamnap On Tue, Jul 20, 2010 at 8:49 AM, Chamnap Chhorn wrote: > The other thing I want to ask is the latest build of solr is stable or not? > I'm afraid it might bring

Re: How to patch SOLR-1966?

2010-07-19 Thread Chamnap Chhorn
The other thing I want to ask is the latest build of solr is stable or not? I'm afraid it might bring some other problems to my system. Thanks, Chamnap On Tue, Jul 20, 2010 at 8:41 AM, Chamnap Chhorn wrote: > Ah, I get what you mean. One more thing, I wonder the patch SOLR-1147 has > included in

Re: How to patch SOLR-1966?

2010-07-19 Thread Chamnap Chhorn
Ah, I get what you mean. One more thing, I wonder the patch SOLR-1147 has included in the last successful build or not? Thanks, Chamnap On Tue, Jul 20, 2010 at 8:26 AM, Erick Erickson wrote: > Not 1.4 released, 1.4 last successful build. I don't think the 1.4 release > has the patch applied. >

Re: How to patch SOLR-1966?

2010-07-19 Thread Erick Erickson
Not 1.4 released, 1.4 last successful build. I don't think the 1.4 release has the patch applied. See the second link I originally provided. HTH Erick On Mon, Jul 19, 2010 at 9:15 PM, Chamnap Chhorn wrote: > I'm using Solr 1.4, but the exclusive=true doesn't work for me at all. I > wonder how t

Re: How to patch SOLR-1966?

2010-07-19 Thread Chamnap Chhorn
I'm using Solr 1.4, but the exclusive=true doesn't work for me at all. I wonder how that is ? Any ideas? On Tue, Jul 20, 2010 at 6:40 AM, Erick Erickson wrote: > I don't think you need to go there. That patch has been committed > to the 3.x code line as well as the 1.4. You can get the 3x build

Re: filter query on timestamp slowing query???

2010-07-19 Thread Erick Erickson
Here's my guess, and it's only a guess. I'm inferring that you're updating your index between queries, so you may be reloading your cache every time. Are you updating or adding documents between queries and if so, how? If this is vaguely on target, have you tried firing up warmup queries after you

Re: How to patch SOLR-1966?

2010-07-19 Thread Erick Erickson
I don't think you need to go there. That patch has been committed to the 3.x code line as well as the 1.4. You can get the 3x build here: http://hudson.zones.apache.org/hudson/job/Solr-3.x/ Just try that... Or you can get the latest build if you're working with 1.4 here: http://hudson.zones.apache

Re: Autocomplete with NGrams

2010-07-19 Thread Frank A
Just to confirm - does multicore sound like the right solution here? Is it not possible to "serve" both use cases from one core? Thanks. On Mon, Jul 19, 2010 at 5:12 PM, MitchK wrote: > > Frank, > > have a look at Solr's example-directory's and look for 'multicore'. There > you can see an exampl

Re: Autocomplete with NGrams

2010-07-19 Thread MitchK
Frank, have a look at Solr's example-directory's and look for 'multicore'. There you can see an example-configuration for a multicore-environment. Kind regards, - Mitch -- View this message in context: http://lucene.472066.n3.nabble.com/Autocomplete-with-NGrams-tp979312p979610.html Sent from

Re: Problem with Solr-Mailinglist

2010-07-19 Thread MitchK
Thank you both. I will do what Hoss suggested, tomorrow. The mail was sent over the nabble-board and another time over my thunderbird-client. Both with the same result. So there was not more HTML-code than it was in every of my other postings. Kind regards - Mitch -- View this message in contex

RE: indexing best practices

2010-07-19 Thread Burton-West, Tom
Hi Ken, This is all very dependent on your documents, your indexing setup and your hardware. Just as an extreme data point, I'll describe our experience. We run 5 clients on each of 6 machines to send documents to Solr using the standard http xml process. Our documents contain about 10 field

Autocomplete with NGrams

2010-07-19 Thread Frank A
I'm trying to follow the link below for setting up an auto complete/suggest via NGrams: http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/ I'm trying to do it withing a single SOLR instance, but since this index isn't an index of the main documents

RE: Re: Wiki, login and password recovery

2010-07-19 Thread Markus Jelsma
This happened just a few hours ago and the problem persists at this very moment. I filed an issue: https://issues.apache.org/jira/browse/INFRA-2884   Cheers!   -Original message- From: Chris Hostetter Sent: Mon 19-07-2010 20:23 To: solr-user@lucene.apache.org; Subject: Re: Wiki, logi

Ranking based on term position

2010-07-19 Thread Papiya Misra
I need to make sure that documents with the search term occurring towards the beginning of the document are ranked higher. For example, Search term : ox Doc 1: box fox ox Doc 2: ox box fox Result: Doc2 will be ranked higher than Doc1. The solution I can think of is sorting by term position (af

Re: Problem with Solr-Mailinglist

2010-07-19 Thread Marvin Humphrey
On Mon, Jul 19, 2010 at 11:28:10AM -0700, Chris Hostetter wrote: > > : this message for the fourth time to the Solr Mailinglist and everytime I > : get the following response from the Mailing-list's server: > > I have no idea why it might be flaged as spam -- but many of the reasons > why spam

Re: Problem with Solr-Mailinglist

2010-07-19 Thread Chris Hostetter
: this message for the fourth time to the Solr Mailinglist and everytime I : get the following response from the Mailing-list's server: I have no idea why it might be flaged as spam -- but many of the reasons why spam filters flag things have nothing to do with content, and everything to do wi

Re: Wiki, login and password recovery

2010-07-19 Thread Chris Hostetter
You don't need to subscribe to any infra lists to file an INFRA bug, just use Jira... https://issues.apache.org/jira/browse/INFRA Note that there was infra work this weekend that involved moving servers for the wiki system (as was noted in advance on http://monitoring.apache.org and http://tw

How to get the list of all available fields in a (sharded) index

2010-07-19 Thread olivier sallou
Hi, I cannot find any info on how to get the list of current fields in an index (possibly sharded). With dynamic fields, I cannot simply parse the schema to know what field are available. Is there any way to get it via a request (or easilly programmable) ? I know information is available in one of

Wiki, login and password recovery

2010-07-19 Thread Markus Jelsma
Hi,   This probably should be in INFRA (to which i'm not subscribed) or something like that. Anyway, for some reason, my user/pass won't let me login anymore and i'm quite sure my browser still `remembers` the correct combination. I'm unsure whether this is a bug: to get that answer, i need to

stats on a field with no values

2010-07-19 Thread Jonathan Rochkind
When I use the stats component on a field that has no values in the result set (ie, stats.missing == rowCount), I'd expect that 'min'and 'max' would be blank. Instead, they seem to be the smallest and largest float values or something, min = 1.7976931348623157E308, max = 4.9E-324 . Is this a

Re: slovene language support

2010-07-19 Thread Robert Muir
Hello, There is some information here (prototype stemmer) about support in snowball. But Martin Porter had some unanswered questions/reservations so nothing ever got added to snowball: http://snowball.tartarus.org/archives/snowball-discuss/0725.html

slovene language support

2010-07-19 Thread Markus Goldbach
Hi, I want to setup an solr with support for several languages. The language list includes slovene, unfortunately I found nothing about it in the wiki. Has some one experiences with solr 1.4 and slovene? thanks for help Markus

2 solr dataImport requests on a single core at the same time

2010-07-19 Thread kishan
Hi, Iam using solr 1.4 version Iam using a single cored solr , iam doing full-import always. my problem is i have 2 clients , on 1 client i have some 3lacks records to index while the solr DataImport has been called and doing the index for this client1 iam sending another solrDataImport request

Re: filter query on timestamp slowing query???

2010-07-19 Thread oferiko
1.I query my index once every 30 minutes. I save the timestamp of the newest returned document. next time i query doe documents with timestamp between the timestamp i saved from the previous query and NOW. 2.Sad to day it is not optimized, i'm at 60% of the disk space, and waiting for another dis

Re: Finding distinct unique IDs in documents returned by fq -- Urgent Help Req

2010-07-19 Thread kenf_nc
Oh, okay. Got it now. Unfortunately I don't believe Solr supplies a total count of matching facet values. One way to do this, although performance may suffer, is to set your limit to -1 and just get back everything, that will give you the count. You may want to set mincount to 1 so you aren't coun

RE: Finding distinct unique IDs in documents returned by fq -- Urgent Help Req

2010-07-19 Thread Jonathan Rochkind
> I would like get the total count of the facet.field response values I'm pretty sure there's no way to get Solr to do that -- other than not setting a facet.limit, getting every value back in the response, and counting them yourself (not feasible for very large counts). I've looked at trying

Re: filter query on timestamp slowing query???

2010-07-19 Thread Ahmet Arslan
> my goal is to run a query and limit it with the timestamp > of the last document i found. I didn't understand this part. > will TrieDateField give me this precision? You should use tdate instead of pdate for faster date range queries and date faceting. Please comments in schema.xml file. >

Re: jetty logging

2010-07-19 Thread Lukas Kahwe Smith
On 17.07.2010, at 15:39, Lukas Kahwe Smith wrote: > Hi, > > I am following: > http://wiki.apache.org/solr/LoggingInDefaultJettySetup > > All works fine except defining the logging properties files from jetty.xml > Does this approach work for anyone else? problem solved i had to remove "-Dcom

Problem with Solr-Mailinglist

2010-07-19 Thread MitchK
Hello, I try to post http://lucene.472066.n3.nabble.com/Solr-in-an-extra-project-what-about-replication-scaling-etc-td977961.html#a977961 this message for the fourth time to the Solr Mailinglist and everytime I get the following response from the Mailing-list's server: > solr-user@lucene.

Re: why spellcheck and elevate search components can't work together?

2010-07-19 Thread dan sutton
It needs to be : spellcheck elevateListings or elevateListings spellcheck Dan On Mon, Jul 19, 2010 at 11:14 AM, Chamnap Chhorn wrote: > In my solrconfig.xml, I setup this way, but it doesn't work at all. Any one > can help? it works one without other one.

Re: why spellcheck and elevate search components can't work together?

2010-07-19 Thread Koji Sekiguchi
(10/07/19 19:14), Chamnap Chhorn wrote: In my solrconfig.xml, I setup this way, but it doesn't work at all. Any one can help? it works one without other one. string_ci elevateListings.xml false explicit 20 dismax name^2 full_text^1

Spatial filtering

2010-07-19 Thread Olivier Ricordeau
Hi folks, I can't manage to have the new spatial filtering feature (added in r962727 by Grant Ingersoll, see https://issues.apache.org/jira/browse/SOLR-1568) working. I'm trying to get all the documents located within a circle defined by its center and radius. I've modified my query url as sp

How to patch SOLR-1966?

2010-07-19 Thread Chamnap Chhorn
Hi, I'm a ruby developer, no background in Java at all. I need *exclusive=true*to work on elevation search component. However, it does need a patch, https://issues.apache.org/jira/browse/SOLR-1966. Anyone could present me a step by step in order to do that? -- Chhorn Chamnap http://chamnapchhor

why spellcheck and elevate search components can't work together?

2010-07-19 Thread Chamnap Chhorn
In my solrconfig.xml, I setup this way, but it doesn't work at all. Any one can help? it works one without other one. string_ci elevateListings.xml false explicit 20 dismax name^2 full_text^1 uuid 2.2 on 0.1

Re: Finding distinct unique IDs in documents returned by fq -- Urgent Help Req

2010-07-19 Thread Ninad Raut
Hi, I would like get the total count of the facet.field response values: i.e. if my response id 17 12 12 9 4 I would like the count of uniques names found as 5 ("Canon USA"+"Olympus"+"Sony"+"Panasonic"+"Nikon") On Fri, Jul 16, 2010 at 7