Unsupported ContentType: application/pdf Not in: [application/xml,​ text/csv,​ text/json,​ application/csv,​ application/javabin,​ text/xml,​ application/json]

2014-08-20 Thread Croci Francesco Luigi (ID SWS)
Hallo, I have solr 4.9.0 and I’m getting the above error if I try to index a pdf document with the Solr Web-Interface. Here is my schema and solrconfig. Do I miss something? : ?xml version=1.0 encoding=UTF-8 ? schema name=simple version=1.1 types

Solr, weblogic managed server and log4j logging

2014-08-19 Thread Croci Francesco Luigi (ID SWS)
Maybe some of you uses Solr with Weblogic and can help me... I have weblogic 12.1.3 and would like to deploy/run solr on a managed server. I started the node manager, created a server named server-solr and deployed solr(4.7.9). In the server start tab of the server configuration I added

RE: Show the score in the search result

2014-04-17 Thread Croci Francesco Luigi (ID SWS)
Hello Chris: trying to execute http://localhost:7001/solr/collection1/select?q=*%3A*rows=1fl=scorewt=jsonindent=trueechoParams=true I get { error: { msg: Invalid value 'true' for echoParams parameter, use 'EXPLICIT' or 'ALL', code: 400 } } With echoParams=ALL: {

RE: Show the score in the search result

2014-04-17 Thread Croci Francesco Luigi (ID SWS)
I think you mean this row: str name=fl* ,fullText: .../str Ok, but what I understood is that the * means that ALL the fields are displayed anyway. Or not? Francesco -Original Message- From: Stefan Matheis [mailto:matheis.ste...@gmail.com] Sent: Donnerstag, 17. April 2014 10:04 To:

Show the score in the search result

2014-04-16 Thread Croci Francesco Luigi (ID SWS)
I read that if I add the string score in the fl field, I should be able to see the score within the retuned documents. As I understand score is a special/reserved word and I don't have to define in the schema (right)? I did so, but in the returned fields' list I see no score field... Here is

RE: Show the score in the search result

2014-04-16 Thread Croci Francesco Luigi (ID SWS)
, Apr 16, 2014 at 6:38 AM, Croci Francesco Luigi (ID SWS) fcr...@id.ethz.ch wrote: I read that if I add the string score in the fl field, I should be able to see the score within the retuned documents. As I understand score is a special/reserved word and I don't have to define in the schema

RE: Show the score in the search result

2014-04-16 Thread Croci Francesco Luigi (ID SWS)
Krupansky -Original Message- From: Erick Erickson Sent: Wednesday, April 16, 2014 8:00 AM To: solr-user@lucene.apache.org Subject: Re: Show the score in the search result What version of Solr? Works fine for me. Best, Erick On Wed, Apr 16, 2014 at 6:38 AM, Croci Francesco Luigi (ID SWS) fcr

RE: Show the score in the search result

2014-04-16 Thread Croci Francesco Luigi (ID SWS)
-Original Message- From: Erick Erickson Sent: Wednesday, April 16, 2014 8:00 AM To: solr-user@lucene.apache.org Subject: Re: Show the score in the search result What version of Solr? Works fine for me. Best, Erick On Wed, Apr 16, 2014 at 6:38 AM, Croci Francesco Luigi (ID SWS) fcr...@id.ethz.ch

Search a list of words and returned order

2014-04-11 Thread Croci Francesco Luigi (ID SWS)
When I search for a list of words, per default Solr uses the OR operator. In my case I index (pdfs) files. How/what can I do so that when I search the index for a list of words, I get the list of documents ordered first by the ones that have all the words in them? Thank you Francesco

RE: Query and field name with wildcard

2014-04-07 Thread Croci Francesco Luigi (ID SWS)
On Fri, Apr 4, 2014 at 3:52 PM, Croci Francesco Luigi (ID SWS) fcr...@id.ethz.ch wrote: In my index I have some fields which have the same prefix(rmDocumentTitle, rmDocumentClass, rmDocumentSubclass, rmDocumentArt). Apparently it is not possible to specify a query like this: q = rm

RE: Query and field name with wildcard

