Re: filter query on timestamp slowing query???

2010-07-19 Thread oferiko
my goal is to run a query and limit it with the timestamp of the last document i found. will TrieDateField give me this precision? is there any other way to achieve that? i also see slow queries when using a filter on a field that is a simple string(StrField), that has only 3 types of values,

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 lst name=manu int name=Canon USA17/int int name=Olympus12/int int name=Sony12/int int name=Panasonic9/int int name=Nikon4/int /lst I would like

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. searchComponent name=elevateListings class=org.apache.solr.handler.component.QueryElevationComponent str name=queryFieldTypestring_ci/str str

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

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. searchComponent name=elevateListings class=org.apache.solr.handler.component.QueryElevationComponent str

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

2010-07-19 Thread dan sutton
It needs to be : arr name=last-components strspellcheck/str strelevateListings/str /arr or arr name=last-components strelevateListings/str strspellcheck/str /arr Dan On Mon, Jul 19, 2010 at 11:14 AM, Chamnap Chhorn chamnapchh...@gmail.comwrote: In my

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:

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

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. i

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: 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

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

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

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

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

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

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

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

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

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

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

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

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 hossman_luc...@fucit.org Sent: Mon 19-07-2010 20:23 To: solr-user@lucene.apache.org;

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

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

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

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: 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 mitc...@web.de wrote: Frank, have a look at Solr's example-directory's and look for 'multicore'. There you can see

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:

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

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 erickerick...@gmail.comwrote: 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

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 chamnapchh...@gmail.comwrote: I'm using Solr 1.4, but the exclusive=true doesn't work for me

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 erickerick...@gmail.comwrote: Not 1.4 released, 1.4 last successful build. I don't think the 1.4 release has

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 chamnapchh...@gmail.comwrote: Ah, I get what you mean. One more thing, I wonder the patch

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 chamnapchh...@gmail.comwrote: The other thing I want to ask is the latest build of solr is stable or not? I'm

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 oliv...@ricordeau.org wrote: Hi folks, I can't manage to have the new spatial

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];

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?

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

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?

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