Re: highlight and wildcards ?

2007-11-07 Thread Kamran Shadkhast

I fixed this problem by returning this"return  super.getPrefixQuery(field,
termStr);"
in  solr.search.SolrQueryParser and it worked for me.

-Kamran

Mike Klaas wrote:
> 
> On 7-Jun-07, at 5:27 PM, Frédéric Glorieux wrote:
> 
>> Hoss,
>>
>> Thanks for all your information and pointers. I know that my  
>> problems are not mainstream.
> 
> Have you tried commenting out getPrefixQuery in  
> solr.search.SolrQueryParser?  It should then revert to a "regular"  
> lucene prefix query.
> 
> -Mike
> 

-- 
View this message in context: 
http://www.nabble.com/highlight-and-wildcards---tf3883191.html#a13632571
Sent from the Solr - User mailing list archive at Nabble.com.



Making stemming dynamic at query time

2007-12-18 Thread Kamran Shadkhast

Stemming both at indexing and query time will be controled by solrconfig.xml,
but I think it would be great if we could dynamiclly control this during
search if we want to search with stemming or not. any thought? feasibilty?
...
Thanks,
-Kamran

-- 
View this message in context: 
http://www.nabble.com/Making-stemming-dynamic-at-query-time-tp14405260p14405260.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Making stemming dynamic at query time

2007-12-19 Thread Kamran Shadkhast

The easiest is probably to have two copies of your field, using
, one stemmed and one not, and search in one or the other.

-Bertrand

Yes, I knew this, but it costs me too much, in my case having more than 65M
records and saving most of the fields inside the index for highlighting
purpose does not work. I am looking for making it as option. it is good to
have index everything stemmed but at query time make it optional to filter
query stemmed or not

Thanks,
-Kamran
-- 
View this message in context: 
http://www.nabble.com/Making-stemming-dynamic-at-query-time-tp14405260p14418260.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Making stemming dynamic at query time

2007-12-20 Thread Kamran Shadkhast



Kamran,

I think Bertrand's suggestion is the only possible solution.  I can't think
of a way you can not stem at index time and make it an option at search
time.  If you look at and understand low-level/basic indexing and term
matching process, I think you'll see why this seems impossible.  But maybe
somebody will come up with a clever suggestion. :)

Otis 

Hi Otis,
Thanks for your response, I think there is a misunderstanding, my question
is just making stemming as option by passing a value to request handler for
a database already been indexed with stemming.
if you are familiar with fast search engine they provide this feature. 
I think making this happen should not be a big deal as we do alot of
filtering and alteration to query during query time, we could do the same
for stemming in the same way.

Thanks again,
-Kamran
-- 
View this message in context: 
http://www.nabble.com/Making-stemming-dynamic-at-query-time-tp14405260p14440871.html
Sent from the Solr - User mailing list archive at Nabble.com.



Enhancing the query language

2008-04-22 Thread Kamran Shadkhast

The kind usage we have in our seaching the contents "news" we need a more
sofisticated query language.
currently the solr query language is not enough for our needs.
I understand it is possible to add our own customized query parse to the
system, but I was wondering if anybody have done that and if there is any
idea to share how and from where to start.
for example we need to have :
paragraphs proximity i.e.   (termsgroup1) near/n (termgroup2)   termsgroup1
n paragraph apart from termgroup2
finding terms for number of times i.e.   atleast/n abcd in text   abcd
should show up atleast n times

Thanks,
Kamran shadkhast
-- 
View this message in context: 
http://www.nabble.com/Enhancing-the-query-language-tp16824860p16824860.html
Sent from the Solr - User mailing list archive at Nabble.com.