: 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
interval
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) FirstNam
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
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 wrote:
>
>>
>> Hi all
>>
>> I am using solr to index data from my database.
>> In my d
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
> To:
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,
On Wed, Jan 14, 2009 at 8:45 AM, Deo, Shantanu wrote:
>
> I have tried playing around with defining the fieldtype using the
> following analyzers:
> positionIncrementGap="100" >
>
>
>
>
> words="manufacturer.txt"/>
>
>
>
>
> Any ideas if its possible to get the same facets a
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
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 URL,
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
solrc
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 should
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
Hi,
I don't think you can do any of that with Solr as it exists today. My feeling
is that you might want to model this new functionality/code after what's in
SOLR-236, even though it's not the same thing as yours, or after the carrot2
plugin. I also have a feeling others might like this funct
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 t
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 org.
Which version of Solr are you using?
I think there should be a dataSource="null" in the child entity as well.
On Tue, Jan 13, 2009 at 9:28 PM, Fergus McMenemie wrote:
> Hello,
>
> I am trying to use DIH with FileListEntityProcessor to to walk the
> disk and read XML documents. I have a dataConf
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:-
0
But when I try and start the walker I get:-
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 o
Shalin Shekhar Mangar wrote:
On Mon, Jan 12, 2009 at 3:48 PM, gwk 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 (t
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
Thank you so much Grant
Cheers
--
Jean-Philip Eimecke
jpeime...@gmail.com
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 not
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
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
On Mon, Jan 12, 2009 at 3:48 PM, gwk 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 contains correc
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 wrote:
>
>>
>> I have a problem with solrj delete B
On Tue, Jan 13, 2009 at 12:53 AM, con wrote:
>
> Hi all
>
> I am using solr to index data from my database.
> In my database there is a timestamp field of which data will be in the form
> of,
> 15-09-08 06:28:38.44200 AM. The column is of type TIMESTAMP in the
> oracle db.
> So in the schema.
On Tue, Jan 13, 2009 at 5:16 PM, Deshpande, Mukta 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 do not g
Did you call commit after the delete?
On Tue, Jan 13, 2009 at 4:12 PM, Parisa 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 search this key
Hi Grant,
My spellcheck is now working fine with the following configuration:
word
solr.IndexBasedSpellChecker
word
UTF-8
d:\solr-tomcat\solr\data\syn_index
./spellcheckerFile1
Earlier I configured the lucene-index (dictionary) "syn_index" to the
sp
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 sh
On Sun, 2009-01-11 at 17:07 +0530, Shalin Shekhar Mangar wrote:
> On Sun, Jan 11, 2009 at 4:02 PM, Norbert Hartl 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 set
> > o
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
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 Simplefacets.class
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
solrconfig.xml (for what I have seen don't think so...) or sho
Hi,
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]
I want both results in a single query. The query i am using is mentioned
below :
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 individu
37 matches
Mail list logo