Re: Solr Dismax query - prefix matching

2010-05-02 Thread Amit Nithian
You should be able to achieve this using ngrams. This article may not be 100% related to what you are trying to do but it may provide some insight on what you can do to support your requirements. http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/

Re: phrase search - problem

2010-05-02 Thread Amit Nithian
Check out http://wiki.apache.org/solr/DisMaxRequestHandler It's partially a function of the field type (textGen) in your case but it's also a function of how you handle matches on the fields you care about. - Amit On Sun, May 2, 2010 at 8:30 PM,

Overlapping onDeckSearchers=2

2010-05-02 Thread revas
Hello, We have a server with many solr instances running (around 40-50) . We are committing documents ,sometimes one or sometimes around 200 documents at a time .to only one instance at a time When i run 2 -3 commits parallely to diff instances or same instance I get this error PERFORMANCE

Re: Custom SearchComponent to reset facet value counts after collapse

2010-05-02 Thread MitchK
Good morning, I do not have the time to read your full code very carefully at the moment. I will do so later on, however: Have a look at simpleFacets. Consider the method that creates the facetCounts. When I got it right in mind, the author uses the IndexSearcher's numDoc(arg1, arg2) method. Tha

Re: OutOfMemoryError when using query with sort

2010-05-02 Thread Hamid Vahedi
I install 64 bit windows and my problem solved. also i using shard mode (100 M doc per machine with one solr instance) is there better solution? because i insert at least 5M doc per day From: Koji Sekiguchi To: solr-user@lucene.apache.org Sent: Sun, May 2, 201

phrase search - problem

2010-05-02 Thread Naga Darbha
Hi, I wanted to do phrase search. What are the analyzers that best suited for phrase search. I tried with "textgen", but it did not yield the expected results. I wanted to index: my dear friend If I search for "dear friend", I should get the result and if I search for "friend dear" I shoul

Re: run on reboot on windows

2010-05-02 Thread S Ahmed
Thanks, for some reason I was looking for a solution outside of jetty/tomcat, when that was the obvious way to get things restarted :) On Sun, May 2, 2010 at 7:53 PM, Dave Searle wrote: > Tomcat is installed as a service on windows. Just go into service > control panel and set startup type to aut

Re: run on reboot on windows

2010-05-02 Thread Dave Searle
Tomcat is installed as a service on windows. Just go into service control panel and set startup type to automatic Sent from my iPhone On 3 May 2010, at 00:43, "S Ahmed" wrote: > its not tomcat/jetty that's the issue, its how to get things to re- > start on > a windows server (tomcat and jett

RE: run on reboot on windows

2010-05-02 Thread caman
Please take a look at this for tomcat http://tomcat.apache.org/tomcat-6.0-doc/setup.html#Windows and for jetty : http://docs.codehaus.org/display/JETTY/Win32Wrapper Hope this helps. From: S Ahmed [via Lucene] [mailto:ml-node+772182-2115387142-124...@n3.nabble.com] Sent: Sunday, M

Re: run on reboot on windows

2010-05-02 Thread S Ahmed
its not tomcat/jetty that's the issue, its how to get things to re-start on a windows server (tomcat and jetty don't run as native windows services) so I am a little confused..thanks. On Sun, May 2, 2010 at 7:37 PM, caman wrote: > > Ahmed, > > > > Best is if you take a look at the documentation o

RE: run on reboot on windows

2010-05-02 Thread caman
Ahmed, Best is if you take a look at the documentation of jetty or tomcat. SOLR can run on any web container, it's up to you how you configure your web container to run Thanks Aboxy From: S Ahmed [via Lucene] [mailto:ml-node+772174-2097041460-124...@n3.nabble.com] Sent:

Re: run on reboot on windows

2010-05-02 Thread S Ahmed
By default it uses Jetty, so your saying Tomcat on windows server 2008/ IIS7 runs as a native windows service? On Sun, May 2, 2010 at 12:46 AM, Dave Searle wrote: > Set tomcat6 service to auto start on boot (if running tomat) > > Sent from my iPhone > > On 2 May 2010, at 02:31, "S Ahmed" wrote:

Re: Custom SearchComponent to reset facet value counts after collapse

2010-05-02 Thread MitchK
Unfortunately this patch does not support multiValued-fields (as this is said by the author and some others that worked with that patch). I had a look on others, but they seem to have the same problem. What would I suggest, hmm... Out-of-the-box and at this time (it's late here in Germany) I got o

Re: OutOfMemoryError when using query with sort

2010-05-02 Thread Koji Sekiguchi
Hamid Vahedi wrote: Hi, i using solr that running on windows server 2008 32-bit. I add about 100 million article into solr without set store attribute. (only store document id) (index file size about 164 GB) when try to get query without sort , it's return doc ids in some ms, but when add sor

Skipping duplicates in DataImportHandler based on uniqueKey

2010-05-02 Thread Andrew Clegg
Hi, Is there a way to get the DataImportHandler to skip already-seen records rather than reindexing them? The UpdateHandler has an capability which (as I understand it) means that a document whose uniqueKey matches one already in the index will be skipped instead of overwritten. Can the DIH be

Re: Custom SearchComponent to reset facet value counts after collapse

2010-05-02 Thread MitchK
Kelly, did you have a look at the facetComponent - class and simpleFacets-class? Why do you want to reset the counts? What is your usecase? What is the difference between the facetComponent's return-value and your component? Kind regards - Mitch -- View this message in context: http://lucene.