Problem with getting tv.tf_idf values.

2014-05-11 Thread Silvia Suárez
Dear all, I'm trying to get tv.tf_idf values from my Solr documents into the termvector. I am using SolrJ. However it is not working. I'm setting the values to true (tv.tf_idf) in my search: public static QueryResponse doQuery(SolrServer server, String queryEnt, String myCollection) throws

Re: How to add a map of key/value pairs into a solr schema?

2014-04-02 Thread Silvia Suárez
s: 2252 3789 3790 3794 And it is working ok, In this sense, Is it possible to update another field type, like a map (key/value) using SolrJ?: For example some thing like this: 2252 / 23 3789 / 54 3790 / 21 3794 / 12 Thanks a lot in advance,

How to add a map of key/value pairs into a solr schema?

2014-04-01 Thread Silvia Suárez
Dear all, I'm trying to add a map of key/value pairs into the solr schema, and I just wordering if it is possible. For instance: This is my schema.xml : Is it possible to define a type= map (see the example above in the schema) into the solr xchema?, for example something like this:

Re: Please help: Problems adding a document to the solr collection

2014-04-01 Thread Silvia Suárez
Thanks for your answer Alexandre! S. Silvia Suárez Barón I+D+I <http://www.anpro21.com/> 972 989 470 / s...@anpro21.com / <http://www.anpro21.com/twitter> <http://www.anpro21.com/facebook> <http://www.linkedin.com/pub/silvia-a-su%C3%A1rez-bar%C3%B3n-phd/10/b30/26a>

Please help: Problems adding a document to the solr collection

2014-03-28 Thread Silvia Suárez
Dear all: I'm trying to add a solr document into the solr collection. The code that I am using is like this: public static void addDocuments (HttpSolrServer serverCore2) throws SolrServerException, IOException { SolrInputDocument doc1 = new SolrInputDocument(); doc1.addField( "c_noticia", "

How to retrieve the query for a boolean keyword?

2013-10-16 Thread Silvia Suárez
Dear all, I am using solrj as client for indexing and searching documents on the solr server My question: How to retrieve the query for a boolean keyword? For example: I have this query: text:(“vacuna” AND “esteve news”) OR text:(“vacuna”) OR text:(“esteve news”) And searching in: text--> E

Re: Please any idea? Highlighting exact phrases with solr

2013-10-15 Thread Silvia Suárez
ctors=on' etc, but > if you actually put termVectors="on" in your field definition, I don't > think that would work; it's actually termVectors="true". > > -- Bryan > > > -Original Message- > > From: Silvia Suárez [mailto:s...@anpro

Re: Please any idea? Highlighting exact phrases with solr

2013-10-14 Thread Silvia Suárez
Good morning, Please, help me giving any idea/solution to the problem? Thanks a lot in advance Sil, Silvia Suárez Barón I+D+I <http://www.anpro21.com/> 972 989 470 / s...@anpro21.com / <http://www.anpro21.com/twitter> <http://www.anpro21.com/facebook> <http://www.link

Re: Please help!, Highlighting exact phrases with solr

2013-10-11 Thread Silvia Suárez
ucene.com/m/vnMGKACGM1/%252218+or+higher.%2522&subj=FastVectorHighlighter+and+hl+fragsize+parameter+set+to+zero+causes+exception > > and a related fixed issue: https://issues.apache.org/jira/browse/SOLR-1268 > > > 2013/10/11 Silvia Suárez > > > Dear Koji, > > >

Re: Please help!, Highlighting exact phrases with solr

2013-10-11 Thread Silvia Suárez
ncurrir en responsabilidades legales. 2013/10/10 Koji Sekiguchi > (13/10/10 18:17), Silvia Suárez wrote: > >> I am using solrj as client for indexing documents on the solr server I am >> new to solr, And I am having problem with the highlighting in solr. >> Highlight

Please help!, Highlighting exact phrases with solr

2013-10-10 Thread Silvia Suárez
I am using solrj as client for indexing documents on the solr server I am new to solr, And I am having problem with the highlighting in solr. Highlighting exact phrases with solr does not work. For example if the search keyword is: "dulce hogar" it returns: dulce hogar And it should be: d