Re: Multi words query

2015-02-12 Thread melb
I am using rub gem rsolr and querying simply the collection by this query: response = solr.get 'select', :params => { :q=>query, :fl=> 'id,title,description,body' :rows=>10 } response["response"]["docs"].each{|doc| puts doc["id"] } I created a text field to copy all the fields to and the q

Multi words query

2015-02-11 Thread melb
Hi, I have a solr collection which I use to index some documents ( title, description, body) and I can search it well with solr query when it is a single word query When I search for multi words, the result is not satisfactory because I get some results with high scores with only one word of the qu

Re: DocumentAnalysisRequestHandler

2015-02-03 Thread melb
Thx, It worked -- View this message in context: http://lucene.472066.n3.nabble.com/DocumentAnalysisRequestHandler-tp4183449p4183736.html Sent from the Solr - User mailing list archive at Nabble.com.

DocumentAnalysisRequestHandler

2015-02-02 Thread melb
Hi, I want to analyse a document and get his tokens and the frequency without committing it to the index I found on google the Document Analysis Handler that can do that but I don't know how to use it Can someone help me to use it or redirect me to some tutorials I am using ruby regards, --

Re: Slow queries

2014-12-08 Thread melb
THnks for the answer A dedicated box will be a great solution but I will wait for that solution, I have restricted sources Is Optimze action can improve performance? Is using default servlet engine Jetty can be harmful for the performance, SHould I use an independant tomcat engine? rgds, -- Vi

Re: Start With and contain search

2014-12-02 Thread melb
Yes this is exactly what I am trying to do but with less extended database can I do it with solr? rgds, -- View this message in context: http://lucene.472066.n3.nabble.com/Start-With-and-contain-search-tp4171854p4172105.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Slow queries

2014-12-02 Thread melb
Yes performance degraded over the time, I can raise the memory but I can't do it every time and the volume will keep growing Is it better to put the solr on dedicated machine? Is there any thing else that can be done to the solr instance for example deviding the collection? rgds, -- View this

Slow queries

2014-12-02 Thread melb
Hi, I have a solr collection with 16 millions documents and growing daily with 1 documents recently it is becoming slow to answer my request ( several seconds) specially when I use multi-words query I am running solr on a machine with 32G RAM but heavy used one What are my options to optimize

Re: Start With and contain search

2014-12-02 Thread melb
Thanks, I think the NgramFitlerFactory is the good filter, I will try it today but what if I want to search for query :* dom host *and get the result: *domhost* -- View this message in context: http://lucene.472066.n3.nabble.com/Start-With-and-contain-search-tp4171854p4172031.html Sent from th

Start With and contain search

2014-12-01 Thread melb
Hi, I am new in Solr, I have a solr collection with domain names and I want to be able to search in domains the search can give me the domains which begin with the query term or contain it example: query : dom results: domain1 domain2 predommain domainsuffix rgds, -- View this message