2014-04-07 Thread Croci Francesco Luigi (ID SWS)
Sorry, found the problem myself... I used the /select where the str name=defTypeedismax/str was not defined. The other two, /selectEN and /selectDE, worked. Adding the edismax to the /select made it work too. Ciao Francesco -Original Message- From: Croci Francesco Luigi (ID SWS

Query and field name with wildcard

2014-04-04 Thread Croci Francesco Luigi (ID SWS)
In my index I have some fields which have the same prefix(rmDocumentTitle, rmDocumentClass, rmDocumentSubclass, rmDocumentArt). Apparently it is not possible to specify a query like this: q = rm* : some_word Is there a way to do this without having to write a long list of ORs? Another

How to index only the pdf content/text

2014-03-25 Thread Croci Francesco Luigi (ID SWS)
I searched a way to index only the content/text part of a PDF (without all the other fields Tika creates) and I found the solution with the uprefix = ignored_ and dynamicField name=ignored_* type=ignored multiValued=true indexed=false stored=false /. The problem is, that uprefix works on

analyzer with multiple stem-filters for more languages

2014-03-14 Thread Croci Francesco Luigi (ID SWS)
It is possible to define an analyzer with more than one Stem-filter for more languages? Something like this: analyzer type=index ... filter class=solr.PorterStemFilterFactory/ (default for english) filter class=solr.SnowballPorterFilterFactory language=German2 / /analyzer

Problem adding fields when indexing a pdf

2014-03-13 Thread Croci Francesco Luigi (ID SWS)
When I index a pdf I would like to manually add the document's title in a filed named rmDocumentTitle. I defined the filed in the schema.xml, but when I query Solr I see that the field was not created... Do I make something wrong? Below the code snippet, schema and solrconfig.xml Thank you

Problem adding fields when indexing a pdf (add-on)

2014-03-13 Thread Croci Francesco Luigi (ID SWS)
I tried to define a new field test in the schema (field name=test type=string indexed=true stored=true multiValued=true/) and added req.setParam(literal.test, test title); in the code. The field (test) is there O_O. Can someone explain me the difference? Why rmDocumentTitle is not there while

RE: Problem adding fields when indexing a pdf (add-on)

2014-03-13 Thread Croci Francesco Luigi (ID SWS)
Ok, I renamed the filed rmDocumentTitle to rmdocumenttitle and now the field is there! Is there some naming rules for the field's names? No uppercase? Greetings Francesco -Original Message- From: Croci Francesco Luigi (ID SWS) [mailto:fcr...@id.ethz.ch] Sent: Donnerstag, 13. März

RE: Problem adding fields when indexing a pdf (add-on)

2014-03-13 Thread Croci Francesco Luigi (ID SWS)
Francesco -Original Message- From: Gora Mohanty [mailto:g...@mimirtech.com] Sent: Donnerstag, 13. März 2014 14:35 To: solr-user@lucene.apache.org Subject: Re: Problem adding fields when indexing a pdf (add-on) On 13 March 2014 18:33, Croci Francesco Luigi (ID SWS) fcr...@id.ethz.ch wrote

RE: Problem adding fields when indexing a pdf (add-on)

2014-03-13 Thread Croci Francesco Luigi (ID SWS)
Ok. Maybe I found the problem: in the solrconfig.xml I have str name=lowernamestrue/str I set it to false and now rmDocumentTitle is there too... Regards Francesco -Original Message- From: Croci Francesco Luigi (ID SWS) [mailto:fcr...@id.ethz.ch] Sent: Donnerstag, 13. März 2014 14:39

Many PDFs indexed but only one returned in te Solr-UI

2014-03-11 Thread Croci Francesco Luigi (ID SWS)
I followed the example here (http://searchhub.org/2012/02/14/indexing-with-solrj/) for indexing all the pdfs in a directory. The process seems to work well, but at the end, when I go in the Solr-UI and click on Execute query(with q=*:*), I get only one entry. Do I miss something in my code?

FW: Files locked after indexing

2014-03-11 Thread Croci Francesco Luigi (ID SWS)
Hi to all, I'm pretty new with solr and tika and I have a problem. I have the following workflow in my (web)application: * download a pdf file from an archive * index the file * delete the file My problem is that after indexing the file, it remains locked and the delete-part

RE: Many PDFs indexed but only one returned in te Solr-UI

2014-03-11 Thread Croci Francesco Luigi (ID SWS)
) just to have something that changes every run. Best Erick On Tue, Mar 11, 2014 at 6:00 AM, Croci Francesco Luigi (ID SWS) fcr...@id.ethz.ch wrote: I followed the example here (http://searchhub.org/2012/02/14/indexing-with-solrj/) for indexing all the pdfs in a directory. The process seems