Re: Solr 3.6.1 stalling with high CPU and blocking on field cache

2013-12-09 Thread fbrisbart
If you want a start time within the next 5 minutes, I think your filter is not the good one. * will be replaced by the first date in your field Try : fq=start_time:[NOW TO NOW+5MINUTE] Franck Brisbart Le lundi 09 décembre 2013 à 09:07 -0600, Patrick O'Lone a écrit : I have a new question

Re: (info) lucene first search performance

2013-11-13 Thread fbrisbart
Solr uses the MMap Directory by default. What you see is surely a filesystem cache. Once a file is accessed, it's memory mapped. Restarting solr won't reset it. On unix, you may reset this cache with echo 3 /proc/sys/vm/drop_caches Franck Brisbart Le mercredi 13 novembre 2013 à 11:58

Re: AND Queries

2013-07-29 Thread fbrisbart
)^8.0) Why default field is not applied at this situation? 2013/7/29 fbrisbart fbrisb...@bestofmedia.com It's because when you don't specify any field, it's the default field which is used. So, lang:en AND url:book AND pencil AND cat is interpreted as : ang:en AND url:book

Re: The meaning of the of the doc= on the debugQuery output

2013-07-29 Thread fbrisbart
Hi, doc is the internal docId of the index. Each doc in the index has an internal id. It starts from 1 (1st doc inserted in the index), 2 for the 2nd, ... Franck Brisbart Le lundi 29 juillet 2013 à 15:34 +0100, Bruno René Santos a écrit : Hello One line on my debugQuery of a query is

Re: Solr french search optimisation

2013-05-23 Thread fbrisbart
You can also think about using a SynonymFilter if you can list the misspelled words. That's a quick and dirty solution. But it's easier to add a pomppe - pompe in a synonym list than tuning a phonetic filter. NB: an indexation is required whenever the synonyms file change Franck Brisbart Le

Re: Getting count for Multi-Select Faceting

2012-10-19 Thread fbrisbart
Did you look think of using 'facet.query' ? Adding 'facet.query=category:Article' to your url should return what you expected. Franck Brisbart Le vendredi 19 octobre 2012 à 15:18 +0200, Stephane Gamard a écrit : Hi all, Congrats on the 4.0.0 delivery, it's a pleasure to work with! I

Re: matching with whole field

2012-08-02 Thread fbrisbart
It's a parsing problem. You must tell the query parser to consider spaces as real characters. This should work (backslashing the spaces): fq=ONLY_EXACT_MATCH_FIELD:salon\ de\ coiffure or you may use something like that : fq={!term f=ONLY_EXACT_MATCH_FIELD v=$qq}qq=salon de coiffure Hope it

RE: Distributed grouping issue

2012-04-02 Thread fbrisbart
Hi, when you write I get xxx results, does it come from 'numFound' ? Or you really display xxx results ? When using both field collapsing and sharding, the 'numFound' may be wrong. In that case, think about using 'shards.rows' parameter with a high value (be careful, it's bad for performance).

Re: Slow first searcher with facet on bibliographic data in Master - Slave

2012-03-29 Thread fbrisbart
If you add your query to the firstSearcher and/or newSearcher event listeners in the slave 'solrconfig.xml' ( http://wiki.apache.org/solr/SolrCaching#newSearcher_and_firstSearcher_Event_Listeners ), each new search instance will wait before accepting queries. Example to load the FieldCache for

Re: Slow first searcher with facet on bibliographic data in Master - Slave

2012-03-29 Thread fbrisbart
2012 à 13:57 +0200, fbrisbart a écrit : If you add your query to the firstSearcher and/or newSearcher event listeners in the slave 'solrconfig.xml' ( http://wiki.apache.org/solr/SolrCaching#newSearcher_and_firstSearcher_Event_Listeners ), each new search instance will wait before accepting

Re: Slow first searcher with facet on bibliographic data in Master - Slave

2012-03-29 Thread fbrisbart
+0200, Dennis Schafroth a écrit : On Mar 29, 2012, at 14:49 , fbrisbart wrote: Arf, I didn't see your attached tgz. In your slave solrconfig.xml, only the 'firstSearcher' contains the query. Add it also in the 'newSearcher', so that the new search instances will wait also after a new

Re: url-encoded strings from Admin Query String search

2012-03-22 Thread fbrisbart
generated in our application can be tested and it would be great to be able to use the /admin screen or have a good reason why we can't. Thanks again, -Aaron On Wed, Mar 21, 2012 at 1:52 PM, fbrisbart fbrisb...@bestofmedia.comwrote: I'm not sure to understand your problem. The 2 urls

Re: Disseminate results from different sources

2012-03-22 Thread fbrisbart
to 10 and in that way you would get results in all the categories. Then implement some criteria in your app to select documents from those sources based on the score. Thanks Emmanuel 2012/3/21 fbrisbart fbrisb...@bestofmedia.com: Hi all, I have, in my dataset, documents from

Disseminate results from different sources

2012-03-21 Thread fbrisbart
Hi all, I have, in my dataset, documents from different sources (forum, news, reviews, ...) And I'd like to have a mix of them in my search results. The problem is that, depending only on the relevance, the results are often grouped by source (Ex.:50 'forum' docs before the first 'review' doc)

Re: url-encoded strings from Admin Query String search

2012-03-21 Thread fbrisbart
Hi, for your example query 'TESTqf=t_FIELD_NAME ', you can simply query : t_FIELD_NAME:TEST If you really want to use the 'qf' parameter, it is only available for dismax queries ( http://wiki.apache.org/solr/DisMaxQParserPlugin ). Your query becomes: {!dismax qf=t_FIELD_NAME}TEST Have a look at

Re: url-encoded strings from Admin Query String search

2012-03-21 Thread fbrisbart
? Or is there a setting to allow solr to accept url-encoded strings? Is this issue fixed in later versions after 1.4? Thanks, -Aaron On Wed, Mar 21, 2012 at 11:26 AM, fbrisbart fbrisb...@bestofmedia.comwrote: Hi, for your example query 'TESTqf=t_FIELD_NAME ', you can simply query