On Mon, May 9, 2011 at 5:07 AM, solrfan wrote:
> Hi, I would like to write my own filter. I try to use the following class:
> But this is a problem for me. The one-to-one mapping. I want to map a given
> Token, for example "a" to three Tokens "a1", "a2", "a3". I want to do a
> one-to-one mapping t
Could you give us a bit more information?
How are you getting this information into Solr? SolrJ?
DataImportHandler? It's hard to see where the null value is getting
dropped, if we don't know the path that it is coming in.
I suspect that the default attribute won't do it. It's possible that
you mi
java -jar start.jar --help
More docs here
http://docs.codehaus.org/display/JETTY/A+look+at+the+start.jar+mechanism
Personally, I usually limit access to localhost by using whatever
firewall the machine uses.
Tom
On Fri, Dec 10, 2010 at 7:55 PM, Jack O wrote:
> Hello,
>
> For starting solr, fr
Check out this page: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters
Look, in particular, for "stemming".
On Fri, Dec 10, 2010 at 7:58 PM, Jack O wrote:
> Hello,
>
> Need one more help:
>
> What do I have to do so that search will work for singulars and plurals ?
>
>
>
> I would real
Hi John,
WeakReferences allow things to get GC'd, if there are no other
references to the object referred to.
My understanding is that WeakHashMaps use weak references for the Keys
in the HashMap.
What this means is that the keys in HashMap can be GC'd, once there
are no other references to the
On Thu, Dec 9, 2010 at 4:49 AM, Ophir Adiv wrote:
> On Thu, Dec 9, 2010 at 2:25 PM, Upayavira wrote:
>>
>>
>> On Thu, 09 Dec 2010 13:34 +0200, "Ophir Adiv" wrote:
>>> Hi,
>>>
>>> I added a configuration file which is updated on one of the master
>>> cores' conf directory, and also added the file
e);
> server.setMaxRetries(1); // defaults to 0. > 1 not
> recommended.
>
> } catch (MalformedURLException mex) {
> throw new SolrCustomException("Cannot resolve Solr Server at
> '" + url + "'\n", mex);
>
That''s a pretty low number of documents for auto complete. It means
that when getting to 850,000 documents, you will create 8500 segments,
and that's not counting merges.
How big are your documents? I just created an 850,000 document (and a
3.5 m doc index) with tiny documents (id and title), and
If you can benchmark before and after, please post the results when
you are done!
Things like your index's size, and the amount of RAM in your computer
will help make it meaningful. If all of your index can be cached, I
don't think fragmentation is going matter much, once you get warmed
up.
Tom
Just off the top of my head, aren't you able to use a slave as a
repeater, so it's configured as both a master and a slave?
http://wiki.apache.org/solr/SolrReplication#Setting_up_a_Repeater
This would seem to require that the slave return the same values as
its master for indexversion. What happe
For one thing, you wouldn't have fq= in there, except at the beginning.
fq=location:national OR (location:CA AND city:"San Francisco")
more below...
On Tue, Dec 7, 2010 at 10:25 PM, Andy wrote:
> Forgot to add, my defaultOperator is "AND".
>
> --- On Wed, 12/8/10, Andy wrote:
>
>> From: Andy
Hi Tri,
Well, I wouldn't really recommend this, but I just tried making a
custom XMLReponseWriter that wrote the response you wanted. So you can
use it with any request handler you want. Works fine, but it's pretty
hack-y.
The downside is, you are writing code, and you have to modify
SolrCore. Bu
rocess anyway
>>
>> Best
>> Erick
>>
>> On Tue, Dec 7, 2010 at 6:07 AM, lee carroll > >wrote:
>>
>> > Hi tom
>> >
>> > This seems to place in the index
>> > This is a scenic line of words
>> > I just wa
Hi Lee,
On Mon, Dec 6, 2010 at 10:56 PM, lee carroll
wrote:
> Hi Erik
Nope, Erik is the other one. :-)
> thanks for the reply. I only want the synonyms to be in the index
> how can I achieve that ? Sorry probably missing something obvious in the
> docs
Exactly what he said, use the => syntax.
Maybe process the city name as a single token?
On Mon, Sep 27, 2010 at 3:25 PM, Savannah Beckett
wrote:
> Hi,
> I have city name as a text field, and I want to do spellcheck on it. I use
> setting in http://wiki.apache.org/solr/SpellCheckComponent
>
> If I setup city name as text field and do
Delete all docs with the dynamic fields, and then optimize.
On Wed, Sep 22, 2010 at 1:58 PM, Moiz Bhukhiya wrote:
> Hi All:
>
> I had used dynamic fields for some of my fields and then later decided to
> make it static. I removed that dynamic field from the schema but I still see
> it on admin in
It will probably be clearer if you don't use the pseudo-boolean
operators, and just use + for required terms.
If you look at your output from debug, you see your query becomes:
all_text:open +all_text:excel +presentation_id:294 +type:blob
Note that "all_text:open" does not have a + sign, but
I agree that, if they are the same, you want to merge them.
In this case, I don't think you want them to be the same. In particular, you
usually don't want to catenateWords and catenateNumbers both index time AND
at query time. You generate the permutations on one, or the other, but you
don't need
When I run it, with that fieldType, it seems to work for me. Here's a sample
query output
0
17
on
0
xtext:I-Car
2.2
10
ALLCAPS
I-CAR
CAMEL
I-Car
Did I miss something?
Could you show the output with debugQuery=on for the user's failing query?
Assuming I
You need a query string with the standard request handler. (dismax has
q.alt)
Try q=*:*, if you are trying to get facets for all documents.
And yes, a friendlier error message would be a good thing.
Tom
On Mon, Mar 15, 2010 at 9:03 AM, David Rühr wrote:
> Hi List.
>
> We have two Servers dev
Hi -
The best way is probably to add more ram. :-)
That error apparently results from running out of perm gen space, and with
512m, you may not have much perm gen space.
Options for increasing this can be found
http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
But, if you don't have
Hi Mani,
Mani EZZAT wrote:
> I'm dynamically creating cores with a new index, using the same schema
> and solrconfig.xml
Does the problem occur if you use the same configuration in a single, static
core?
Tom
--
View this message in context:
http://old.nabble.com/Re%3A-Warning-%3A-no-lockTyp
I recommend getting familiar with the analysis tool included with solr. From
Solr's main admin screen, click on "analysis", Check verbose, and enter your
text, and you can see the changes that happen during analysis.
It's really helpful, especially when getting started.
Tom
On Wed, Jan 27, 2010
Hi -
I'd probably go with a single core on this one, just for ease of operations.
But here are some thoughts:
One advantage I can see to multiple cores, though, would be better idf
calculations. With individual cores, each user only sees the idf for his own
documents. With a single core, the idf
Hi -
Something doesn't make sense to me here:
On Mon, Jan 4, 2010 at 5:55 AM, dipti khullar wrote:
> - optimize runs on master in every 7 minutes
> - using postOptimize , we execute snapshooter on master
> - snappuller/snapinstaller on 2 slaves runs after every 10 minutes
>
>
Why would you optim
Did you rebuild the index? Changing the analyzer for the index doesn't
affect already indexed documents.
Tom
On Tue, Dec 8, 2009 at 11:57 AM, insaneyogi3008 wrote:
>
> Hello,
>
> I tried to force case insensitive search by having the following setting in
> my schema.xml file which I guess is st
k Brown Fox", because
it's not the whole field.
The ID field probably works because it has one term in it. "1" finds "1"
just fine.
Try solr.TextField instead.
Tom
On Mon, Dec 7, 2009 at 7:47 PM, Tom Hill wrote:
> Hi -
>
> That's a common one to
Hi -
That's a common one to get bit by. The string
On Mon, Dec 7, 2009 at 7:44 PM, regany wrote:
>
> hi all - newbie solr question - I've indexed some documents and can search
> /
> receive results using the following schema - BUT ONLY when searching on the
> "id" field. If I try searching on t
http://wiki.apache.org/solr/UpdateXmlMessages#A.22delete.22_by_ID_and_by_Query
On Thu, Dec 3, 2009 at 11:57 AM, Joel Nylund wrote:
> Is there a url based approach to delete a document?
>
> thanks
> Joel
>
>
Hi Brad,
I suspect that this section from the wiki for SynonymFilterFactory might be
relevant:
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory
*"Keep in mind that while the SynonymFilter will happily work with synonyms
containing multiple words (ie: "**sea
In this introductory technical presentation, renowned search expert Mark
Bennett, CTO of Search Consultancy New Idea Engineering,
will present practical tips and examples to help you quickly get productive
with Solr, including:
* Working with the "web command line" and controlling your inputs and
Thanks Brad!
Hoss, I've added the link to the wiki.
I've got the presentation on slideshare.net working.
http://www.slideshare.net/tomhill/an-introduction-to-solr
I don't see my comments when I view the presentation online, they are in the
.ppt you can download, and they add some more content.
Hi -
I'll be giving a talk on Solr at the East Bay Innovations Group (eBig) Java
SIG on Wed, June 18.
http://www.ebig.org/index.cfm?fuseaction=Calendar.eventDetail&eventID=16
This is an introductory / overview talk intended to get you from "What is
Solr & Why Would I Use It" to "Cool, now I kno
I certainly have seen memory problems when I just drop a new war file in
place. So now I usually stop tomcat and restart.
I used to see problems (pre-1.0) when I just redeployed repeatedly, without
even accessing the app, but I've got a little script running in the
background that has done that 50
Hi -
We're definitely not seeing that. What do your logs show? What do your
schema/solrconfig look like?
Tom
On 10/8/07, David Whalen <[EMAIL PROTECTED]> wrote:
>
> Hi All.
>
> I'm seeing all these threads about availability and I'm
> wondering why my situation is so different than others'.
>
>
Nice!
And there seem to be some improvements. For example, "Gamers" and "Gamera"
no longer stem to the same word :-)
Tom
On 10/2/07, Walter Underwood <[EMAIL PROTECTED]> wrote:
>
> Here at Netflix, we switched over our site search to Solr two weeks ago.
> We've seen zero problems with the server
Hi -
I'm not sure what you mean by a reflection based approach, but I've been
thinking about doing this for a bit, since we needed it, too.
I'd just thought about listing class names in the config file. The functions
would probably need to extend a subclass of ValueSource which will handle
argume
Hi Mike,
Thanks for clarifying what has been a bit of a black box to me.
A couple of questions, to increase my understanding, if you don't mind.
If I am only using fields with multiValued="false", with a type of "string"
or "integer" (untokenized), does solr automatically use approach 2? Or is
uot;this" and "is" work fine, whereas
> >> queries to "really" and "fünny" do not return the result. Fünnily ;-) ,
> >> after extending my sometext to "This is really fünny kraßen.", queries
> >> to "really" and "fünn
not work, but "kraßen" is found.
> Now I am somehow confused -- hopefully anyone has a good explanation ;-)
>
> Regards,
>
> marc
>
> > Tom Hill schrieb:
> >> If you are using tomcat, try adding "URIEncoding="UTF-8" to your
> >> tomc
If you are using tomcat, try adding "URIEncoding="UTF-8" to your tomcat
connector.
use the analysis page of the admin interface to check to see what's
happening to your queries, too.
http://localhost:8080/solr/admin/analysis.jsp?highlight=on (your port # may
vary)
Tom
On 9/13/07, Marc Be
It works for me. (fragments with solr 1.2 on tomcat 5.5.20)
Could you post your fragment file?
Tom
On 9/6/07, Matt Mitchell <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I recently upgraded to Solr 1.2. I've set it up through Tomcat using
> context fragment files. I deploy using the tomcat web manager.
I don't use the java client, but when I switched to 1.2, I'd get that
message when I forget to add the content type header, as described in
CHANGES.txt
> 9. The example solrconfig.xml maps /update to XmlUpdateRequestHandler using
the new request dispatcher (SOLR-104). This requires posted co
Hi -
I wouldn't facet on a "text" field, I tend to use "string" for the reasons
you describe. e.g. Use
or in your example
If I have multiple values, I add them as separate occurrences of the field I
am faceting on.
If you still need them all in one field for other reasons, use copyField
Hi -
On 8/23/07, Marc Bechler <[EMAIL PROTECTED]> wrote:
>
> I was wondering whether or not it is possible to realize different index
> spaces with one solr instance.
>
> Example: imagine, you want to have 2 index spaces that coexist
> independently (and wich can be identified, e.g., by a unique i
Hi -
Just looking at synonyms, and had a couple of questions.
1) For some of my synonyms, it seems to make senses to simply replace the
original word with the other (e.g. "theatre" => "theater", so searches for
either will find either). For others, I want to add an alternate term while
preserving
Hi -
With solr 1.2, when using XmlUpdateRequestHandler , if I post a valid
command like "" I get a response like
00
Nice, valid xml. But If I have an error (for example, ) I
get an HTML page back.
This tends to confuse the client software. Is there a way to get a return
like:
1blah, blah
Hi -
Perhaps I'm missing something obvious, but it there a way to get values from
the user's request as arguments to boost functions in dismax?
I'm thinking about distance based weighting for search results, which
requires the user's x,y.
Tom
Hi -
I have an index that is updated fairly frequently (every few seconds), and
I'm replicating to several slave servers.
Because of the frequent updates, I'm usually pushing an index that is not
optimized. And, as it takes several minutes to optimize, I don't want to do
it every time I replicat
Hi -
What happens if updates occur during the optimize?
Thanks,
Tom
Hi Charlie,
On 5/3/07, Charlie Jackson <[EMAIL PROTECTED]> wrote:
I have a couple of questions regarding index corruptions.
1) Has anyone using Solr in a production environment ever experienced an
index corruption? If so, how frequently do they occur?
I once had all slaves complain about a
Hi Matthew,
You might be able to just get away with just using facets, depending on
whether your goal is to provide a clickable list of styles_ids to the user,
or if you want to only return one search result for each style_id.
For a list of clickable styles, it's basic faceting, and works really
Hi -
On 4/23/07, Yonik Seeley <[EMAIL PROTECTED]> wrote:
On 4/23/07, Jennifer Seaman <[EMAIL PROTECTED]> wrote:
> When there is no "q" Solr complains. How can I browse a facet without
> a keyword query? For example, I want to view all document for a given
state;
>
> ?q=&fq=state:California
Wit
Hi -
Of the various approaches that you could take, the one I'd work on first is:
deployment constraints imply one webapp instance.
In most environments, it's going to cost a lot less to change this, than to
try to roll your own, or extensively modify solr.
I know I'm sidestepping your state
54 matches
Mail list logo