Highlighting integer field

2014-12-11 Thread Pawel Rog
Hi, Is it possible to highlight int (TrieLongField) or long (TrieLongField) field in Solr? -- Paweł

Re: Edismax parser and boosts

2014-10-09 Thread Pawel Rog
ost part is not removed). -- Paweł Róg On Thu, Oct 9, 2014 at 12:07 AM, Jack Krupansky wrote: > Definitely sounds like a bug! File a Jira. Thanks for reporting this. What > release of Solr? > > > > -- Jack Krupansky > -----Original Message- From: Pawel Rog > Sent:

Edismax parser and boosts

2014-10-08 Thread Pawel Rog
Hi, I use edismax query with q parameter set as below: q=foo^1.0+AND+bar For such a query for the same document I see different (lower) scoring value than for q=foo+AND+bar By default boost of term is 1 as far as i know so why the scoring differs? When I check debugQuery parameter in parsedQue

Contribute QParserPlugin

2014-05-28 Thread Pawel Rog
Hi, I need QParserPlugin that will use Redis as a backend to prepare filter queries. There are several data structures available in Redis (hash, set, etc.). From some reasons I cannot fetch data from redis data structures, build and send big requests from application. That's why I want to build tha

Re: Solr cloud hangs

2014-02-17 Thread Pawel Rog
) -- Pawel On Mon, Feb 17, 2014 at 8:01 PM, Pawel Rog wrote: > Hi, > Here is the whole stack trace: https://gist.github.com/anonymous/9056783 > > -- > Pawel > > > On Mon, Feb 17, 2014 at 4:53 PM, Mark Miller wrote: > >> Can you share the full stack trace dump? &

Re: Solr cloud hangs

2014-02-17 Thread Pawel Rog
Hi, Here is the whole stack trace: https://gist.github.com/anonymous/9056783 -- Pawel On Mon, Feb 17, 2014 at 4:53 PM, Mark Miller wrote: > Can you share the full stack trace dump? > > - Mark > > http://about.me/markrmiller > > On Feb 17, 2014, at 7:07 AM, Pawel Rog w

Solr cloud hangs

2014-02-17 Thread Pawel Rog
Hi, I have quite annoying problem with Solr cloud. I have a cluster with 8 shards and with 2 replicas in each. (Solr 4.6.1) After some time cluster doesn't respond to any update requests. Restarting the cluster nodes doesn't help. There are a lot of such stack traces (waiting for very long time):

Re: Wildcard query vs facet.prefix for autocomplete?

2012-07-16 Thread Pawel Rog
Maybe try EdgeNgramFilterFactory http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters/#solr.EdgeNGramFilterFactory On Mon, Jul 16, 2012 at 6:57 AM, santamaria2 wrote: > I'm about to implement an autocomplete mechanism for my search box. I've > read > about some of the common approaches, b

Re: FilterCache - maximum size of document set

2012-06-15 Thread Pawel Rog
ok at why. > > Note that in particular, using NOW in your filter queries virtually > guarantees > that they won't be re-used as per the link I sent yesterday. > > Best > Erick > > On Fri, Jun 15, 2012 at 1:15 AM, Pawel Rog wrote: > > It can be true that filters cache

Re: FilterCache - maximum size of document set

2012-06-14 Thread Pawel Rog
NOW in your filter queries, you're probably never > re-using them anyway, see: > > http://www.lucidimagination.com/blog/2012/02/23/date-math-now-and-filter-queries/ > > I really question whether this limit is reasonable, but you know your > situation best. > > Best > Erick > >

Re: FilterCache - maximum size of document set

2012-06-13 Thread Pawel Rog
Thanks for your response Yes, maybe you are right. I thought that filters can be larger than 3M. All kinds of filters uses BitSet? Moreover maxSize of filterCache is set to 16000 in my case. There are evictions during day traffic but not during night traffic. Version of Solr which I use is 3.5 I

Re: Difference between two solr indexes

2012-04-17 Thread Pawel Rog
If there are only 100'000 documents dump all document ids and make diff If you're using linux based system you can just use simple tools to do it. Something like that can be helpful curl "http://your.hostA:port/solr/index/select?*:*&fl=id&wt=csv"; > /tmp/idsA curl "http://your.hostB:port/solr/inde

Re: solr hangs

2012-04-11 Thread Pawel Rog
You wrote that you can see such error "OutOfMemoryError". I had such problems when my caches were to big. It means that there is no more free memory in JVM and probably full gc starts running. How big is your Java heap? Maybe cache sizes in yout solr are to big according to your JVM settings. -- R

Re: Usage of * as a first character in wild card query

2012-03-25 Thread Pawel Rog
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ReversedWildcardFilterFactory On Mon, Mar 26, 2012 at 7:08 AM, Ishan wrote: > Hi, > > I need to query on solr with * as a first character in query. > For eg. Content indexed in* "Be careful" > *and query i want to fire is **ful >

Re: Boosting terms

2012-03-19 Thread Pawel Rog
Thanks a lot, I'll read it :) It seems to be helpfull On Sun, Mar 18, 2012 at 8:58 PM, Ahmet Arslan wrote: > >> Is there any possibility to boost >> terms during indexing? Searching >> that using google I found information that there is no such >> feature in >> Solr (we can only boost fields). Is

