Re: is it possible to speed up this query?

2009-10-04 Thread Steve Conover
> Lowering the precisionStep of the trie field could help.  With a > precisionStep of 8, there would be 256 top-level terms to step over. > If you lowered it to 6, it would cut it to 64 or 4 would cut it to 16. > > The fastest would be to index a separate field to indicate presence or > absence of

Announcing the Apache Solr extension in PHP - 0.9.0

2009-10-04 Thread Israel Ekpo
Fellow Apache Solr users, I have been working on a PHP extension for Apache Solr in C for quite sometime now. I just finished testing it and I have completed the initial user level documentation of the API Version 0.9.0-beta has just been released. It already has built-in readiness for Solr 1.4

Re: Always spellcheck (suggest)

2009-10-04 Thread Christian Zambrano
I am really surprised that a query for "behaviour" returns "behavior" as a suggestion only when the parameter "spellcheck.onlyMorePopular=true" is present. I re-read the documentation and I see nothing that will imply that the parameter onlyMorePopular will do anything else but filter the sugge

RE: Always spellcheck (suggest)

2009-10-04 Thread Greg Pendlebury
Thanks. I'll have to look into modifications then (was hoping to avoid that). For clarity though I believe this point is slightly off: >> "Adding the parameter onlyMorePopular limits the suggestions that solr can >> give you(to ones that return more hits than the existing query), nothing >> mor

Re: FACET_SORT_INDEX descending?

2009-10-04 Thread Chris Hostetter
: Is there any value for the "f.my_year_facet.facet.sort" parameter that will : return the facet values in descending order? So far I only see "index" and : "count" as the choices. descending what? (count is descending order by count) -Hoss

Re: Always spellcheck (suggest)

2009-10-04 Thread Christian Zambrano
Greg, I apologize if I misunderstood your original post. I don't think there is a way you can force solr to return suggestions when all of the words are "correctly" spelled. Adding the parameter onlyMorePopular limits the suggestions that solr can give you(to ones that return more hits than t

Re: Question regarding synonym

2009-10-04 Thread Christian Zambrano
On 10/02/2009 06:02 PM, darniz wrote: Thanks As i said it even works by giving double quotes too. like carDescription:"austin martin" So is that the conclusion that in order to map two word synonym i have to always enclose in double quotes, so that it doen not split the words Yes, but

RE: Always spellcheck (suggest)

2009-10-04 Thread Greg Pendlebury
Thanks for the response Christian. I'll modify my original point (1) then. Is 'onlyMorePopular' the only way to return suggestions when all of the search terms are present in the dictionary (ie. correct)? Is there any way to force behaviour (1) without behaviour (2) (filtering on frequency). Ta

Re: Always spellcheck (suggest)

2009-10-04 Thread Christian Zambrano
I believe your understanding in incorrect. The first behavior you described is produced by adding the paremeter "spellcheck=true". Suggestions will be returned regardless of whether there are results. The only time I believe spelling suggestions might not be included is when all of the words ar

Always spellcheck (suggest)

2009-10-04 Thread Greg Pendlebury
Hi All, If I understand correctly the flag 'onlyMorePopular' encapsulates two independent behaviours. 1) It runs spell checking across queries that returned hits. Without the flag spell checking is not run when results are found. 2) It limits suggestions to terms with higher frequencies. Is th

Re: is it possible to speed up this query?

2009-10-04 Thread Yonik Seeley
On Sun, Oct 4, 2009 at 8:15 PM, Steve Conover wrote: > Can't/won't...this is one part of a set of criteria, and those > criteria can be pretty arbitrarily changed.  I couldn't - with > confidence - extract this part without possibly compromising the > correctness of the result. > > Thanks for the

Re: is it possible to speed up this query?

2009-10-04 Thread Steve Conover
Can't/won't...this is one part of a set of criteria, and those criteria can be pretty arbitrarily changed. I couldn't - with confidence - extract this part without possibly compromising the correctness of the result. Thanks for the suggestion though...is there anything else to be done? Anything I

Re: How to start using Solr

2009-10-04 Thread Mark Miller
Khooroos wrote: > Hi, > I'm new to Solr and have been reading online about it to get started for the > past few days. > > Here are a few questions that I need help getting answer to: > > 1) Is my understanding of how Solr works correct: > - From what I gather so far, I need to run the start.jar (wh

How to start using Solr

2009-10-04 Thread Khooroos
Hi, I'm new to Solr and have been reading online about it to get started for the past few days. Here are a few questions that I need help getting answer to: 1) Is my understanding of how Solr works correct: - From what I gather so far, I need to run the start.jar (which runs the server) as a dae

Highlighting bean properties using DocumentObjectBinder - New feature?

2009-10-04 Thread Avlesh Singh
Like most others, I use SolrJ and bind my beans with @Field annotations to read responses from Solr. For highlighting these properties in my bean, I always write a separate piece - Get the list of highlights from response and then use the Map> to put them back in my original bean. This evening, I

Merging multicore indexes

2009-10-04 Thread Paul Rosen
Hi, I've been trying to experiment with merging, but have been running into some problems. First, I'm using ruby and the solr-ruby-0.0.7 gem. It looks like there is no support in that gem for merging. Have I overlooked something? Second, I was attempting to just follow the instructions in

how to build the index from the commadd line using DataImportHandler

2009-10-04 Thread 张跃
HI, How to build the index from the commadd line using DataImportHandler, and also see the intermediate results? The expected syntax is like: java -jar buildIndex.jar solrconfig.xml data-config.xml --verbose Thanks.