Re: Boosting in function queries?

2013-08-06 Thread Upayavira
haven't tried any of this, so no guarantees, but they are at least worth a try! Upayavira On Tue, Aug 6, 2013, at 06:17 AM, SolrLover wrote: I am trying to use the below query to boost the score of dismax component but it doesn't seem to work .. str name=q _query_:{!dismax qf=Fname v

Re: Can we use replication to union the data of master and slave?

2013-07-25 Thread Upayavira
I'm not entirely clear about your question. However, in replication, you should never commit docs directly to your slave, it will mess up the synchronisation of your indexes, and hence mess up your replication. If that's what you are proposing, don't do it! Upayavira On Thu, Jul 25, 2013, at 08

Re: returning only certain fields from the docs - parsing on the server side

2013-07-25 Thread Upayavira
fl is on the server side. Try it in a browser and you'll see that. Upayavira On Thu, Jul 25, 2013, at 10:44 PM, Matt Lieber wrote: Hi, I only want to return one field in the documents being returned from my query. I know there is the 'fl' parameter, which is described in the documentation

Start independent Zookeeper from within Solr install

2013-07-23 Thread Upayavira
still starts. I'm assuming that Jetty would still listen on port 8983, but it wouldn't initialise the Solr webapp: java -DzkRun -DzkEnsembleOnly -DzkHosts=zkhost01:9983,zkhost02:9983,zkhost03:9983 -jar start.jar Is this possible? If it is, I'm happy to have a go at making it happen. Upayavira

Re: Start independent Zookeeper from within Solr install

2013-07-23 Thread Upayavira
are unfamiliar with ZooKeeper, getting it up and running can be a challenge (I've seen quite a few people fail at it during training scenarios). Upayavira On Tue, Jul 23, 2013, at 03:21 PM, Timothy Potter wrote: Curious what the use case is for this? Zookeeper is not an HTTP service so loading

Re: How to from solr facet exclude specific “Tag”!

2013-07-14 Thread Upayavira
Make your two fq clauses separate fq params? Would be better for your caches, and would mean the tag is easily associated with the whole fq querystring. Upayavira On Sun, Jul 14, 2013, at 03:14 AM, 张智 wrote: solr 4.3 this is my query request params: lst name=responseHeaderint name=status0

Re: Save Solr index in database

2013-07-12 Thread Upayavira
If they ask, tell them that Solr *is* a database. Databases store their stuff on a file system, so your data is gonna end up there in the end. Putting Solr indexes inside a database is like storing mysql tables in Oracle. Upayavira On Fri, Jul 12, 2013, at 08:18 PM, Sagar Jadhav wrote: I think

Re: Surprising score?

2013-07-04 Thread Upayavira
And be sure to re-index your content. Upayavira On Thu, Jul 4, 2013, at 11:28 AM, Jeroen Steggink wrote: Hi Alexander, This is because you have length normalization enabled for that field. http://ir.dcs.gla.ac.uk/wiki/Length_Normalisation If you want it disabled set the following

Re: Distinct values in multivalued fields

2013-07-01 Thread Upayavira
Have a look at the DedupUpdateProcessorFactory, which may help you. Although, I'm not sure if it works with multivalued fields. Upayavira On Mon, Jul 1, 2013, at 02:34 PM, tuedel wrote: Hello everybody, i have tried to make use of the UniqFieldsUpdateProcessorFactory in order to achieve

Re: Normalizing/Returning solr scores between 0 to 1

2013-06-28 Thread Upayavira
And if Solr has to spit it out, perhaps you could do that with a simple salt transform or velocity template. Upayavira On Fri, Jun 28, 2013, at 12:30 AM, Learner wrote: Might not be useful but a work around would be to divide all scores by max score to get scores between 0 and 1

Re: URL search and indexing

2013-06-28 Thread Upayavira
field length normalisation is based upon the number of terms in a field, not the number of characters in a term. I guess with multivalued string fields, that would mean a field with lots of values (but one match) would score lower than one with only one matching value. Upayavira On Fri, Jun 28

Re: How spell checker used if indexed document is containing misspelled words

2013-06-28 Thread Upayavira
You're wanting to make your search more fuzzy. You could try phonetic search, but that's very fuzzy. Go to the analysis tab in the admin UI. Locate the 'phonetic' field type in the drop down, and you can see what will happen to terms when they are converted to phonetic equivalents. Upayavira

Re: Context search in solr

2013-06-28 Thread Upayavira
you might use proximity. low blood pressure~6 might match #1 and #2 but not #3. It says find phrases that require six or less position moves in order to match my terms as a phrase. Upayavira On Fri, Jun 28, 2013, at 11:10 AM, venkatesham.gu...@igate.com wrote: My search query is having

Re: Need Help in migrating Solr version 1.4 to 4.3

2013-06-27 Thread Upayavira
versions. So, a re-index will set you in far better stead, if it is at all possible. Upayavira On Tue, Jun 25, 2013, at 06:37 PM, Erick Erickson wrote: bq: I'm not sure if Solr 4.3 will be able to read Solr 1.4 indexes Solr/Lucene explicitly try to read _one_ major revision backwards. Solr 3.x

Re: Is there a way to build indexes using SOLRJ without SOLR instance?

2013-06-27 Thread Upayavira
in the same JVM as the client - i.e. no HTTP transport. It could be a useful way to do off-line index creation, I've never used it though so can't vouch for it. Upayavira On Wed, Jun 26, 2013, at 09:43 PM, Guido Medina wrote: Never heard of embedded Solr server, isn't better to just use lucene

Re: Filter queries taking a long time, even with cache disabled

2013-06-27 Thread Upayavira
can you give an example? On Thu, Jun 27, 2013, at 09:08 AM, Dotan Cohen wrote: On a Solr 4.1 install I see that queries with use the fq parameter take a long time (upwards of 120 seconds), both on the standard Lucene query parser and also with edismax. I have added the {!cache=false}

Re: Need Help in migrating Solr version 1.4 to 4.3

2013-06-27 Thread Upayavira
As much as possible, use new configs. Take fieldType definitions from your 4.x example dir, don't use the old ones. e.g. if you use the old date field type, it won't be usable in various ways (e.g. in the MS() function). Upayavira On Thu, Jun 27, 2013, at 11:00 AM, Sandeep Gupta wrote: Thanks

Re: SOLR online reference document - WIKI

2013-06-27 Thread Upayavira
It is all new, and as yet unreleased. It still has more work needed on formatting, etc, so I guess you could say, make of it what you will, and don't yet assume it will always be up and available. Upayavira On Thu, Jun 27, 2013, at 04:25 PM, Luis Lebolo wrote: This page never came up on any

Re: Change of email

2013-06-27 Thread Upayavira
. Then subscribe from the new address. If you have difficulties with unsubscribing, then a mail administrator can help you sort it. Upayavira

Re: Result Grouping

2013-06-26 Thread Upayavira
What type of field are you grouping on? What happens when you distribute it? I.e. what specifically goes wrong? Upayavira On Tue, Jun 25, 2013, at 09:12 PM, Bryan Bende wrote: I was reading this documentation on Result Grouping... http://docs.lucidworks.com/display/solr/Result+Grouping

Re: multiValued field score and count

2013-06-26 Thread Upayavira
give you a new field telling you how many times the term 1000 appears in the authorid field for each document. Upayavira On Wed, Jun 26, 2013, at 09:34 AM, Flavio Pompermaier wrote: Hi to everybody, I have some multiValued (single-token) field, for example authorid and itemid, and what I'd like

Re: multiValued field score and count

2013-06-26 Thread Upayavira
default. I typed the syntax below from memory, so I might not have got it exactly right. Upayavira On Wed, Jun 26, 2013, at 10:22 AM, Flavio Pompermaier wrote: So, in order to achieve that feature I have to declare my fileds (authorid and itemid) with termVectors=true termPositions=true

Re: How to get values of external file field(s) in Solr query?

2013-06-26 Thread Upayavira
The only way is using a frange (function range) query: q={!frange l=0 u=10}my_external_field Will pull out documents that have your external field with a value between zero and 10. Upayavira On Wed, Jun 26, 2013, at 09:02 PM, Arun Rangarajan wrote: http://docs.lucidworks.com/display/solr

Re: Pivot-Facets with ranges

2013-06-25 Thread Upayavira
rounding UpdateProcessors [1] that would allow you to do this within Solr itself. It'd be great if these were included in 4.4 :-) (hint to committers) Upayavira [1] https://issues.apache.org/jira/browse/SOLR-4772 On Tue, Jun 25, 2013, at 11:14 AM, Jakob Frank wrote: Hi all, is it possible using

Re: Solr, Shards, multi cores and (reverse proxy)

2013-06-25 Thread Upayavira
Create a new RequestHandler config, say /distrib. Requests will be forwarded to /select, which doesn't have the shards parameter, and everything will be just fine. Upayavira On Tue, Jun 25, 2013, at 02:17 PM, medley wrote: Thanks. It is working now and the QTime has been divided by 10. I

Re: Joins with SolrCloud

2013-06-25 Thread Upayavira
happens is the best 'n' matches, so exactly how those 'n' matches were located doesn't matter particularly. Simpler answer: try it! Upayavira On Tue, Jun 25, 2013, at 11:25 PM, Chris Toomey wrote: What are the restrictions/limitations w.r.t. joins when using SolrCloud? Say I have a 3-node

Re: Appending a value to fl parameter

2013-06-24 Thread Upayavira
Or use update processors, such as the script update processor. Have one field that is for needing purposes, and another that is for storage/display. If the point is to obscure the account number, shipping it in the HTML and having CSS do it is too late, isn't it? Upayavira On Mon, Jun 24, 2013

Re: Does SolrCloud require matching configuration files?

2013-06-23 Thread Upayavira
a SolrCloud collection to use different configs within the same collection? I'm not sure you can. Upayavira

DocTransformers for restructuring output, e.g. Highlighting

2013-06-23 Thread Upayavira
that, it isn't possible to access the Highlighter components in the core's configuration. Thoughts? Is this a useful feature? Upayavira

Re: what does a zero score mean?

2013-06-22 Thread Upayavira
in your scoring, but may be better than a zero score in the meantime! Upayavira On Sat, Jun 22, 2013, at 05:21 AM, Joe Zhang wrote: So, the reason is taht I'm getting zero values on FieldNorm. documentation tells me that there are 3 factors in play here: - LengthNorm -- can this be zero

Re: Adding documents in Solr plugin

2013-06-22 Thread Upayavira
already. Is there more to it than that? Upayavira

Re: Solr, Shards, multi cores and (reverse proxy)

2013-06-21 Thread Upayavira
If they are running on port 8983, then you just use localhost:8983 instead of remoteserver:80. Those URLs will be used from the solr server itself, so localhost should work. Upayavira On Fri, Jun 21, 2013, at 10:32 AM, medley wrote: Hello, I have this kind of url : http://remoteserver

Re: Adding documents in Solr plugin

2013-06-19 Thread Upayavira
code they touched. See if you can find a way to add something there. Upayavira On Wed, Jun 19, 2013, at 08:52 AM, Avner Levy wrote: I have a core with millions of records. I want to add a custom handler which scan the existing documents and update one of the field (delete and add document

Re: SolrCloud - Score calculation

2013-06-19 Thread Upayavira
use to fix this. There is a distributed IDF ticket in JIRA, maybe that is mature enough and might help you. Upayavira On Thu, Jun 20, 2013, at 01:56 AM, Learner wrote: Hi, Sorry if its a very basic question but I am pretty new to SolrCloud and I am trying to understand the underlying mechanism

Re: Shard identification

2013-06-18 Thread Upayavira
What version of Solr? I had something like this on 4.2.1. Upgraging to 4.3 sorted it. Upayavira On Tue, Jun 18, 2013, at 09:37 AM, Ophir Michaeli wrote: Hi, I built a 2 shards and 2 replicas system that works ok on a local machine, 1 zookeeper on shard 1. It appears ok on the solar

Re: Returning both partial and complete match results in solr

2013-06-18 Thread Upayavira
With two queries. I'm not sure there's another way to do it. Unless you were prepared to get coding, and implement another SearchComponent, but given that you can achieve it with two queries, that seems overkill to me. Upayavira On Tue, Jun 18, 2013, at 10:59 AM, Prathik Puthran wrote: Hi

Re: what does a zero score mean?

2013-06-18 Thread Upayavira
debugQuery=true adds an extra block of XML to the bottom that will give you extra info. Alternatively, add fl=*,[explain] to your URL. That'll give you an extra field in your output. Then, view the source to see it structured properly. Upayavira On Tue, Jun 18, 2013, at 02:52 PM, Joe Zhang

Re: Different scores for exact and non-exact matching

2013-06-17 Thread Upayavira
get you the result you want. Thus, exact phrase matches are boosted 10, docs that contain some of the words are boosted 5, and fuzzy matches effectively get a boost of 1 (the default). Upayavira On Mon, Jun 17, 2013, at 08:46 AM, Daniel Mosesson wrote: What I am looking to do is take field

Re: Filtered Query in Solr

2013-06-17 Thread Upayavira
Your fq query is: fq=asset_type:MUSIC ALBUM This is actually interpreted as: fq=asset_type:MUSIC text:ALBUM You probably want: fq=asset_type:MUSIC ALBUM or fq=asset_type:(+MUSIC +ALBUM) or even: fq:{!term f=asset_type}MUSIC ALBUM Upayavira On Mon, Jun 17, 2013, at 03:57 PM, Prathik Puthran

Re: Filtered Query in Solr

2013-06-17 Thread Upayavira
you have likely indexed it as a text/analysed field, not as a string field. Your usage suggests that MUSIC ALBUM should be a single term, thus you should index it as a string field. Upayavira On Mon, Jun 17, 2013, at 05:21 PM, Prathik Puthran wrote: MUSIC ALBUM is the value of one of the field

Re: yet another optimize question

2013-06-17 Thread Upayavira
the right config for the TieredMergePolicy, and therefore don't get to use it, seeing the old behaviour which does require periodic optimise. Upayavira On Mon, Jun 17, 2013, at 07:21 PM, Petersen, Robert wrote: Hi Otis, Right I didn't restart the JVMs except on the one slave where I

Re: Debugging Solr XSL

2013-06-13 Thread Upayavira
Use command line Xalan, debug the stylesheet outside of Solr. You can save the XML output to disk, and then transform that with xalan. Upayavira On Thu, Jun 13, 2013, at 10:45 PM, O. Olson wrote: Hi, I am attempting to transform the XML output of Solr using the XsltResponseWriter

Re: Partial update vs full update performance

2013-06-12 Thread Upayavira
. Changing the status of a publication would require a single document in the 'pubs' core to be changed, rather than re-indexing all documents. Does this hit what you are trying to achieve? Upayavira On Wed, Jun 12, 2013, at 03:51 PM, Jack Krupansky wrote: Correct. Generally, I think most apps

Re: Partial update vs full update performance

2013-06-12 Thread Upayavira
, at this point, you can only search on them when they are in another core, you cannot facet or sort, meaning join queries won't work for you. Upayavira

Re: How to ignore folder collection1 when running single instance of SOLR?

2013-06-11 Thread Upayavira
Solr, rename collection1 to another name, change the references to it in solr.xml, then restart Solr. Upayavira On Tue, Jun 11, 2013, at 06:41 PM, bbarani wrote: Erick, Thanks a lot for your response. Just to confirm if I am right, I need to use solr.xml even if I change the folder

Re: does solr support query time only stopwords?

2013-06-09 Thread Upayavira
Can you give examples? Show your field type config, the search terms you used. Also, did you reindex after changing your field type? As the index will be written using the analyser that was active at the time of indexing, so maybe your index still contains stop words. Upayavira On Sun, Jun 9

Re: Search for misspelled words in corpus

2013-06-09 Thread Upayavira
You haven't stated why figh is correct and sight isn't. Is it because the first letter is different? Upayavira On Wed, Jun 5, 2013, at 02:10 PM, కామేశ్వర రావు భైరవభట్ల wrote: Hi, I have a problem where our text corpus on which we need to do search contains many misspelled words. Same word

Re: LotsOfCores feature

2013-06-09 Thread Upayavira
something? Upayavira

Re: Configuring lucene to suggest the indexed string for all the searches of the substring of the indexed string

2013-06-06 Thread Upayavira
then you press space after Jason. Upayavira On Thu, Jun 6, 2013, at 07:25 AM, Prathik Puthran wrote: My use case is I want to search for any substring of the indexed string and the Suggester should suggest the indexed string. What can I do to make this work? Thanks, Prathik On Thu, Jun 6

Re: new xslt

2013-06-06 Thread Upayavira
can use the cloud-scripts/zkCli.sh file in the example dir to upload it. Upayavira

Re: Reindexing strategy

2013-05-29 Thread Upayavira
documents with an old last_indexed, and push them for re-indexing. If you get the full 100 docs, you make a subsequent request immediately. If you get less than 100 back, you know you're up-to-date and can wait, say, 30s before making another request. Upayavira On Wed, May 29, 2013, at 12:00 PM, Dotan

Re: Support for Mongolian language

2013-05-29 Thread Upayavira
On Wed, May 29, 2013, at 09:34 PM, bbarani wrote: Check out.. wiki.apache.org/solr/LanguageAnalysis‎ For some reason the above site takes long time to open.. There's a known performance issue with the wiki. Admins are working on it. Upayavira

Re: Indexing message module

2013-05-28 Thread Upayavira
into the index. Upayavira On Tue, May 28, 2013, at 07:44 AM, Arkadi Colson wrote: Is it ok to just change the multivalue attribute to true and reindex the message module data? There are also other modules indexed on the same schema with multivalued = false. Will it become a problem? BR, Arkadi

Re: What exactly happens to extant documents when the schema changes?

2013-05-28 Thread Upayavira
anything. But I have to say, I've never tried that. Thus - changing the schema will only impact on future indexing. Whether your existing index will still be valid depends upon the changes you are making. Upayavira

Re: Benchmarking Solr

2013-05-26 Thread Upayavira
SolrMeter? Upayavira On Sun, May 26, 2013, at 03:38 PM, Benson Margulies wrote: I'd like to run a repeatable test of having Solr ingest a corpus of docs on disk, to measure the speed of some alternative things plugged in. Anyone have some advice to share? One approach would be a quick

Re: split document or not

2013-05-26 Thread Upayavira
summer sun would also match. However, with a gap of 100 for a multivalued field, summer and sun would be considered 101 positions apart - as such they're not next to each other and therefore wouldn't constitute a phrase. Upayavira

Re: Question about Coordination factor

2013-05-24 Thread Upayavira
Have you tried 4.3 yourself? I'm sure it wouldn't be hard to do a simple comparison on that feature. Upayavira On Fri, May 24, 2013, at 03:00 AM, Kazuaki Hiraga wrote: Thank you for your comment. Due to historical reasons, Our organization uses trunk version of Solr-4.0, which is a bit old

Re: Can anyone explain this Solr query behavior?

2013-05-23 Thread Upayavira
* have a value in the text field: q=-text[* TO *] Upayavira On Fri, May 24, 2013, at 12:23 AM, Shankar Sundararaju wrote: Hi Erick, Here's the output after turning on the debug flag: *q=text:()debug=query* yields response lst name=responseHeader int name=status0/int int name=QTime17

Re: How To Make Index Backup at SolrCloud?

2013-05-20 Thread Upayavira
From looking at the ReplicationHandler code, it looks like if you hit it with a 'details' request, it'll show you the details of the most recent backup, including file count, status and completion time. Upayavira On Mon, May 20, 2013, at 08:46 AM, Furkan KAMACI wrote: Ooops, you didn't say

Re: Highlight only when all keywords match

2013-05-20 Thread Upayavira
implementation that you can include in your Solr setup. Or, if you make it generic enough, offer it back as a contribution that can be included in future Solr releases. Upayavira On Mon, May 20, 2013, at 12:14 PM, Sandeep Mestry wrote: I doubt if that will be the correct approach as it will be hard

Re: Highlight only when all keywords match

2013-05-20 Thread Upayavira
I can't give you much advice on the topic. I have reviewed the HighlightComponent and found it complex and hard to follow, so expect it to be challenging. Upayavira On Mon, May 20, 2013, at 01:28 PM, Sandeep Mestry wrote: Thanks Upayavira for that valuable suggestion. I believe overriding

Re: Hierarchical Faceting

2013-05-15 Thread Upayavira
http://wiki.apache.org/solr/HierarchicalFaceting On Wed, May 15, 2013, at 09:44 AM, varsha.yadav wrote: Hi Everyone, I am working on Hierarchical Faceting. I am indexing location of document with their state and district. I would like to find counts of every country with state count and

Re: Hierarchical Faceting

2013-05-15 Thread Upayavira
India/Maharastra India/Maharastra/Pune India/Maharastra/Pune/Dapodi These fields can be multivalued. Upayavira On Wed, May 15, 2013, at 12:29 PM, varsha.yadav wrote: Hi I go through that but i want to index multiple location in single document and a single location have multiple

Re: Quick SolrJ query how-to question.

2013-05-14 Thread Upayavira
Look at the source code for SolrJ, you'll find it is just a glorified HashMap, and you might find a way to interact with it that suits you (I think the end URL is just the result of calling toString() on the HashMap). Upayavira On Tue, May 14, 2013, at 10:13 AM, Luis Cappa Banda wrote: I know

Re: Why Solr Returns Error for a Search that has rows parameter smaller than numFound?

2013-05-14 Thread Upayavira
need to retrieve all docs, you should sort by some static ID, and grab them in batches, using range queries on that ID. Upayavira On Tue, May 14, 2013, at 04:34 PM, Furkan KAMACI wrote: When I make a query: :8983/solr/select?q=*:* I have numFound: 4264579 and then when I make that query

Re: SOLR guidance required

2013-05-13 Thread Upayavira
Multiple fq params are ANDed. So if you have fq=clause1 AND clause2, you should implement that as fq=clause1fq=clause2. However, if you want fq=clause1 OR clause2, you have no choice but to keep it as a single filter query. Upayavira On Mon, May 13, 2013, at 06:55 PM, Furkan KAMACI wrote: Jason

Re: Making protwords.txt changes effective

2013-05-13 Thread Upayavira
I think you can put it in your data dir and it'll get reloaded on commit. Try it and report back. Upayavira On Mon, May 13, 2013, at 06:01 PM, Jack Krupansky wrote: Yes, restart Solr. Not to reindex, but simply to reload the file. Well... depending on where you use the protected words, you

Re: Search identifier fields containing blanks

2013-05-08 Thread Upayavira
If you're using the latest Solr, then you should be able to do it the other way around: q=+location:bookshelf {!term f=myFieldName}G 23/60 12 You might also find the trick I mentioned before useful: q=+location:bookshelf {!term f=myFieldName v=$productCode}productCode=G 23/60 12 Upayavira

Re: Indexing Point Number

2013-05-08 Thread Upayavira
the comma with a dot before it gets to be indexed. Upayavira On Wed, May 8, 2013, at 10:28 AM, Gora Mohanty wrote: On 8 May 2013 14:48, be...@bkern.de be...@bkern.de wrote: I will index for example: field name=price19,95/field field name=price25,45/field I can only float with numbers with dots

Re: Search identifier fields containing blanks

2013-05-07 Thread Upayavira
={!term f=yourFieldName v=$productCode}productCode=G 23/60 12 which allows you to present the code as a separate request parameter. Upayavira

Re: Indexing off of the production servers

2013-05-06 Thread Upayavira
synced, you can switch your app to use this new collection, thus publishing your new index. You can then delete the cores on the boxes you were using for indexing. Now, that's not transparent, but would be do-able. Upayavira On Mon, May 6, 2013, at 01:37 PM, David Parks wrote: I'm less concerned

Re: How to get solr synonyms in result set.

2013-05-05 Thread Upayavira
There is no way to identify *which* synonyms triggered in your search output. You could implement a synonyms search component, that looks in the stored values of configured fields for synonyms, and adds another block of XML to the output. This old be useful component. Upayavira On Mon, May 6

Re: Document Missing from Share in Solr cloud

2013-04-17 Thread Upayavira
of undeleted docs is the same which is a good thing. Do queries against each replica for a shard, with distrib=false, and see whether the results are the same. Upayavira On Wed, Apr 17, 2013, at 09:14 AM, Cool Techi wrote: Shouldnt the number of docs across shards be same, I can see a difference Shard

Re: Why filter query doesn't use the same query parser as the main query?

2013-04-17 Thread Upayavira
You specify it as a default parameter for a requestHandler in your solrconfig.xml, giving a default value for defType. Not sure that you can set a default that will cover filter queries too. Upayavira On Wed, Apr 17, 2013, at 05:46 PM, Roman Chyla wrote: Makes sense, thanks. One more question

Re: Query Elevation Component

2013-04-17 Thread Upayavira
Perhaps you should describe the problem you are tryin to solve. There may be other ways to solve it. Upayavira On Thu, Apr 18, 2013, at 01:08 AM, davers wrote: I would like to use the Query Elevation Component. As I understand it only elevates based on term. I would also like it to consider

Re: Usage of CloudSolrServer?

2013-04-16 Thread Upayavira
it, without any intervention. Upayavira On Tue, Apr 16, 2013, at 08:36 AM, Furkan KAMACI wrote: Hi Shawn; I am sorry but what kind of Load Balancing is that? I mean does it check whether some leaders are using much CPU or RAM etc.? I think a problem may occur at such kind of scenario: if some

Re: Usage of CloudSolrServer?

2013-04-16 Thread Upayavira
I cannot say that I have researched it, but I have always taken it to be random. Upayavira On Tue, Apr 16, 2013, at 12:23 PM, Furkan KAMACI wrote: Thanks for your detailed explanation. However you said: It will then choose one of those hosts/cores for each shard, and send a request to them

Re: Solr using a ridiculous amount of memory

2013-04-15 Thread Upayavira
Might be obvious, but just in case - remember that you'll need to re-index your content once you've added docValues to your schema, in order to get the on-disk files to be created. Upayavira On Mon, Mar 25, 2013, at 03:16 PM, John Nielsen wrote: I apologize for the slow reply. Today has been

Re: SolrCloud Leaders

2013-04-15 Thread Upayavira
It is supposed to be one leader per shard, yes. Upayavira On Mon, Apr 15, 2013, at 01:21 PM, Furkan KAMACI wrote: Does number of leaders at a SolrCloud is equal to number of shards?

Re: how to migrate solr 1.4 index to solr 4.2 index

2013-04-12 Thread Upayavira
render some features non-functioning. For example, I have an index in that situation. My date fields were of type DateField not TrieDateField, meaning I could not use them in boost functions. If you can, try to think of and plan a way to re-index your content. Upayavira On Fri, Apr 12, 2013, at 12

Re: Solr : Stopwords at query time

2013-04-11 Thread Upayavira
I'd suggest using the analyze tab in the admin UI to unpick what is going on. You can play with scenarios there without having to waste round trips indexing stuff. Upayavira On Thu, Apr 11, 2013, at 08:25 AM, meghana wrote: In solr , I have text as like below format. 1s: This is very nice

Re: Use of SolrJettyTestBase

2013-04-11 Thread Upayavira
{ blah.blah.blah assertEquals(response.getResults().getNumFound(), 1); } } Neither of these methods get called when I execute the test. Any ideas what's up? Upayavira

Re: Combining join queries

2013-04-11 Thread Upayavira
Many thanks Yonik! Upayavira On Thu, Apr 11, 2013, at 09:32 PM, Yonik Seeley wrote: On Wed, Apr 10, 2013 at 7:33 AM, Upayavira u...@odoko.co.uk wrote: On Wed, Apr 10, 2013, at 12:22 PM, Upayavira wrote: I'm sure the best way for me to solve this issue myself is to ask it publicly, so

Combining join queries

2013-04-10 Thread Upayavira
understand, the Lucene query parser should combine these two with an implicit OR, no? Upayavira

Re: Indexed data not searchable

2013-04-10 Thread Upayavira
it to Solr providing a tr= parameter that points to an XSLT stylesheet which transforms your XML into an adddoc format. Upayavira On Wed, Apr 10, 2013, at 10:36 AM, Max Bo wrote: Thank you. I changed it and now it works. But is there any possibility to make the given timestamp

Re: Combining join queries

2013-04-10 Thread Upayavira
On Wed, Apr 10, 2013, at 12:22 PM, Upayavira wrote: I'm sure the best way for me to solve this issue myself is to ask it publicly, so... If I have two {!join} queries that select a collection of documents each, how do I create a filter query that combines their results? If I do fq={!join

Re: Number of segments

2013-04-08 Thread Upayavira
multiple tiers at play meaning you can have more than ten segments. There's also, I believe, properties that define the maximum size on disk for a segment and the like that can prevent merges from happening. Upayavira

Re: Indexed data not searchable

2013-04-08 Thread Upayavira
That is the structure of your content? Is it formatted in the same XML structure as the example data is? What URL are you posting to? Upayavira On Mon, Apr 8, 2013, at 02:08 PM, Max Bo wrote: Hello, I'm very new to Solr and I come to an unexplainable point by myself so I need your help

Re: Sub field indexing

2013-04-08 Thread Upayavira
compatible_productZ: 45, 85, 96 Then you can search for: q=compatible_productB: 5 This will find you all documents that are compatible with productB version 5. Upayavira On Mon, Apr 8, 2013, at 03:04 PM, It-forum wrote: Hello All, I'd like to be able to index documents containing criteria and values

Re: Number of segments

2013-04-08 Thread Upayavira
On Mon, Apr 8, 2013, at 02:51 PM, Michael Long wrote: On 04/08/2013 09:41 AM, Upayavira wrote: How many documents do you have? How big are the files on disk? 2,795,601 and the index dir is 50G Note it says segments per tier, you may have multiple tiers at play meaning you can have

Re: Does solr cloud support rename or swap function for collection?

2013-04-07 Thread Upayavira
Mark, have hunted, but not found docs for this feature. Can you point me at something? It is a very useful feature. Thx!! Upayavira On Sun, Apr 7, 2013, at 12:22 AM, Mark Miller wrote: 4.2 and 4.2.1 have collection aliasing (similar to what we had with SolrCore aliasing at one point). You can

Re: Does solr cloud support rename or swap function for collection?

2013-04-07 Thread Upayavira
Thx, very useful. On Sun, Apr 7, 2013, at 02:44 PM, bradhill99 wrote: I think the api is : http://localhost:8983/solr/admin/collections?action=CREATEALIASname=aliascollections=collection1,collection2,... And you can do query like: http://localhost:8983/solr/alias/select?... And it will

Re: Query parser cuts last letter from search term.

2013-04-03 Thread Upayavira
at index time and at query time, so stemmed terms are stored in your index, and also, as you are seeing, stemming happens on your query terms. You can use the 'analyze' option in the admin interface to see what happens to terms at query/indexing time for your various field definitions. Upayavira

Re: Query parser cuts last letter from search term.

2013-04-03 Thread Upayavira
On Wed, Apr 3, 2013, at 11:36 AM, vsl wrote: So why Solr does not return proper document? You're gonna have to give us a bit more than that. What is wrong with the documents it is returning? Upayavira

Use of SolrJettyTestBase

2013-04-01 Thread Upayavira
: Found binding in [jar:file:/Users/upayavira/.m2/repository/org/slf4j/slf4j-log4j12/1.7.2/slf4j-log4j12-1.7.2.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/Users/upayavira/.m2/repository/org/slf4j/slf4j-jdk14/1.6.4/slf4j-jdk14-1.6.4.jar!/org/slf4j/impl

Re: Querying a transitive closure?

2013-03-28 Thread Upayavira
Why don't you index all ancestor classes with the document, as a multivalued field, then you could get it in one hit. Am I missing something? Upayavira On Thu, Mar 28, 2013, at 01:59 AM, Jack Park wrote: Hi Otis, That's essentially the answer I was looking for: each shard (are we talking

Re: How to update synonyms.txt without restart?

2013-03-28 Thread Upayavira
Not sure, but if you put it in the data dir, I think it picks it up and reloads on commit. Upayavira On Thu, Mar 28, 2013, at 09:11 AM, Kaneyama Genta wrote: Dear all, I investigating how to update synonyms.txt. Some people says CORE RELOAD will reload synonyms.txt. But solr wiki says

Re: Contributors Group

2013-03-25 Thread Upayavira
While you're in that mode, could you please add 'Upayavira'. Thanks! Upayavira On Mon, Mar 25, 2013, at 02:41 PM, Steve Rowe wrote: On Mar 25, 2013, at 10:32 AM, Swati Swoboda sswob...@igloosoftware.com wrote: Can I be added to the contributors group? Username sswoboda. Added to solr

Re: how to search for special charcters

2013-03-21 Thread Upayavira
Use an EdgeNGramFilterFactory in your analysis time query parser. But note this will significantly increase the number of terms you are searching for, which will hit performance. Upayavira On Wed, Mar 20, 2013, at 03:47 PM, Niklas Langvig wrote: Hi How can in solr serach for all documents

Re: SynonymFilterFactory and Punctuation

2013-03-21 Thread Upayavira
Something is stripping your punctuation before it gets to your synonym filter. Presumably this is the StandardTokenFilter. Try it with the WhitespaceFilterFactory. Also be careful to URL encode plus signs in queries - they represent a space in a URL. Upayavira On Wed, Mar 20, 2013, at 10:52 PM

<    1   2   3   4   5   6   7   8   9   >