Hi,
I spent some time on solr in order to figure out what
it can do. I sill have some problems finding the right
way to do my search.
I have a bunch of heterogenous objects that I want to
search. All of these objects belong to an owner. When
a search is issued I like not only to find the
Hey,
That's because Solr just looks for one start,end and gap params in
solrconfig.xml. It just allows you to do datefaceting for differents fields
but just in one range period.
I was in the same situation as you are, what I did was modify the function
getFacetDateCounts() from
There can be two other options:
1) To make 2 solr queries to get two facets
2) Use copy field of schema.xml.
Thanks,
Prerna
Marc Sturlese wrote:
Hey,
That's because Solr just looks for one start,end and gap params in
solrconfig.xml. It just allows you to do datefaceting for differents
On Sun, 2009-01-11 at 17:07 +0530, Shalin Shekhar Mangar wrote:
On Sun, Jan 11, 2009 at 4:02 PM, Norbert Hartl norb...@hartl.name wrote:
I like the search result to include only the fields
that matched the search. Is this possible? I only
saw the field spec where you can have a certain
I have a problem with solrj delete By Id . If I search a keyword and it has
more than 1 result no (for example 7) then I delete on of the resulted doc
with solrj (server.deleteById ) , I search this keyword again the result
no is zero . and it 's not correct because it should be 6 . It should
Hi Grant,
My spellcheck is now working fine with the following configuration:
searchComponent name=spellcheck class=solr.SpellCheckComponent
lst name=spellchecker
str name=fieldTypeword/str
str name=classnamesolr.IndexBasedSpellChecker/str
str name=fieldword/str
str
Did you call commit after the delete?
On Tue, Jan 13, 2009 at 4:12 PM, Parisa paris...@gmail.com wrote:
I have a problem with solrj delete By Id . If I search a keyword and it has
more than 1 result no (for example 7) then I delete on of the resulted doc
with solrj (server.deleteById ) , I
On Tue, Jan 13, 2009 at 5:16 PM, Deshpande, Mukta mudes...@ptc.com wrote:
I have following question / observation : (just to ensure that my
configurations are correct)
The lucene-index (dictionary) syn_index is already an index so do we
have to specify the spellcheckIndexDir again?
(If I
Shalin Shekhar Mangar wrote:
Did you call commit after the delete?
Ofcourse I call commit and I test both commit(false,false) and
commit(true,true) in both cases the result is the same.
On Tue, Jan 13, 2009 at 4:12 PM, Parisa paris...@gmail.com wrote:
I have a problem with solrj
On Mon, Jan 12, 2009 at 3:48 PM, gwk g...@eyefi.nl wrote:
1. Posting UTF-8 data through the example post-script works and I get
the proper results back when I query using the admin page.
However, data imported through the DataImportHandler from a MySQL
database (the database
Thanks all for the help and information.
Best Regards,
~Mukta
-Original Message-
From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com]
Sent: Tuesday, January 13, 2009 6:50 PM
To: solr-user@lucene.apache.org
Subject: Re: Query regarding Spelling Suggestions
On Tue, Jan 13, 2009 at
I've updated the patch for trunk. I _believe_ it should now work.
-Grant
On Jan 8, 2009, at 9:32 AM, Jean-Philip EIMECKE wrote:
Thanks for considering my problem
Cheers,
Jean-Philip Eimecke
Hi,
I am somehow new to Solr. While reading through documents/resources, I have
come across 'Searcher' term many times. I am able to roughly undestand, that
whenever we fire any query, we are actually invoking a searcher. This
searcher searches through the index and returns results.
But I am
Thank you so much Grant
Cheers
--
Jean-Philip Eimecke
jpeime...@gmail.com
Hi,
We do have 16 millions of company name and would like to find the way for
prefetching by using Solr.
Does anyone have experience and/or suggestions?
Thanks,
Jae Joo
Shalin Shekhar Mangar wrote:
On Mon, Jan 12, 2009 at 3:48 PM, gwk g...@eyefi.nl wrote:
1. Posting UTF-8 data through the example post-script works and I get
the proper results back when I query using the admin page.
However, data imported through the DataImportHandler from a MySQL
Hi,
With the faceting parameters there is an option to add support for
paging through a large number of facets. But to create proper paging it
would be helpful if the response contains the total number of facets
(the amount of facets if facet.limit was set to a negative value)
similar to an
Hello,
I am trying to use DIH with FileListEntityProcessor to to walk the
disk and read XML documents. I have a dataConfig.xml as follows:-
dataConfig
document
entity name=jcurrent
processor=FileListEntityProcessor
fileName=.*xml
Shalin, thanks for the speedy response.
Which version of Solr are you using?
Solr Implementation Version: nightly exported - yonik - 2008-11-13 08:05:48
I think there should be a dataSource=null in the child entity as well.
OK that had an effect; I now get:-
Jan 13, 2009 4:42:28 PM
Manu,
If you truly want to get a better feeling for the notion of a Searcher, my
advice is to play with Lucene a little bit first. Do you have a copy of Lucene
in Action? You get get a cheaper version online on manning.com/hatcher2 if you
want and quickly read a bit about Searcher in one of
Maybe it's just me, but I'm not sure what you mean by prefetching.
(I don't even know if you're talking about an indexing-time activity
or a query-time activity.) My guess is that you'll get a more helpful
reply if you can make your question more specific.
Cheers,
Chris
On Tue, Jan 13, 2009 at
I believe that when you commit, a new IndexReader is created, which is
warmed, etc. New incoming queries will be sent to this new IndexReader.
Once all previously existing queries have been answered, the old
IndexReader will shut down.
The commit doesn't wait for the query to finish, but it
On 13-Jan-09, at 12:48 AM, Marc Sturlese wrote:
Hey there,
I need a rule in my highlights that sets for example, the snippet
size to
400 in case there's just one snippet, 225 in case two snippeds are
found and
125 in case 3 or more snippets are found. Is there any way to do
that via
Hi,
I'd like to use Solr to index some webserver logs, in order to allow easy
ad-hoc querying and analysis. Each Solr Document will represent a single
request to the webserver, with fields for time, request URL, referring URL
etc.
I'm also planning to fetch the page source of each referring
Hi,
I am using solr for indexing some product data, and wanted to use the
faceted search. My indexed field (mfg) sometimes contains two words
sony erricson for example. When I get the facets on the mfg, SOLR
return sony and erricson as separate hits. There are also some
facets that show up
On Wed, Jan 14, 2009 at 8:45 AM, Deo, Shantanu sd1...@att.com wrote:
I have tried playing around with defining the fieldtype using the
following analyzers:
fieldType name=mfgTextTight class=solr.TextField
positionIncrementGap=100
analyzer
tokenizer class=solr.LetterTokenizerFactory/
Shantanu,
It sounds like all you have to do is switch to a field type that doesn't
tokenize your mfg field. Try field type string. You'll need to reindex once
you make this change.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
From: Deo,
Phil,
From what you described so far, I don't see any red flags. I would pay
attention to reading those timestamps (covered on the Wiki and ML archives),
that's all.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
From: philmccarthy
Thanks Shalin
That really helped :handshake:
I have created a plugin class and now things are working fine
Thanks Again
Regards
Con
Shalin Shekhar Mangar wrote:
On Tue, Jan 13, 2009 at 12:53 AM, con convo...@gmail.com wrote:
Hi all
I am using solr to index data from my database.
Hi all,
Is it safe to use a single instance of CommonsHttpSolrServer object
in multithreaded environment? I am having multiple threads that are
accessing single CommonsHttpSolrServer static object but sometimes the
application gets blocked. Following is the stacktrace printed for all
threads
Hi All
I am using dataimporthandler to index values from oracle db.
My sample rows are like:
1) FirstName- George,LastName- Bush, Country- US
2) FirstName- Georgeon, LastName- Washington, Country- US
3) FirstName- Tony, LastName- George, Country- UK
4) FirstName-
: I have to create two facets on a date field:
: 1) First Facet will have results between two date range , i.e. [NOW TO
: NOW+45DAYS]
: 2) Second Facet will have results between two date range , i.e. [NOW-45DAYS
: TO NOW]
the date faceting code is designed to generate counts for regular
32 matches
Mail list logo