Why is the error as :
org.apache.tika.sax.WriteOutContentHandler$WriteLimitReachedException: Your
document contained more than 10 characters, and so your requested limit
has been reached. To receive the full text of the document, increase your
limit. (Text up to the limit is however
i am trying to index documents with solrj, this is my code,
import org.apache.solr.client.solrj.SolrServerException;
import org.apache.solr.client.solrj.impl.*;
import org.apache.solr.common.SolrInputDocument;
import java.io.IOException;
public class index {
public static void main(String[]
@Manish: i did add() but still the same error.
*Logs* shows this:
INFO: [document] webapp=/solr path=/update params={wt=javabinversion=2}
{add=[23 (1455037990928646144)]} 0 5
Dec 21, 2013 6:56:01 PM org.apache.solr.update.DirectUpdateHandler2 commit
INFO: start
I put the breakpoint at line : SolrInputDocument doc1 = new
SolrInputDocument();
It initially showed source not found for
Launcher.class,HTTPSolrServer.class.
But now even for URLClassPath.class ,the path to this class is the src.jar
in the jdk directory.
--
View this message in context:
When i run the console output is this :
http://lucene.472066.n3.nabble.com/file/n4107716/console.png
Which shows that program got terminated.
And from logs i am not able to find the solution.
When debugged, at many places it shows that:
http://lucene.472066.n3.nabble.com/file/n4107716/c.png
I dont see docs in the solr.
--
View this message in context:
http://lucene.472066.n3.nabble.com/program-termination-in-solrj-tp4107706p4107717.html
Sent from the Solr - User mailing list archive at Nabble.com.
So is it only because of the sources not found, that the docs dont get
indexed???
--
View this message in context:
http://lucene.472066.n3.nabble.com/program-termination-in-solrj-tp4107706p4107719.html
Sent from the Solr - User mailing list archive at Nabble.com.
i check as with query: q=id:23,
response is : numfound=0,
Statictics is:
Last Modified:16 minutes ago
Num Docs:14
Max Doc:16
Deleted Docs:2
Version:495
Segment Count:5
Also for q=*:* , numfound=14
--
View this message in context:
thru curl, pdf indexing,
curl
http://localhost:8080/solr/document/update/extract?literal.id=12commit=true;
-Fmyfile=@C:\solr\document\src\test1\Coding.pdf
--
View this message in context:
http://lucene.472066.n3.nabble.com/program-termination-in-solrj-tp4107706p4107730.html
Sent from the Solr
do i need to create a new schema.xml ?
--
View this message in context:
http://lucene.472066.n3.nabble.com/program-termination-in-solrj-tp4107706p4107734.html
Sent from the Solr - User mailing list archive at Nabble.com.
how to index pdf,doc files from browser?
this query is used for indexing :
curl
http://localhost:8080/solr/document/update/extract?literal.id=12commit=true;
-Fmyfile=@C:\solr\document\src\test1\Coding.pdf
but i need to index from browser, as we do for delete:
ok thanks,
but is there any other way where -F is not used?
I am creating a api in vc++ and to link to solr i am using libcurl,for this
to work the string is the url,
eg:
curl_easy_setopt(curl,
CURLOPT_URL,http://localhost:8080/solr/document/select?q=*%3A*wt=jsonindent=truefl=id;);
so for
yes, i did reindex.
--
View this message in context:
http://lucene.472066.n3.nabble.com/unable-to-facet-range-query-tp4106305p4106710.html
Sent from the Solr - User mailing list archive at Nabble.com.
I remove the QEC but for facet it still gives this error:
Unable to range facet on
field:id{type=integer,properties=indexed,stored,omitNorms,required,
required=true}
--
View this message in context:
http://lucene.472066.n3.nabble.com/unable-to-facet-range-query-tp4106305p4106335.html
Sent
I have indexed 9 docs.
this my* schema.xml*
schema name=documents
fields
field name=doc_id type=uuid indexed=true stored=true default=NEW
multiValued=false/
field name=id type=integer indexed=true stored=true required=true
multiValued=false/
field name=contents type=text indexed=true
But below that i have also defined this,
requestHandler name=/select class=solr.SearchHandler
lst name=defaults
str name=echoParamsexplicit/str
int name=rows10/int
str name=dfcontents/str
/lst
/requestHandler
Initially it worked,now all of a sudden why no results??
requestHandler name=standard class=solr.StandardRequestHandler
default=true
lst name=defaults
str name=echoParamsexplicit/str
int name=rows20/int
str name=fl*/str
str name=dfid/str
str name=version2.1/str
/lst
/requestHandler
No exception,it works normal.
other queries like :
http://localhost:8080/solr/document/select?q=author:dgfb
works.
Only for 'contents' field it does not work.
all other functionalities like analysis,indexing etc work fine.
But for spell check :
solrconfig is a xml file,it is not possible to run xml files,you open it in
browser and its code gets displayed.
--
View this message in context:
http://lucene.472066.n3.nabble.com/select-with-q-parameter-does-not-work-tp4106099p4106176.html
Sent from the Solr - User mailing list archive at
My schema has :
field name=contents type=text indexed=true stored=true
multiValued=false/
field name=id type=integer indexed=true stored=true required=true
multiValued=false/
this is my field which i want to facet:
field name=id type=integer indexed=true stored=true required=true
I dont why all of a sudden I started getting this errror :
this is the sreenshot:
http://lucene.472066.n3.nabble.com/file/n4104874/Untitled.png
I thought there might be some problem with tomcat,so I uninstalled it ,but i
still get the same error.
I have no idea why is this happening,initially it
Hi Kamaci,
I am doing a project on Solr using all the features of it,I have started
implementing a few of them.But I need Data flow diagrams,UML diagrams not
only to learn but also to present,so if you can in anyway provide your
class-diagram,it will be helpful to work further on Solr.
Also I
Hello,
I need UML diagrams(class,component,deployment,architecture diagrams) for
Solr, where can I get these diagrams?
Any help will be appreciated.
--
View this message in context:
http://lucene.472066.n3.nabble.com/UML-diagrams-for-solr-tp4093126.html
Sent from the Solr - User mailing list
the input (contents:Sushant
not getting hits).
Please spend some time with the admin/analysis page
to understand the transformations at index time and
query time, that'll clarify a lot.
Best
Erick
On Tue, Sep 24, 2013 at 6:49 AM, Nutan [hidden
email]http://user/SendEmail.jtp?type
=uprefixignored_/str
/lst
/requestHandler
On Sun, Sep 22, 2013 at 8:53 PM, Erick Erickson [via Lucene]
ml-node+s472066n4091440...@n3.nabble.com wrote:
Please review:
http://wiki.apache.org/solr/UsingMailingLists
Erick
On Sun, Sep 22, 2013 at 5:52 AM, Nutan [hidden
email]http://user
:[
{
id:7,
author:[nutan],
comments:best book,
keywords:solr,lucene,
contents:solr,lucene is used for search based service.,
title:solr cookbook 3.1,
revision_number:0012345654334},
{
id:8,
author:[nutan shinde
Okay thanks.
--
View this message in context:
http://lucene.472066.n3.nabble.com/searching-within-documents-tp4090173p4091705.html
Sent from the Solr - User mailing list archive at Nabble.com.
Why does it happens that for few words it shows output and for few it does
not?
For example,
1)
q=contents:Sushant
numfound is 0
q=contents:sushant
gives output
2)
q=contents:acted
numfound 0
q=contents:well
gives output
This is the document:
result name=response numFound=1 start=0
doc
removing things one-by-one...
Best,
Erick
On Sat, Sep 21, 2013 at 7:34 AM, Nutan [hidden
email]http://user/SendEmail.jtp?type=nodenode=4091391i=0
wrote:
Yes I do get the solr admin page.And im not using the example config
file,I
have create mine own for my project as required.I have
I have been trying to resolve the problem of searching within doc,it wasnt
working so I thought of installing solr on other system.I followed the same
process-to install tomcat-create solr-home folder-solr.xml-then I get
the homepage(admin)of solr and followed Solr cookbook for extracting handler
: Nutan
: Sent: Sunday, September 15, 2013 2:37 AM
: To: [hidden email]http://user/SendEmail.jtp?type=nodenode=4090459i=0
: Subject: requested url solr/update/extract not available on this server
:
: I am working on Solr 4.2 on Windows 7. I am trying to index pdf files.I
: referred Solr
=solr.WhitespaceTokenizerFactory/…
/analyzer
analyzer type=query
tokenizer class=solr.WhitespaceTokenizerFactory/…
/analyzer
/fieldType
fieldtype name=ignored stored=false indexed=false multiValued=true
class=solr.StrField /
/types
uniqueKeyid/uniqueKey
/schema
On Sat, Sep 21, 2013 at 7:58 PM, Nutan nutanshinde1
I am working on Solr 4.2 on Windows 7. I am trying to index pdf files.I
referred Solr Cookbook 4. Tomcat is using 8080 port number. I get this
error:requested url solr/update/extract not available on this server
When my curl is :
curl
I get this error : solr/select not available.I am using two cores document
and contract.Solrconfig.xml of document core is :
?xml version=1.0 encoding=UTF-8 ?
config
luceneMatchVersionLUCENE_42/luceneMatchVersion
dataDir${solr.collection1.data.dir:}/dataDir
/requestDispatcher
lib
this is my schema.xml :
schema name=documents
fields
field name=id type=string indexed=true stored=true required=true
multiValued=false/
field name=author type=string indexed=true stored=true
multiValued=true/
field name=comments type=text indexed=true stored=true
multiValued=false/
field
, Gora Mohanty-3 [via Lucene]
ml-node+s472066n4090175...@n3.nabble.com wrote:
On 15 September 2013 17:20, Nutan [hidden
email]http://user/SendEmail.jtp?type=nodenode=4090175i=0
wrote:
this is my schema.xml :
You do not provide nearly enough information for people to
be able to help you
Error got resolved,thanks a lot Sir.I have been trying since days to
resolve it.
On Fri, Sep 6, 2013 at 11:36 PM, Chris Hostetter-3 [via Lucene]
ml-node+s472066n4088604...@n3.nabble.com wrote:
: it shows type as undefined for dynamic field ignored_* , and I am using
That means the
Error got resolved,solution was dynamic field / must be within fields
tag.
On Sun, Sep 8, 2013 at 3:31 AM, Furkan KAMACI furkankam...@gmail.comwrote:
Could you show us logs you get when you start your web container?
2013/9/4 Nutan Shinde nutanshinde1...@gmail.com
My solrconfig.xml
I will try this,thanks
--
View this message in context:
http://lucene.472066.n3.nabble.com/unknown-stream-source-info-while-indexing-rich-doc-in-solr-tp4088136p4088490.html
Sent from the Solr - User mailing list archive at Nabble.com.
it shows type as undefined for dynamic field ignored_* , and I am using
default collection1 core,
but on the admin page it shows schema :
fields
field name=id type=string indexed=true stored=true required=true
multiValued=false/
field name=author type=string indexed=true stored=true
i am using solr4.2 on windows7
my schema is:
field name=id type=string indexed=true stored=true
required=true/
field name=author type=string indexed=true stored=true
multiValued=true/
field name=comments type=text indexed=true stored=true
multiValued=false/
field name=keywords type=text
My solrconfig.xml is:
requestHandler name=/update/extract
class=solr.extraction.ExtractingRequestHandler
lst name=defaults
str name=fmap.contentdesc/str !-to map this field of my table which
is defined as shown below in schem.xml--
str name=lowernamestrue/str
str name=uprefixattr_/str
yes sir i did restart the tomcat.
On Wed, Sep 4, 2013 at 6:27 PM, Jack Krupansky-2 [via Lucene]
ml-node+s472066n4088181...@n3.nabble.com wrote:
Did you restart Solr after editing config and schema?
-- Jack Krupansky
-Original Message-
From: Nutan
Sent: Wednesday, September 04
43 matches
Mail list logo