Re: Bad performance while query pdf solr documents

2012-12-23 Thread Dirk Högemann
Do you really need them all in the response to show them in the results?
As you define them as not stored now this does not seem so.


2012/12/23 Otis Gospodnetic 

> Hi,
>
> You can specify them in solrconfig.xml for your request handler, so you
> don't have to specify it for each query unless you want to override fl.
>
> Otis
> Solr & ElasticSearch Support
> http://sematext.com/
> On Dec 23, 2012 4:39 AM, "uwe72"  wrote:
>
> > we have more than hundreds fields...i don't want to put them all to the
> fl
> > parameters
> >
> > is there a other way, like to say return all fields, except the
> fields...?
> >
> > anyhow i will change the field from stored to stored=false in the schema.
> >
> >
> >
> > --
> > View this message in context:
> >
> http://lucene.472066.n3.nabble.com/Bad-performance-while-query-pdf-solr-documents-tp4028766p4028816.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>


Re: Bad performance while query pdf solr documents

2012-12-23 Thread uwe72
we have more than hundreds fields...i don't want to put them all to the fl
parameters

is there a other way, like to say return all fields, except the fields...?

anyhow i will change the field from stored to stored=false in the schema.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Bad-performance-while-query-pdf-solr-documents-tp4028766p4028816.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Bad performance while query pdf solr documents

2012-12-23 Thread Dirk Högemann
You can define the fields to be returned with the fl parameter fl=the,
needed, fields - usually the score and the id...

2012/12/23 uwe72 

> hi
>
> i am indexing pdf documents to solr by tika.
>
> when i do the query in the client with solrj the performance is very bad
> (40
> seconds) to load 100 documents?
>
> Probably because to load all the content. The content i don't need. How can
> i tell the query to don't load the content?
>
> Or other reasons why the performance is so bad?
>
> Regards
> Uwe
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Bad-performance-while-query-pdf-solr-documents-tp4028766.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>


Re: Bad performance while query pdf solr documents

2012-12-23 Thread Upayavira
You make the text field stored="false" in your schema, then reindex.
Then it won't show in search results.

Upayavira

On Sun, Dec 23, 2012, at 09:27 AM, uwe72 wrote:
> >>>your query-time fl parameter. 
> 
> means "don't return" this field?
> 
> because we have many many fields, so probably now i use the default and
> all
> fields will be loaded. so i just want to tell the query to don't load the
> "text" field. I do this with the fl parameter? 
> 
> 
> 
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Bad-performance-while-query-pdf-solr-documents-tp4028766p4028813.html
> Sent from the Solr - User mailing list archive at Nabble.com.


Re: Bad performance while query pdf solr documents

2012-12-23 Thread uwe72
>>>your query-time fl parameter. 

means "don't return" this field?

because we have many many fields, so probably now i use the default and all
fields will be loaded. so i just want to tell the query to don't load the
"text" field. I do this with the fl parameter? 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Bad-performance-while-query-pdf-solr-documents-tp4028766p4028813.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Bad performance while query pdf solr documents

2012-12-22 Thread Erik Hatcher
Set text to be unstored (stored="false") and / or don't put that field in your 
query-time fl parameter. 

Erik

On Dec 22, 2012, at 18:23, uwe72  wrote:

> i dont want to load the part:
> 
> 
> where is the indexed content of the origin pdf
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Bad-performance-while-query-pdf-solr-documents-tp4028766p4028767.html
> Sent from the Solr - User mailing list archive at Nabble.com.


Bad performance while query pdf solr documents

2012-12-22 Thread uwe72
hi

i am indexing pdf documents to solr by tika.

when i do the query in the client with solrj the performance is very bad (40
seconds) to load 100 documents?

Probably because to load all the content. The content i don't need. How can
i tell the query to don't load the content?

Or other reasons why the performance is so bad?

Regards
Uwe



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Bad-performance-while-query-pdf-solr-documents-tp4028766.html
Sent from the Solr - User mailing list archive at Nabble.com.