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 : fieldType name=autoComplete class=solr.TextField omitNorms=true analyzer tokenizer class=solr.WhitespaceTokenizerFactory / filter class=solr.LowerCaseFilterFactory / filter

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). fieldType name=autoComplete class=solr.TextField omitNorms=true analyzer tokenizer class=solr.KeywordTokenizerFactory /

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: 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

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:

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 : requestHandler name=dismax

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=trueq=anna%20lewisrows=20start=0fl=*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.

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.

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

Re: User search in Facebook like

2009-05-31 Thread Vincent Pérès
Vincent Pérès Vincent Price Vince Price Vince Pérès etc... D 2009/5/31 Vincent Pérès vincent.pe...@gmail.com 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

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=novelqt=dismaxfl=title_s,idversion=2.2start=0rows=10indent=ondebugQuery=on I get answers, but on the debug area, it seems it's only searching on the 'text' field (with or without 'qt'

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=novelqf=title_s^5.0fl=title_s+isbn_sversion=2.2start=0rows=5indent=ondebugQuery=on (using qf (Query Fields)) But it seems I need to add dismax as well and configure it by default in solr config? Thanks

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=novelqt=dismaxqf=title_s^2.0fl=title_s+isbn_sversion=2.2start=0rows=5indent=ondebugQuery=on But I don't get any results : lst name=debug str name=rawquerystringnovel/str str

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=novelbf=title_s^5.0fl=title_s+isbn_sversion=2.2start=0rows=5indent=ondebugQuery=on Below a part of my debug (the results are correct) : lst name=debug str

Re: How to update only few fields in a document

2009-05-18 Thread Vincent Pérès
-- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Vincent Pérès vincent.pe...@gmail.com To: solr-user@lucene.apache.org Sent: Friday, May 15, 2009 9:45:06 AM Subject: How to update only few fields in a document Hello, I did just find only post about

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

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

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.

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:1rate=4 and http://localhost:8983/solr/delete/?q=id:1 Is it possible ? But I found

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: The last possibility

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 together