Re: Need help to finalize my autocomplete

2009-09-16 Thread Vincent Pérès
After re-indexing it works very well ! Thanks a lot ! Vincent -- View this message in context: http://www.nabble.com/Need-help-to-finalize-my-autocomplete-tp25468885p25469931.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Need help to finalize my autocomplete

2009-09-16 Thread Vincent Pérès
Hello, I tried to replace the class as you suggested, but I still get the same result (and not results where the query start only with the giving query). -- View this message in context: http://www.nabble.c

Need help to finalize my autocomplete

2009-09-16 Thread Vincent Pérès
Hello, I'm using the following code for my autocomplete feature : The field type : The field : The query : ?q=*:*&fq=query_ac:harry*&wt=json&rows=15&start=0&fl=*&indent=on&fq=model:SearchQuery It gi

Re: Relevant results with DisMaxRequestHandler

2009-08-19 Thread Vincent Pérès
Wow, it's like the 'mm' parameters is just appeared for the first time... Yes, I read the doc few times, but never understood that the documents who doesn't match any of the expressions will not be return... my apologize everything seems more clear now thanks to the min number parameter. Thank yo

Re: Relevant results with DisMaxRequestHandler

2009-08-10 Thread Vincent Pérès
I actually have an other question... The 'qf' parameter used in the dismax seems to work with a 'AND' separator. I have much more results without dixmax. Is there any way to keep the same amount of document and process the 'qf' ? My dismax : dismax explicit 0.01

Re: Relevant results with DisMaxRequestHandler

2009-08-10 Thread Vincent Pérès
Hello, Thank you for your answer, I finally used only a 'qf' parameter in the dismax requesthandler and it seems that I have now better and more relevant results. I just don't understand why a result is mainly boosted by his last update by default ! Vincent -- View this message in context: htt

Relevant results with DisMaxRequestHandler

2009-07-29 Thread Vincent Pérès
Hello, I did notice several strange behaviors on queries. I would like to share with you an example, so maybe you can explain to me what is going wrong. Using the following query : http://localhost:8983/solr/others/select/?debugQuery=true&q=anna%20lewis&rows=20&start=0&fl=*&qt=dismax I get back

Stats for all documents and not current search

