Patch to pass a file to the first and new index searchers

2010-09-03 Thread Papiya Misra
I do not want to make the solrconfig.xml huge. I think I saw a patch a couple of weeks back that allowed passing a csv file as a parameter. Can anyone help ? Thanks Papiya Pink OTC Markets Inc. provides the leading inter-dealer quotation and trading system in the over-the-counter (OTC)

Re: Patch to pass a file to the first and new index searchers

2010-09-03 Thread Papiya Misra
Ok - found it - https://issues.apache.org/jira/browse/SOLR-784 . On 09/03/2010 11:51 AM, Papiya Misra wrote: I do not want to make the solrconfig.xml huge. I think I saw a patch a couple of weeks back that allowed passing a csv file as a parameter. Can anyone help ? Thanks Papiya Pink OTC

Re: solr

2010-09-03 Thread Papiya Misra
What is the query that you are using ? Try something like q=city:Chicago . Look at the solrconfig file and you will see defaultSearchFieldname/defaultSearchField . This is the reason that unless you specify the search field in the query, solr will always search the field name. On 09/03/2010

Ranking based on term position

2010-07-19 Thread Papiya Misra
I need to make sure that documents with the search term occurring towards the beginning of the document are ranked higher. For example, Search term : ox Doc 1: box fox ox Doc 2: ox box fox Result: Doc2 will be ranked higher than Doc1. The solution I can think of is sorting by term position

Re: AutoSuggest with custom sorting

2010-05-05 Thread Papiya Misra
This was extremely helpful. Thanks a lot. On 05/04/2010 05:30 PM, Chris Hostetter wrote: First off: i would suggest that instead of doing a simple prefix search, you look into using EdgeNGrams for this sort of thing. I'm also assuming since you need custom scoring for this, you aren't going to

Re: Short DismaxRequestHandler Question

2010-05-04 Thread Papiya Misra
I think you could combine the minimum set of fields into one field at the time of indexing, for example, you could concatenate 'category' and 'tag' at the time of querying (if you are using a database). On 05/04/2010 09:06 AM, MitchK wrote: Hello community, I need a minimum should match only

Re: AutoSuggest with custom sorting

2010-04-27 Thread Papiya Misra
I guess my basic issue is that Solr scores all matches for prefix searches equally. Any way to score PINK over PINKSHEETS when you are searching for PI ? Thanks Papiya Papiya Misra wrote: Hi I am supposed to implement auto suggest where the prefix matches are sorted based on the following

AutoSuggest with custom sorting

2010-04-26 Thread Papiya Misra
Hi I am supposed to implement auto suggest where the prefix matches are sorted based on the following criteria. We have two fields (max characters ~ 100) that we need to search. Field 1 has only one word (no spaces) where as Field2 has multiple words separated by spaces. Example - Row1

Solr + Jboss + Custom Transformers

2009-09-25 Thread Papiya Misra
Hi I am trying to use a custom transformer that extends org.apache.solr.handler.dataimport.Transformer. I have the CustomTransformer.jar and DataImportHandler.jar in JBOSS/server/default/lib. I have the solr.war (as is from the distro) in the JBOSS/server/default/deploy.