cant' execute query in solr 4.1 admin page

2013-03-02 Thread adfel70
Hi I used to execute queries in solr admin page for testing purposes. I updated to solr 4.1 and it seems this feature is not working. I can see that the query is always sent without and query parameter. Is this a known bug? thanks. -- View this message in context: http://lucene.472066.n3.nabb

Re: 100% CPU usage in empty indexs

2013-03-02 Thread Otis Gospodnetic
Hi, The CPU spikes but which process is eating the CPU? Assuming JVM - thread dump it a few times and look at the dumps. Otis -- SOLR Performance Monitoring - http://sematext.com/spm/index.html On Sun, Mar 3, 2013 at 12:52 AM, Roupihs wrote: > I have a puppet manifest that builds solr

100% CPU usage in empty indexs

2013-03-02 Thread Roupihs
I have a puppet manifest that builds solr 4.1 inside of tomcat 7 & java 1.7.15. All goes well, all of the core initialize and so on, But the second I go to the admin page (host:8080/solr) the cpu usage on one core spikes to 100% and never comes back down. Nothing at all in the logs except for the w

create cores dynamically

2013-03-02 Thread adeelmahmood
I am not sure if I understand how the creating cores dynamically functionality is supposed to work. From what I have sort of figured out is that I need to specify the instanceDir as the path to a directory which contains the conf file. So I have directory as template for configuration files but whe

Re: Consistent relevance tie-breaking across clusters?

2013-03-02 Thread Gregg Donovan
> > i believe he wants a consistent ordering that resolves ties in docs > with identical scores in some way thta doesn't favor documents based on > any externally visible propery of the documents themselves. That's correct. If we were starting from scratch, we might start with a secondary sort o

Re: Consistent relevance tie-breaking across clusters?

2013-03-02 Thread Chris Hostetter
: bq: we don't want to use either the primary key or the record's : update date as the tie-breaker, as it may introduce an new bias into the : ranking algorithm : : Are you thinking of adding something to your main clause to force this? : If so, why not just use sorting by adding a sort clause lik

Re: Language Identification and Stemming

2013-03-02 Thread Jan Høydahl
In addition to the text_lang fields you can of course have a text_general field which is unstemmed, where you put documents that you don't yet have language specific handling for. One potential issue of multi language search is detecting the language of the query itself. Sometimes your search pag

Re: Optimization storage issue

2013-03-02 Thread Manuel Le Normand
Hi Tim - thanks for the answer. For your assumption: my documents are about 50kb each in the index, but after two weeks of updating and not removing i have about 40% percent of unused docs in my index and that has an impact on the query performance. 1) My incentive for optimizing and not merging wa

Re: Stored values and date math query

2013-03-02 Thread Chris Hostetter
: sessionAvailableNowQuery = {!edismax}(start_time:[* TO : 1970-01-01T12:37:030Z] AND end_time:[1970-01-01T12:37:030Z + : (_val_:order_prep_time)MINUTES TO *] AND consumers:[1 TO *] AND : session_time_range_available:true) you can't embed the valuef of a field inside a query string like that (the

Re: Returning to Solr 4.0 from 4.1

2013-03-02 Thread Upayavira
What I'm questioning is whether the issue you see in 4.1 has been resolved in Subversion. While I would not expect 4.0 to read a 4.1 index, the SVN branch/4.2 should be able to do so effortlessly. Upayavira On Sat, Mar 2, 2013, at 06:17 PM, Dotan Cohen wrote: > On Fri, Mar 1, 2013 at 1:37 PM, Upa

Re: Optimization storage issue

2013-03-02 Thread Timothy Potter
Hi Manuel, If you search "optimize" on this mailing list, you'll see that one of the common suggestions is to avoid optimizing and fine-tune segment merging instead. So to begin, take a look at your solrconfig.xml and find out what your merge policy and mergeFactor are set to (note: they may be co

Re: Returning to Solr 4.0 from 4.1

2013-03-02 Thread Dotan Cohen
On Fri, Mar 1, 2013 at 1:37 PM, Upayavira wrote: > Can you use a checkout from SVN? Does that resolve your issues? That is > what will become 4.2 when it is released soon: > > https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x/ > > Upayavira > Thank you. Which feature of 4.2 are you s

Re: Combining q.op=AND with boost not working

2013-03-02 Thread Jack Krupansky
To properly set the default query operator to be AND, edit the /select request handler and set q.op there, for example: explicit 10 text edismax AND If you want to override the default operator on a single request and it as a simple parameter: /select?q=woman+smile

Re: Get page number of searchresult of a pdf in solr

2013-03-02 Thread Upayavira
Can you index every page as a separate doc (they can share a docID across all pages, the Solr ID field is just docID+pageno), then use highlighting to to get snippets, and use result grouping to group docs based on their docid. That'll mean you'll have all pages from a single document grouped toget

Re: Get page number of searchresult of a pdf in solr

2013-03-02 Thread Anirudha Jadhav
if you increase the granularity of your document in index to a single page instead of an entire pdf; it becomes an easy problem. Your description states that you are not searching for a terms in a pdf but instead you are searching for a term in a page from a pdf. I assume you load the pdf externa