2009-06-12 Thread Vincent Pérès
Hello, I need to retrieve the stats of my index (using StatsComponent). It's not a problem when my query is empty, but the stats are update according the current search... and I need the stats of the whole index everytime. I'm currently doing two request (one with empty keyword to get the stats,

Re: Solr update performance decrease after a while

2009-06-11 Thread Vincent Pérès
Thank for your answer, I will have a look and try to find a solution. Cheers -- View this message in context: http://www.nabble.com/Solr-update-performance-decrease-after-a-while-tp23945947p23980681.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr update performance decrease after a while

2009-06-09 Thread Vincent Pérès
Hello, We are indexing approximately 500 documents per day. My benchmark says an update is done in 0.7 sec just after Solr has been started. But it quickly decrease to 2.2 secs per update ! I have just been focused on the Schema until now, and didn't changed many stuffs in the solrconfig file. Ma

Re: User search in Facebook like

2009-06-01 Thread Vincent Pérès
Thanks a lot for your answer it fixed all my issues !!! It's really well working ! Cheers, Vincent -- View this message in context: http://www.nabble.com/User-search-in-Facebook-like-tp23804854p23818867.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: User search in Facebook like

2009-05-31 Thread Vincent Pérès
bstitute that with > the > query "vince* p*" to get the following hits > Vincent Pérès > Vincent Price > Vince Price > Vince Pérès > etc... > > D > > > > 2009/5/31 Vincent Pérès > >> >> Hello, >> >> I built a feature whic

User search in Facebook like

2009-05-31 Thread Vincent Pérès
Hello, I built a feature which allow users to search for other user thanks to a dynamic text box. Like facebook, when you search for your friends, the name is display in a javascript dropdown list with a small picture. But I'm not completely happy with the search... I'm using a standard search l

Re: How to change the weight of the fields ?

2009-05-21 Thread Vincent Pérès
It seems I can only search on the field 'text'. With the following url : http://localhost:8983/solr/select/?q=novel&qt=dismax&fl=title_s,id&version=2.2&start=0&rows=10&indent=on&debugQuery=on I get answers, but on the debug area, it seems it's only searching on the 'text' field (with or without '

Re: How to change the weight of the fields ?

2009-05-20 Thread Vincent Pérès
I tried the following request after changed the dismax : http://localhost:8983/solr/listings/select/?q=novel&qt=dismax&qf=title_s^2.0&fl=title_s+isbn_s&version=2.2&start=0&rows=5&indent=on&debugQuery=on But I don't get any results : novel novel +DisjunctionMaxQuery((title_s:novel^2.0)~0.01) ()

Re: How to change the weight of the fields ?

2009-05-20 Thread Vincent Pérès
Hello, I'm sorry I wrote a mistake, I mean : http://localhost:8983/solr/listings/select/?q=novel&qf=title_s^5.0&fl=title_s+isbn_s&version=2.2&start=0&rows=5&indent=on&debugQuery=on (using qf (Query Fields)) But it seems I need to add dismax as well and configure it by default in solr config? Th

How to change the weight of the fields ?

2009-05-19 Thread Vincent Pérès
Hello, I'm stuck my the boost feature... I'm doing the following query : http://localhost:8983/solr/select/?q=novel&bf=title_s^5.0&fl=title_s+isbn_s&version=2.2&start=0&rows=5&indent=on&debugQuery=on Below a part of my debug (the results are correct) : novel novel text:novel text:novel − −

Re: How to update only few fields in a document

2009-05-18 Thread Vincent Pérès
SOLR-139. > > > Otis -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > ----- Original Message >> From: Vincent Pérès >> To: solr-user@lucene.apache.org >> Sent: Friday, May 15, 2009 9:45:06 AM >> Subject: How to update only

How to update only few fields in a document

2009-05-15 Thread Vincent Pérès
Hello, I did just find only post about updating document, maybe things evolved since that time. I need to update a field in few thousand documents in one time (or multiple request), but I wouldn't like to have to add a new document instead of the current one (I mean it's how it works if I well un

Re: DataImportHandler with multiple values

2009-04-13 Thread Vincent Pérès
I changed the ISBN to lowercase (and the other fields as well) and it works ! Thanks very much ! -- View this message in context: http://www.nabble.com/DataImportHandler-with-multiple-values-tp23022195p23023374.html Sent from the Solr - User mailing list archive at Nabble.com.

DataImportHandler with multiple values

2009-04-13 Thread Vincent Pérès
Hello, I'm trying to import a simple book table with the full-import command. The datas are stored in mysql. It worked well when I tried to import few fields from the 'book' table : title, author, publisher etc. Now I would like to create a facet (multi valued field) with the categories which bel

Re: What are the way to update / delete solr datas?

2008-10-31 Thread Vincent Pérès
Thanks for your quick answer. I'm using only HTTP to display my results, that's why I would like to continue with this way. If I can use HTTP instead of solr, it will be better for me. Erik Hatcher wrote: > > > On Oct 31, 2008, at 11:40 AM, Vincent Pérès wrote: >>

What are the way to update / delete solr datas?

2008-10-31 Thread Vincent Pérès
Hello, I'm trying to find the best way to update / delete datas according to my project (developed with javascript and rails). I would like to do something like that : http://localhost:8983/solr/update/?q=id:1&rate=4 and http://localhost:8983/solr/delete/?q=id:1 Is it possible ? But I found onl

Re: How to get the min and max values from facets?

2008-10-30 Thread Vincent Pérès
Hello, Yes I understand, like : myfacet, ASC, limit 1 myfacet, DESC, limit 1 So I can get the first value and the last one. Do you think I will get more performance with this way than using stats? Thanks ! Vincent -- View this message in context: http://www.nabble.com/How-to-get-the-min-and-m

How to get the min and max values from facets?

2008-10-30 Thread Vincent Pérès
Hello, I'm using Solr 1.3. I would like to get only minimum and maximum values from a facet. In fact I'm using a range to get the results : [value TO value], and I don't need to get the facets list in my XML results (which could be more than hundred thousands)... so, I have to display the range (

Re: Create custom facets after building index

2008-10-21 Thread Vincent Pérès
Hello ! Thank you it is working. I've done a query, and my facet query is : "facet_queries":{ "published_year_facet:[1999 TO 2005]":95, "rating_facet:[3 TO 3.99]":25, "rating_facet:[1 TO 1.99]":1}, Is it possible to 'group' kind of queries (published together, rating tog

Create custom facets after building index

2008-10-21 Thread Vincent Pérès
Hello, I would like to create a custom facet for a 'rating_facets'. The rates are like that : 1, 1.2, 5, 5.78 etc. Is it possible to tell solr to create a 'custom' facet : [0 to 0.99] is 0 [ 1 to 1.99] is 1 etc. (and get them back into xml results with number of results by value) Or I have to s