Re: SOLR query times

2008-10-12 Thread Grant Ingersoll
This is pretty typical. The first query is always more expensive, as Lucene lazily loads some pieces of the index into memory and you may see the FieldCache in action, depending on sorting, not to mention you are also seeing operating system caching take place. Is there some reason you don

Re: solr.SynonymFilterFactory

2008-10-12 Thread Grant Ingersoll
You can configure it to use synonyms at indexing time, just put the synonym filter into the index analyzer. Typically, you only want to do this if you know your synonym list is not changing very often. Otherwise, I'm not sure I understand what you are asking. One good way to see how analy

Question about solr spellcheck

2008-10-12 Thread Aleksey Gogolev
Hello! I use solr 1.3 and I have two questions about spellcheck. I want to get search results and spelling suggestion for "Acer Aspire one", so I perform this http query: http://localhost:8983/solr/spellCheckCompRH?q=Acer+Aspire+one&version=2.2&start=0&rows=10&indent=on&wt=json&fl=*%2Cscore&hl

Re: Solr indexing not taking all values from DB.

2008-10-12 Thread con
I wrote a jdbc program to implement the same query. But it is returning all the responses, 25 nos. But the solr is still indexing only 10 rows. Is there any optimization settings by default in the solrconfig.xml that restricts the responses to 10 ? thanks con. Noble Paul നോബിള്‍ नोब्ळ् wrote

Re: Solr indexing not taking all values from DB.

2008-10-12 Thread Jon Baer
What is your set to? Could it be you have duplicates in your uniqueKey setup (thus producing only 10 rows in index)? - Jon On Oct 12, 2008, at 1:30 PM, con wrote: I wrote a jdbc program to implement the same query. But it is returning all the responses, 25 nos. But the solr is still in

Re: Solr has limit to number of returned results?

2008-10-12 Thread Chris Hostetter
As mentioned TooManyClauses has nothing to do with the number of results returned, and everything to do with the way the number of terms in "rewritten" query. these exceptions are a kind of safety net in the Lucene internals to prevent the entire application from crashing with an OOM exceptio

RE: Solr has limit to number of returned results?

2008-10-12 Thread Chris Hostetter
: These blow up with "too many clauses": H*? and H*H and H*H*. And when they : don't blow up (Solr 1.3) they do not return any results when they should. Uh ... i'm not sure what you mean by "they do not return any results when they should" ... can you elaborate because wildcard queries should wor

Re: Solr indexing not taking all values from DB.

2008-10-12 Thread con
Hi Jon I have my unique key set to false. EMP_ID. I tried with enabling the unique key. Still the same problem exists. Thanks con jonbaer wrote: > > What is your set to? Could it be you have duplicates in > your uniqueKey setup (thus producing only 10 rows in index)? > > - Jon > > O

Re: Question about solr spellcheck

2008-10-12 Thread rameshgalla
Hi, I don't know there is better solution for this one. But I resolved this problem in my application like this. After getting the spell suggestion I have performed the search operation without displaying the results. If the numdocs is greater than or equal to one only I have displayed the spellc

Re: Solr indexing not taking all values from DB.

2008-10-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
in debug mode it writes only 10 because there is a rows parameter which is by default set to 10 make it 100 or so and you should be seeing all docs. But in non-debug mode there is no such parameter On Sun, Oct 12, 2008 at 11:00 PM, con <[EMAIL PROTECTED]> wrote: > > I wrote a jdbc program to imple