Solr Query taking so much time to retrieve data
Hello, I am using solr 3.6 In that one field name is UniqueID. I want to get only those data which less than some particular UniqueID So I tried by below mentioned way. Suppose I want only those results which are less than 123 than http://SolrURL/Core/select?start=0&Rows=10&..&UniqueID:[*+TO+123] By using this Query, It takes much time to retrieve data. and without this &UniqueID:[*+TO+123] it gives data in few seconds. But if we use with &UniqueID:[*+TO+123], it consumes so much time to retrieve data from solr? What may be the issue? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Query-taking-so-much-time-to-retrieve-data-tp4087832.html Sent from the Solr - User mailing list archive at Nabble.com.
change default solr url /solr to /prodsolr
Hello, currently when we deploy, default url will be http://host:port/solr how can i change it to http://host:port/prodsolr? i am using jboss server. -- View this message in context: http://lucene.472066.n3.nabble.com/change-default-solr-url-solr-to-prodsolr-tp4049339.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: how to get term vector information of sepcific word/position in field
Thanks Chris, -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-get-term-vector-information-of-sepcific-word-position-in-field-tp4047637p4050997.html Sent from the Solr - User mailing list archive at Nabble.com.
sharding between different solr server having different schema
Hello All, I have two different solr servers. Both server has different schema. Is it possible to shard these two solr server? Or is there any other way to combine/merge results of two different solr servers? -- View this message in context: http://lucene.472066.n3.nabble.com/sharding-between-different-solr-server-having-different-schema-tp4063516.html Sent from the Solr - User mailing list archive at Nabble.com.
solr facet query on multiple search term
Hello All, I required facet counts for multiple SearchTerms. Currently I am doing two separate facet query on each search term with facet.range="dateField" e.g. http://solrserver/select?q=1stsearchTerm&fq=on&facet-parameters http://solrserver/select?q=2ndsearchTerm&fq=on&facet-parameters Note :: SearchTerm field will be text_en_splitting Now I have found another way to do facet query on multiple search term by tagging and excluding e.g. http://solrurl/select?start=0&rows=10&hl=off&; facet=on& facet.range.start=2013-06-06T16%3a00%3a00Z& facet.range.end=2013-06-07T16%3a00%3a01Z& facet.range.gap=%2B1HOUR& wt=xml& sort=dateField+desc& facet.range={!key=music+ex=movie}dateField& fq={!tag=music}content:"music"&facet.range={!key=movie+ex=music}dateField& fq={!tag=movie}content:"movie"&q=(col2:1+)& fq=+dateField:[2013-06-05T16:00:00Z+TO+2013-06-07T16:00:00Z]+AND+(+Col1:"test"+)& fl=col1,col2,col3 I have tested for few search term , It is providing same result as different query for each search term. Is this the proper way (with results and performance)? -- View this message in context: http://lucene.472066.n3.nabble.com/solr-facet-query-on-multiple-search-term-tp4068856.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: solr facet query on multiple search term
Thanks Erick, yes example url i provided is bit confusing, sorry for that. Actual requirement is to get day wise total no. of counts for multiple terms. if we use q=(firstterm OR secondterm)&facet.query=firstterm&facet.query=secondTerm. It will provide total no. of records count for both search term, but not day wise (facet.range will have combine results of both.) need something like below (just sample), 10551 20802 100 5 -- View this message in context: http://lucene.472066.n3.nabble.com/solr-facet-query-on-multiple-search-term-tp4068856p4069259.html Sent from the Solr - User mailing list archive at Nabble.com.
Solr - Get DocID of search result
Hello All, How can I get docID of result from solr? What I am doing currently is, I do search request in solr. I get certain records (Say 10). solrurl/start=0&rows=10 Now, again I do search request with below solrurl/start=10&rows=10 So i get next 10 records. Now new records are inserted in solr (Say 10 records). and Now If I do request again by solrurl/start=20&rows=10 So I might get repeated records. So if I have docID of than I can query by less than that docID. So is it possible to get docID? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Get-DocID-of-search-result-tp4070253.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr - Get DocID of search result
Thanks Jack, below is the actual problem, suppose currently 4 records are there in solr engine. A,B, C and D. query return start=0&rows=1 A start=1&rows=1 B start=2&rows=1 C now at this time, 1 new record has been inserted in solr "AA". so documents in solr are AA,A,B,C and D. now if i query start=3&rows=1, it will return "C" (2nd time so i have A, B, C, C), while i am expecting "D". -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Get-DocID-of-search-result-tp4070253p4070271.html Sent from the Solr - User mailing list archive at Nabble.com.
Term Vector information of only highlighting words
Hello, when i set term vector on, it will return information of all the words in document. i have highlighting on also. i want to get term vector information of only those words which are there in highlighting fragment. how to do that? -- View this message in context: http://lucene.472066.n3.nabble.com/Term-Vector-information-of-only-highlighting-words-tp4045124.html Sent from the Solr - User mailing list archive at Nabble.com.
how to get term vector information of sepcific word/position in field
Hello, currently when we set qt=tvrh&tv.all=true; it will return all the words which are there in text of field. is there any way, if i can get term vector information of specific word only, like i can pass the word, and it will just return term position and frequency for that word only? and also if i can pass the position e.g. startPosition=5 and endPosition=10; then it will return terms, positions and frequency of words which are there occurred inbeween start and end postion. -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-get-term-vector-information-of-sepcific-word-position-in-field-tp4047637.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: how to get term vector information of sepcific word/position in field
The requirement might seems weird, but the text field is big, and to get term vector information for 10 records in response will decrease the speed. and also i don't want term vector information of all the words. Is there any possible solution ? -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-get-term-vector-information-of-sepcific-word-position-in-field-tp4047637p4048433.html Sent from the Solr - User mailing list archive at Nabble.com.