Re: Help with duplicate unique IDs

2012-03-02 Thread Pawel Rog
Once I had the same problem. I didn't know what's going on. After few moment of analysis I created completely new index and removed old one (I hadn't enough time to analyze problem). Problem didn't come back any more. -- Regards, Pawel On Fri, Mar 2, 2012 at 8:23 PM, Thomas Dowling wrote: > In a

Re: Realtime profile data

2012-02-07 Thread Pawel Rog
     built into the system (i.e. indexing, commit and replication) > > Best > Erick > > On Mon, Feb 6, 2012 at 10:42 AM, Pawel Rog wrote: >> Hello. I have some problem which i'd like to solve using solr. I have >> user profile which has some kind of messages in it. Use

Re: Solr 3.5 very slow (performance)

2011-11-30 Thread Pawel Rog
Yes it works. Thanks a lot. But I stil don't understand why in solr 1.4 that option was efficient but in solr 3.5 not On Wed, Nov 30, 2011 at 11:01 PM, Yonik Seeley wrote: > On Wed, Nov 30, 2011 at 7:08 AM, Pawel Rog wrote: >>        at >> org.apache.solr.search.SolrInd

Re: Solr 3.5 very slow (performance)

2011-11-30 Thread Pawel Rog
On Wed, Nov 30, 2011 at 9:05 PM, Chris Hostetter wrote: > > : I tried to use index from 1.4 (load was the same as on index from 3.5) > : but there was problem with synchronization with master (invalid > : javabin format) > : Then I built new index on 3.5 with luceneMatchVersion LUCENE_35 > > why w

Re: Solr 3.5 very slow (performance)

2011-11-30 Thread Pawel Rog
http://imageshack.us/photo/my-images/838/cpuusage.png/ On Wed, Nov 30, 2011 at 9:18 PM, Chris Hostetter wrote: > > : I attach chart which presents cpu usage. Solr 3.5 uses almost all cpu > : (left side of chart). > > FWIW: The mailing list software filters out most attachments (there are > some e

Re: Solr 3.5 very slow (performance)

2011-11-30 Thread Pawel Rog
Thread.run(QueuedThreadPool.java:582) On Wed, Nov 30, 2011 at 10:31 AM, Pawel Rog wrote: > I attach chart which presents cpu usage. Solr 3.5 uses almost all cpu > (left side of chart). > at the begining of chart there was about 60rps and about 100rps > (before turning off solr 3.5). Then there

Re: Solr 3.5 very slow (performance)

2011-11-30 Thread Pawel Rog
I attach chart which presents cpu usage. Solr 3.5 uses almost all cpu (left side of chart). at the begining of chart there was about 60rps and about 100rps (before turning off solr 3.5). Then there was 1.4 turned on with 100rps. -- Pawel On Wed, Nov 30, 2011 at 9:07 AM, Pawel Rog wrote: > *

Re: Solr 3.5 very slow (performance)

2011-11-30 Thread Pawel Rog
* 1st question (ls from index directory) solr 1.4 -rw-r--r-- 1 user user2180582 Nov 30 07:26 _3g1_cf.del -rw-r--r-- 1 user user 5190652802 Nov 28 17:57 _3g1.fdt -rw-r--r-- 1 user user 139556724 Nov 28 17:57 _3g1.fdx -rw-r--r-- 1 user user 4963 Nov 28 17:56 _3g1.fnm -rw-r--r-- 1 user us

Re: Solr 3.5 very slow (performance)

2011-11-29 Thread Pawel Rog
IO waits about 0-2% Didn't see any suspicious activity in logs, but I can check it again On Tue, Nov 29, 2011 at 11:40 PM, Darren Govoni wrote: > Any suspicous activity in the logs? what about disk activity? > > > On 11/29/2011 05:22 PM, Pawel Rog wrote: >> >> On

Re: Solr 3.5 very slow (performance)

2011-11-29 Thread Pawel Rog
onfig.xml > for that URL to work... >  ' > Will check it :) > > : in my last pos i mean > : default operation AND > : promoted - int > : ending - int > : b_count - int > : name - text > : cat1 - int > : cat2 - int > : > : On Tue, Nov 29, 2011 at 7:54 PM,

Re: Solr 3.5 very slow (performance)

2011-11-29 Thread Pawel Rog
in my last pos i mean default operation AND promoted - int ending - int b_count - int name - text cat1 - int cat2 - int On Tue, Nov 29, 2011 at 7:54 PM, Pawel Rog wrote: > examples > > facet=true&sort=promoted+desc,ending+asc,b_count+desc&facet.mincount=1&start=0&q=nam

Re: Solr 3.5 very slow (performance)

2011-11-29 Thread Pawel Rog
examples facet=true&sort=promoted+desc,ending+asc,b_count+desc&facet.mincount=1&start=0&q=name:(kurtka+skóry+brazowe42)&facet.limit=500&facet.field=cat1&facet.field=cat2&wt=json&rows=50 facet=true&sort=promoted+desc,ending+asc,b_count+desc&facet.mincount=1&start=1350&q=name:naczepa&facet.limit=50