This thread might help -
http://www.lucidimagination.com/search/document/9edc01a90a195336/enhancing_auto_complete
Cheers
Avlesh
@avlesh http://twitter.com/avlesh | http://webklipper.com
On Tue, Aug 17, 2010 at 8:30 PM, Paul p...@nines.org wrote:
I have a couple questions about implementing an
of it?
In [http://askme.in], there is one thing to be noted. Search text like,
[business c] populates [Business Centre] which looks OK but, [Consultant
Business] looks bit odd. But, in general the pointer you suggested is
great to start with.
On 8/2/2010 8:39 PM, Avlesh Singh wrote:
From whatever I
From whatever I could read in your broken table of sample use cases, I think
you are looking for something similar to what has been done here -
http://askme.in; if this is what you are looking do let me know.
Cheers
Avlesh
@avlesh http://twitter.com/avlesh | http://webklipper.com
On Mon, Aug 2,
...@asia.com wrote:
Hi, I'm also interested of this feature... is it open source?
-Original Message-
From: Avlesh Singh avl...@gmail.com
To: solr-user@lucene.apache.org
Sent: Mon, Aug 2, 2010 5:09 pm
Subject: Re: enhancing auto complete
From whatever I could read in your broken
you have any idea what features they use, specifically thhe types of
tokenizers and analyzers?
Also, do you think they use two separate queries for the business name
versus you may be looking for?
Thanks again.
On Sun, Jun 6, 2010 at 9:36 PM, Avlesh Singh avl...@gmail.com wrote:
Frank
Frank, w.r.t features you may draw a lot of inspiration from these two sites
1. http://mumbai.burrp.com/
2. http://askme.in/
Both these products are Indian local search applications. #1 primarily
focuses on the eating out domain. All the search/suggest related features on
these sites are
Is there a way to get *total count of facets* per field?
Meaning, if my facets are -
lst name=facet_fields
lst name=first_char
int name=s305807/int
int name=d264748/int
int name=p181084/int
int name=m130546/int
int name=r98544/int
int
Classification? - http://en.wikipedia.org/wiki/Document_classification
Cheers
Avlesh
On Fri, Jan 29, 2010 at 1:18 AM, ram_sj rpachaiyap...@gmail.com wrote:
Hi,
My question is about crawling, I know this is not relevant here, but I
asked
nutch people, didn't get any response, I just
It is in the source code of QueryParser's getFieldQuery(String field,
String queryText) method line#660. If numTokens 1 it returns Phrase
Query.
That's exactly the question. Would be nice to hear from someone as to why is
it that way?
Cheers
Avlesh
On Mon, Jan 11, 2010 at 5:10 PM, Ahmet
If the analyzer produces multiple Tokens, but they all have the same
position then the QueryParser produces a BooleanQuery will all SHOULD
clauses. -- This is what allows simple synonyms to work.
You rock Hoss!!! This is exactly the explanation I was looking for .. it is
as simple as it
Thanks Erik for responding.
Hoss explained the behavior with nice corollaries here -
http://www.lucidimagination.com/search/document/8bc351d408f24cf6/tokenizer_question
Cheers
Avlesh
On Tue, Jan 12, 2010 at 2:21 AM, Erik Hatcher erik.hatc...@gmail.comwrote:
On Jan 11, 2010, at 1:33 PM, Avlesh
I am using Solr 1.3.
I have an index with a field called name. It is of type text
(unmodified, stock text field from solr).
My query
field:foo-bar
is parsed as a phrase query
field:foo bar
I was rather expecting it to be parsed as
field:(foo bar)
or
field:foo field:bar
Is there an expectation
a specific
solr
query ?
~Ravi
On Tue, Jan 5, 2010 at 8:25 PM, Avlesh Singh avl...@gmail.com wrote:
Your question appears to be an XY Problem ... that is: you are
dealing
with X, you are assuming Y will help you, and you are asking about
Y
without giving more details about the X so
Your question appears to be an XY Problem ... that is: you are dealing
with X, you are assuming Y will help you, and you are asking about Y
without giving more details about the X so that we can understand the full
issue. Perhaps the best solution doesn't involve Y at all? See Also:
Thanks for the response, Shalin. I am still in two minds over doing it
inside Solr versus outside.
I'll get back with more questions, if any.
Cheers
Avlesh
On Mon, Jan 4, 2010 at 5:11 PM, Shalin Shekhar Mangar
shalinman...@gmail.com wrote:
On Mon, Jan 4, 2010 at 10:24 AM, Avlesh Singh avl
I have a Solr (version 1.3) powered search server running in production.
Search is keyword driven is supported using custom fields and tokenizers.
I am planning to build a rules engine on top search. The rules are database
driven and can't be stored inside solr indexes. These rules would
a) Since Solr is built on top of lucene, using SolrJ, can I still directly
create custom documents, specify the field specifics etc (indexed, stored
etc) and then map POJOs to those documents, simular to just using the
straight lucene API?
b) I took a quick look at the SolrJ javadocs but
Dive in - http://wiki.apache.org/solr/Solrj
Cheers
Avlesh
On Fri, Nov 13, 2009 at 9:39 PM, javaxmlsoapdev vika...@yahoo.com wrote:
I want to build AND search query against field1 AND field2 etc. Both these
fields are stored in an index. I am migrating lucene code to Solr.
Following
is my
and SolrQuery object to
build query. but its not clear/written how to build booleanQuery ANDing
bunch of different attributes in the index. Any samples please?
Avlesh Singh wrote:
Dive in - http://wiki.apache.org/solr/Solrj
Cheers
Avlesh
On Fri, Nov 13, 2009 at 9:39 PM, javaxmlsoapdev vika
Luke Handler? - http://wiki.apache.org/solr/LukeRequestHandler
/admin/luke?numTerms=0
Cheers
Avlesh
On Fri, Nov 13, 2009 at 10:05 PM, Eugene Dzhurinsky b...@redwerk.comwrote:
Hi there!
How can we retrieve the complete list of dynamic fields, which are
currently
available in index?
Thank
AND queries of multiple parameters.
Avlesh Singh wrote:
For a starting point, this might be a good read -
http://www.lucidimagination.com/search/document/f4d91628ced293bf/lucene_query_to_solr_query
Cheers
Avlesh
On Fri, Nov 13, 2009 at 10:02 PM, javaxmlsoapdev vika...@yahoo.com
wrote
AFAIK there is no way to reset the doc boost. You would need to re-index.
Moreover, there is no way to search by boost.
Cheers
Avlesh
On Fri, Nov 13, 2009 at 8:17 PM, Jon Baer jonb...@gmail.com wrote:
Hi,
Im trying to figure out if there is an easy way to basically reset all of
any doc
1. Is it considered as good practice to set up several DIH request
handlers, one for each possible parameter value?
Nothing wrong with this. My assumption is that you want to do this to speed
up indexing. Each DIH instance would block all others, once a Lucene commit
for the former is
But even after I successfully index data using
http://host:port/solr-example/dataimport?command=full-importcommit=trueclean=true,
do solr search which returns meaningful results
I am not sure what meaningful means. The full-import command starts an
asynchronous process to start re-indexing.
Can some one help me how we can sort the text field.
You CANNOT sort on a text field. Sorting can only be done on an
untokenized field (e.g string, sint, sfloat etc fields)
Cheers
Avlesh
On Tue, Nov 10, 2009 at 11:44 AM, deepak agrawal dk.a...@gmail.com wrote:
Can some one help me how we
Didn't the queries in my reply work?
Cheers
Avlesh
On Fri, Nov 6, 2009 at 4:16 AM, Joel Nylund jnyl...@yahoo.com wrote:
Hi yes its a string, in the case of a title, it can be anything, a letter a
number, a symbol or a multibyte char etc.
Any ideas if I wanted a query that was not a letter
Try cast(concat(...) as char) ...
Cheers
Avlesh
On Wed, Nov 4, 2009 at 7:36 PM, Jonathan Hendler jonathan.hend...@gmail.com
wrote:
Hi All,
I have an SQL query that begins with SELECT CONCAT ( 'ID', Subject.id ,
':' , Subject.name , ':L', Subject.level) as subject_name and the query
runs
Take a look at this - http://wiki.apache.org/solr/Solrj
Cheers
Avlesh
On Tue, Nov 3, 2009 at 2:25 PM, Caroline Tan caroline@gmail.com wrote:
Hi,
I wish to intergrate Solr into my current working project. I've played
around the Solr example and get it started in my tomcat. But the next
limited info, it
might be a good idea to use this parameter.
Cheers
Avlesh
On Tue, Nov 3, 2009 at 7:23 AM, Paul Tomblin ptomb...@xcski.com wrote:
On Mon, Nov 2, 2009 at 8:47 PM, Avlesh Singh avl...@gmail.com wrote:
I was doing it that way, but what I'm doing with the documents is do
some
Did you hit the limit for maximum number of characters in a GET request?
Cheers
Avlesh
On Tue, Nov 3, 2009 at 9:36 AM, Gregg Horan greggho...@gmail.com wrote:
I'm constructing a query using solrj that has a fairly large number of 'OR'
clauses. I'm just adding it as a big string to
Copy-paste your field definition for the field you are trying to
highlight/search on.
Cheers
Avlesh
On Sun, Nov 1, 2009 at 8:24 PM, AHMET ARSLAN iori...@yahoo.com wrote:
Hello everyone,
I am having problems with highlighting the complete text of a field. I have
an xml field. I am querying
, but its returning multiple rows, how do
I combine multiple rows into 1 index entity?
thanks
Joel
On Oct 29, 2009, at 8:58 PM, Avlesh Singh wrote:
In the database this is modeled a a 1-N where category table has the
mapping of feed to category
I need to be able to query , give me all the feeds
q=*:*fq=ac:*all*wt=jsonrows=15start=0indent=onomitHeader=truejson.wrf=?;
Why is the json.wrf not specified? Without the callback function, the string
that is return back is illegal javascript for the browser. You need to
specify this parameter which is a wrapper or a callback function. If you
When I request with title:econ* I can have the correct answers, but if I
request with title:écon* I have no answers.
If I request with title:économ (the exact word of the index) it works, so
there might be something wrong with the wildcard.
As far as I can understand the analyser
as underneath?
@Field
private String id;
public getId(){
return (this.getClass().getName() + this.id);
}
Cheers
Avlesh
On Fri, Oct 30, 2009 at 1:33 PM, Christian López Espínola
penyask...@gmail.com wrote:
On Fri, Oct 30, 2009 at 2:04 AM, Avlesh Singh avl...@gmail.com wrote:
One thing I thought
/fieldType
Bern
-Original Message-
From: Avlesh Singh [mailto:avl...@gmail.com]
Sent: Thursday, 29 October 2009 12:35 PM
To: solr-user@lucene.apache.org
Subject: Re: begins with searches
It sounds from what you say that I'm going to need to change the field
type
In the database this is modeled a a 1-N where category table has the
mapping of feed to category
I need to be able to query , give me all the feeds in any given category.
How can I best model this in solr?
Seems like multiValued field might help, but how would I populate it, and
would the
Read this example fully -
http://wiki.apache.org/solr/DataImportHandler#Full_Import_Example
nested entities is an answer to your question. The example has a sample.
Cheers
Avlesh
On Fri, Oct 30, 2009 at 2:58 AM, Joel Nylund jnyl...@yahoo.com wrote:
Hi, Its been hurting my brain all day to try
One thing I thought about is if I can define my own
DocumentObjectBinder, so I can concatenate my entity names with the
IDs in the XML creation.
Anyone knows if something like this can be done without modifying
Solrj sources? Is there any injection or plugin mecanism for this?
More details
My thought now is I cannot use MLT and instead must do a query to B using
the fields from core A ID as query params. Is there big difference in what
will be returned as results using query instead of MLT?
Yes, there is definitely a difference between the results from a MLT handler
and any
Does that mean that you cannot do a 'MLT' query from one core result to get
MLT from another (even if there is some common schema between)?
You can always run MLT handlers on a core. Each MLT handler takes certain
parameters based on which similar results are fetched. You would need to
pass
Shouldn't this work too?
SELECT * FROM table2 WHERE IS NOT NULL
${table1.somethin_like_a_foreign_key} AND
${table1.somethin_like_a_foreign_key} 0 AND id =
${table1.somethin_like_a_foreign_key}
Cheers
Avlesh
On Wed, Oct 28, 2009 at 11:03 PM, Jonathan Hendler
jonathan.hend...@gmail.com wrote:
to validate because at runtime it will look like
SELECT * FROM table2 WHERE
IS NOT NULL table1.somethin_like_a_foreign_key
AND table1.somethin_like_a_foreign_key 0
AND id =
Note the id =
On Oct 28, 2009, at 1:38 PM, Avlesh Singh wrote:
Shouldn't this work too?
SELECT * FROM
curious...is it possible to have faceted results ordered by score?
First, I am not sure what that means. Score of what? Documents? If yes, how
do you think the same should influence faceting?
Second, there are only two ways you can sort facet values on a field. More
here -
For facets -
http://wiki.apache.org/solr/SimpleFacetParameters#facet.mincount
For terms - http://wiki.apache.org/solr/TermsComponent
Helps?
Cheers
Avlesh
On Wed, Oct 28, 2009 at 11:32 PM, Andrew Clegg andrew.cl...@gmail.comwrote:
Hi,
If I give a query that matches a single document, and
Any ideas, are S and T special chars in query for solr?
Nope, they are NOT. My guess is that
- You are using a text type field for firstLetterTitle which has the
stopword filter applied to it.
- Your stopwords.txt file contains the characters s and t because
of which the above
to edgytext. Which won't achieve the result I want, viz. the current all
plus the edgytext. Any way to achieve this?
Thanks!
bern
-Original Message-
From: Avlesh Singh [mailto:avl...@gmail.com]
Sent: Wednesday, 28 October 2009 3:30 PM
To: solr-user@lucene.apache.org
Subject: Re
, with solr
reading the query as author beginning with surname AND author beginning
with firstname, which yields nil results.
Is there an analyser that will strip the whitespace out altogether? Or
another alternative?
bern
-Original Message-
From: Avlesh Singh [mailto:avl...@gmail.com
. I thought the solution
should be copyfield source=*author_mt dest=all/ but that doesn't do
the trick.
Thanks!
bern
-Original Message-
From: Avlesh Singh [mailto:avl...@gmail.com]
Sent: Tuesday, 27 October 2009 5:54 PM
To: solr-user@lucene.apache.org
Subject: Re: begins
Have two cores with some common fields in their schemas. I want to perform
a MLT query on one core and get results from the other schema. Both cores
have same type of id.
Having the same type of id in two different cores is of no good for a MLT
handler (which in-fact operates on one core)
Read up of setting-up these kind searches here -
http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/
Cheers
Avlesh
On Mon, Oct 26, 2009 at 7:43 AM, Bernadette Houghton
bernadette.hough...@deakin.edu.au wrote:
We need to offer begins with type
My guess is that Solr is treating this as a range query. I've tried
escaping the word To with backslashes, but it doesn't seem to make a
difference. Is there a way to tell Solr that to is not a special word in
this instance?
Nope. Any occurrence of to in search term(s) does NOT cause the
It should have worked as expected.
See if your name field is getting populated.
Cheers
Avlesh
2009/10/26 Steinar Asbjørnsen steinar...@gmail.com
Hi all.
I'm currently working on setting up spelling suggestion functionality.
What I'd like is to put the values of two fields (keyword and
If you query looks like this -
q=(myField:aaa myField:bbb myField:ccc)
you would get the desired results for any tokenized field (e.g. text) called
myField.
Cheers
Avlesh
On Tue, Oct 20, 2009 at 6:28 AM, angry127 angry...@gmail.com wrote:
Hi,
Is it possible to get the matching terms from
that you do not wish to write Java code .
But a callback url is a very specific requirement. We plan to extend
javascript support to the EventListener callback . Will it help?
On Wed, Oct 14, 2009 at 11:47 PM, Avlesh Singh avl...@gmail.com wrote:
Hmmm ... I think this is a valid use case
I am pleased to announce the latest release of a popular Indian local search
portal called http://www.burrp.com http://mumbai.burrp.com.
In prior versions of this web application, search was Lucene driven and we
had to write our own implementation of search facets amongst other painful
tasks.
I
returned zero results. Are you using spellcheck suggestions?
Apart from that it's nice and fast.
Regards
Andrew McCombe
iWebsolutions.co.uk
2009/10/14 Avlesh Singh avl...@gmail.com
I am pleased to announce the latest release of a popular Indian local
search
portal called http
!
Chantal
Avlesh Singh schrieb:
I am pleased to announce the latest release of a popular Indian local
search
portal called http://www.burrp.com http://mumbai.burrp.com.
In prior versions of this web application, search was Lucene driven and we
had to write our own implementation of search
Do we attempt to raise some sort of functional query to find the least
amount of the requested price id's? This would seem to imply some playing
around in the query handler to allow a function of this sort.
Unless I am missing something, this information can always be obtained by
Had a look at EventListeners in
DIH?http://wiki.apache.org/solr/DataImportHandler#EventListeners
Cheers
Avlesh
On Wed, Oct 14, 2009 at 11:21 PM, William Pierce evalsi...@hotmail.comwrote:
Folks:
I am pretty happy with DIH -- it seems to work very well for my situation.
Thanks!!!
The
again for your suggestion!
Cheers,
Bill
--
From: Avlesh Singh avl...@gmail.com
Sent: Wednesday, October 14, 2009 10:59 AM
To: solr-user@lucene.apache.org
Subject: Re: Adding callback url to data import handler...Is this possible?
Had
Options -
1. Can you pre-compute your business logic score at index time? If yes,
then this value can be stored in some field and you can use function queries
to use this data plus the score to return a value which you can sort upon.
2. Take a look at -
position considered during scoring?
Thanks,
Rih
On Fri, Oct 9, 2009 at 9:40 AM, Avlesh Singh avl...@gmail.com wrote:
Use the field analysis tool to see how the data is being analyzed in
both
the fields.
Cheers
Avlesh
On Fri, Oct 9, 2009 at 12:56 AM, R. Tan tanrihae
Can you just do q=autoCompleteHelper2:caf to see you get results?
Cheers
Avlesh
On Fri, Oct 9, 2009 at 12:53 PM, R. Tan tanrihae...@gmail.com wrote:
Yup, it is. Both are copied from another field called name.
On Fri, Oct 9, 2009 at 3:15 PM, Avlesh Singh avl...@gmail.com wrote:
Lame
at 1:03 PM, R. Tan tanrihae...@gmail.com wrote:
Yeah, I do get results. Anything else I missed out?
I want it to work like this site's auto suggest feature.
http://www.sematext.com/demo/ac/index.html
Try the keyword 'formula'.
Thanks,
Rih
On Fri, Oct 9, 2009 at 3:24 PM, Avlesh Singh avl
, Oct 9, 2009 at 3:45 PM, Avlesh Singh avl...@gmail.com wrote:
I have a very similar set-up for my auto-suggest (I am sorry that it
can't
be viewed from an external network).
I am sending you my field definitions, please use them and see if it
works
out correctly.
fieldType name
Filters? I did not mean filters at all.
I am in a mad rush right now, but on the face of it your field definitions
look right.
This is what I asked for -
q=(autoComplete2:cha^10 autoComplete:cha)
Lemme know if this does not work for you.
Cheers
Avlesh
On Thu, Oct 8, 2009 at 4:58 PM, R. Tan
q=+fieldname1:(+(word_a1 word_b1) +(word_a2 word_b2) +(word_a3 word_b3))
+fieldname2:...
Cheers
Avlesh
On Thu, Oct 8, 2009 at 7:40 PM, Elaine Li elaine.bing...@gmail.com wrote:
Hi,
What is the correct syntax for the following boolean search from a field?
fieldname1:(word_a1 or word_b1)
with the filters I applied?
On Thu, Oct 8, 2009 at 7:38 PM, Avlesh Singh avl...@gmail.com wrote:
Filters? I did not mean filters at all.
I am in a mad rush right now, but on the face of it your field
definitions
look right.
This is what I asked for -
q=(autoComplete2:cha^10
4 - the same question for highlighting with lemmatisation?
Settings for manage (all highlighted) == the two wordsemmanage/em
and
emmanagement/em are highlighted
Settings for manage == the first word emmanage/em is highlighted
but
not the second : management
There is no Lemmatisation
I have no idea what pb mean but this is what you probably want -
fq=(location_field:(NORTH AMERICA*))
Cheers
Avlesh
On Wed, Oct 7, 2009 at 10:40 PM, clico cl...@mairie-marseille.fr wrote:
Hello
I have a pb trying to retrieve a tree with facet use
I 've got a field location_field
Each doc
You would need to boost your startswith matches artificially for the
desired behavior.
I would do it this way -
1. Create a KeywordTokenized field with n-gram filter.
2. Create a Whitespace tokenized field with n-gram flter.
3. Search on both the fields, boost matches for #1 over #2.
I guess we don't need to depend on scores all the times.
You can use custom sort to sort the results. Take a dynamicField, fill it
with indexOf(keyword) value, sort the results by the field in ascending
order. Then the records which contain the keyword at the earlier position
will come
each token in your filter) might work.
Could you explain this point please ?
Laurent
De : Avlesh Singh avl...@gmail.com
À : solr-user@lucene.apache.org
Envoyé le : Lundi, 5 Octobre 2009, 20h30mn 54s
Objet : Re: wildcard searches
Zambrano is right
with accentued characters. Cause the
original token is not stored with this filter.
Laurent
De : Avlesh Singh avl...@gmail.com
À : solr-user@lucene.apache.org
Envoyé le : Mardi, 6 Octobre 2009, 10h41mn 56s
Objet : Re: Re : wildcard searches
You
We have indexed a product database and have come across some search terms
where zero results are returned. There are products in the index with
'Borderlands xxx xxx', 'Dragonfly xx xxx' in the title. Searches for
'Borderland' or 'Border Land' and 'Dragon Fly' return zero results
'?
Christian
On 10/05/2009 11:01 AM, Avlesh Singh wrote:
We have indexed a product database and have come across some search terms
where zero results are returned. There are products in the index with
'Borderlands xxx xxx', 'Dragonfly xx xxx' in the title. Searches for
'Borderland' or 'Border
No filters are applied to wildcard/fuzzy searches.
Ah! Not like that ..
I guess, it is just that the phrase searches using wildcards are not
analyzed.
Cheers
Avlesh
On Mon, Oct 5, 2009 at 10:42 PM, Christian Zambrano czamb...@gmail.comwrote:
No filters are applied to wildcard/fuzzy
of doing wildcard phrase queries.
When I said not filters, I meant TokenFilters which is what I believe you
mean by 'not analyzed'
On 10/05/2009 12:27 PM, Avlesh Singh wrote:
No filters are applied to wildcard/fuzzy searches.
Ah! Not like that ..
I guess, it is just that the phrase searches
Zambrano is right, Laurent. The analyzers for a field are not invoked for
wildcard queries. You custom filter is not even getting executed at
query-time.
If you want to enable wildcard queries, preserving the original token (while
processing each token in your filter) might work.
Cheers
Avlesh
second sentence. I had to use the NGramTokenFilter to
accommodate partial matches.
On 10/05/2009 12:11 PM, Avlesh Singh wrote:
Using synonyms might be a better solution because the use of
EdgeNGramTokenizerFactory has the potential of creating a large number of
token which will artificially
Like most others, I use SolrJ and bind my beans with @Field annotations to
read responses from Solr.
For highlighting these properties in my bean, I always write a separate
piece - Get the list of highlights from response and then use the
MapfieldName, Listhighlights to put them back in my
/?q=*:*fq:category:animalsort=child_count%20asc
Search for all documents (of animals), and filter the ones that belong to
the category animal and sort ascending by a field called child_count that
contains number of children for each animal.
You can pass multiple fq's with more fq=... parameters.
Thanks Hoss!
The approach that I explained in my subsequent email works like a charm.
Cheers
Avlesh
On Wed, Sep 30, 2009 at 3:45 AM, Chris Hostetter
hossman_luc...@fucit.orgwrote:
: The question was either non-trivial or heavily uninteresting! No replies
yet
it's pretty non-trivial, and
Such questions are better answered on the user mailing list. You don't need
to post them on the dev list.
What matches an incoming query is largely a function of your field type
definition and the way you analyze your field data query time and index
time.
Copy-paste your field and its type
You seem to be desperate to get out of the Solr mailing list :)
Send an email to solr-user-unsubscr...@lucene.apache.org
Cheers
Avlesh
On Fri, Sep 25, 2009 at 11:54 AM, Rafeek Raja rafeek.r...@gmail.com wrote:
Unsubscribe from this mailing-list
I am new to the whole highlighting API and have a few basic questions:
I have a text type field defined as underneath:
fieldType name=text class=solr.TextField positionIncrementGap=100
analyzer type=index
tokenizer class=solr.WhitespaceTokenizerFactory/
filter
I have a prefix_token field defined as underneath in my schema.xml
fieldType name=prefix_token class=solr.TextField
positionIncrementGap=1
analyzer type=index
tokenizer class=solr.WhitespaceTokenizerFactory/
filter class=solr.LowerCaseFilterFactory /
filter
Hmmm .. But ngrams with KeywordTokenizerFactory instead of the
WhitespaceTokenizerFactory work just as fine. Related issues?
Cheers
Avlesh
On Wed, Sep 23, 2009 at 12:27 PM, Shalin Shekhar Mangar
shalinman...@gmail.com wrote:
On Wed, Sep 23, 2009 at 12:23 PM, Avlesh Singh avl...@gmail.com
I'm sorry I don't understand the question. Do you mean to say that
highlighting works with one but not with another?
Yes.
Cheers
Avlesh
On Wed, Sep 23, 2009 at 12:59 PM, Shalin Shekhar Mangar
shalinman...@gmail.com wrote:
On Wed, Sep 23, 2009 at 12:31 PM, Avlesh Singh avl...@gmail.com
Range queries?
Cheers
Avlesh
On Mon, Sep 21, 2009 at 2:57 PM, Anders Melchiorsen m...@spoon.kalibalik.dk
wrote:
We are in a situation where we are trying to match up documents based on a
number of zipcodes.
In our case, zipcodes are just integers, so that hopefully simplifies
things.
not hold true for higher versions
as underlying Lucene API's might have changed.
Cheers
Avlesh
On Sun, Sep 20, 2009 at 4:28 PM, Avlesh Singh avl...@gmail.com wrote:
I am using Solr 1.3
I have a solr.RandomSortField type dynamic field which I use to randomize
my results.
I am in a tricky
I am using Solr 1.3
I have a solr.RandomSortField type dynamic field which I use to randomize
my results.
I am in a tricky situation. I need to randomize only certain results in my
Hits.
To elaborate, I have a integer field called category_id. When performing a
query, I need to get results from
Instead of tokenizer class=solr.WhitespaceTokenizerFactory / use
tokenizer class=solr.KeywordTokenizerFactory/
Cheers
Avlesh
2009/9/16 Vincent Pérès vincent.pe...@gmail.com
Hello,
I'm using the following code for my autocomplete feature :
The field type :
fieldType name=autoComplete
When constructing query, I create a lucene query and use query.toString to
create SolrQuery.
Go this thread -
http://www.lucidimagination.com/search/document/f4d91628ced293bf/lucene_query_to_solr_query
I am facing difficulty while creating facet query for individual field, as I
could not
Your field needs to be untokenized for expected results. Faceting on the
text field that you use to search will give you facets like these. You can
index the same data in some other string field and facet on that field.
PS: You can use copyField to copy data during index time from one field to
I dont have that answer as I was asking a general question, not one for a
specific situation I am encountering).
I can understand :)
what I am essentially asking for is: is there a short, simple and generic
method/technique to deal with large numbers of dynamic fields (rather than
having to
Well you are talking about a very relational behavior, Tan.
You can declare a locations and location_* field in your schema. While
indexing a document, put all the locations inside the field locations.
Populate location_state, location_city etc .. with their corresponding
location values. That
On Fri, Sep 4, 2009 at 10:58 PM, R. Tan tanrihae...@gmail.com wrote:
Hmmm, interesting solution. But, as I've discovered the field collapsing
feature recently (although I haven't tested it), can't it solve this
requirement?
On Sat, Sep 5, 2009 at 1:14 AM, Avlesh Singh avl...@gmail.com wrote
You do not need to create a custom query parser for this. You just need to
create a custom function query. Look at one of the existing function queries
in Solr as an example.
This is where the need originates from -
1 - 100 of 238 matches
Mail list logo