test

2012-08-12 Thread george123
test



--
View this message in context: 
http://lucene.472066.n3.nabble.com/test-tp4000660.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solritas in production

2012-08-12 Thread george123
Apologies to drag this conversation up.

I want to share my experience.

Im a code hacker, I have written about 10 lines of code in my life, but can
figure out most things and how they work, or how to get them to work.

Im looking at deploying a vertical search engine. The data is a bit messy,
but im normalising it as best I can and solr just seems to handle it so
well. Who can argue with results in miliseconds.

Now, I need to develop a front end. This is proving THE most difficult part
of my solr experience.

My options are.
1. Defailt Solritas/velocity
2. Wrap this into a drupal or similar cms with solr functionality.
3. Code this in php.

I dont have the knowledge to code in php. I cant use a cms for a variety of
reasons, most of which are related to how it is handled in the database and
the format of my data not fitting to a cms's framework, so im left to look
at point 1 again.

Im sure the knowledge in this forum is without question, but when I see
things like "not production ready" that doesnt mean much to me, someone
hacking out a website. Im bootstrapping so finding someone to code an option
3 for me is a bit hard, even with offshore freelance help.

If there was a set of steps to get Velocity working with my system that
would give me a solution. Alternatively, if the php (or other) code clients
coded a basic frontend template that guys like me could hack out that would
open up the solr framework to a wider range of people.

Anyway, after reading this post, and the one on this blog
http://thoughtsasaservice.wordpress.com/2012/05/10/should-you-use-solritas-on-production/
I think I am going to look down the path of this further. 

The biggest drawback to this I can see is that Velocity consumes more
memory, for me in my situation thats actually ok. Using host side tools like
apache httpd or varnish as has been suggested is something that is possible
in my situation - but a bolt on solution would be ideal. 

Hopefully my experience helps others. I wonder how many people like me
(wordpress/joomla template hackers at best) go to the apache solr project
and turn away because they cant figure out aspects, or they cant just
install a simple solution.

Dont dump velocity, it ticks so many boxes. Please add to it!



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solritas-in-production-tp3966191p4000661.html
Sent from the Solr - User mailing list archive at Nabble.com.


Solr4 how to make it do this?

2012-09-18 Thread george123
Hi all,

Simple scenario but I dont think a simple solution for a real estate
website.

I have an example schema field

values in "bed" are numbers 0-20.

In my website search box (simple html text input) I have a scenario where in
the keyword input box, people may type in a natural search similar to they
do with google.

"3 bedroom house"

How can I train (sorry dont have a better word) that when solr receives
search terms like
3 bed
3 beds
3 bedrooms
3bed
etc
that it looks in the field "bed" for the number 3 when performing a search?

And if that is possible, how do I then create additional options for fields
so it can do searches across multiple fields in a value specific manner.

Eg search term "3 bedroom 2 bathroom house"

Schema
  


Will "filter" this search so that it takes the number 3 and looks in the
field "bed" for matches, and then takes the number 2, and looks in the field
"bath" for matches in its search results?

Thanks




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr4-how-to-make-it-do-this-tp4008574.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr4 how to make it do this?

2012-09-18 Thread george123
I guess I could come up with a synonyms.txt file and every instance of 
3 bed
I change to 
bed:3
it "should" work.

eg

3 bed => bed:3

not exactly a synonym or what it was designed for, but it might work?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr4-how-to-make-it-do-this-tp4008574p4008576.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr4 how to make it do this?

2012-09-18 Thread george123
Thanks. Yeah I was hoping someone might have a solution. Seems to me a
potential common scenario. ( a search term being/stemming to an actual
field).
I did think I might have to filter before passing to Solr but thats worst
case scenario for me. 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr4-how-to-make-it-do-this-tp4008574p4008581.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr4 how to make it do this?

2012-09-18 Thread george123
Thanks everyone for the fast response. Pre processing it is. 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr4-how-to-make-it-do-this-tp4008574p4008774.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr4 how to make it do this?

2012-09-20 Thread george123
I have been thinking about this some more.

So my scenario of search is as follows.

A visitor types in

3 bed 2 bath condo new york

Now my schema has bed, bath, property type, city. The data going in is
denormalised csv files, so column headings are the fields.

The search consists of a near exact match for this type of data to be a
field search eg bed:3 or property type:condo.

I have been experimenting on solrs auto complete functionality.

And I think if I can somehow create a field (Auto_complete) that is
basically a concatenation. I will use a rough excel formula to explain.

Column A,B,C,D = Bed, Bath, Type, City

A1=3, B1=2, C1=condo, D1=New York.

In E1 I would write =concatenate(A1," ","bed"," ",B1," ","bath"," ",C1,"
",D1) 
the value being "3 bed 2 bath condo new york"

Now if I can generate this in the solr index somehow (I know I can do it in
my csv files beforehand but solr might be easier) and my Autocomplete
function hooks into this field (Auto_complete) if a user types in a more
natural search term, it should pick this up and I dont have to try and pre
process that search term beforehand.

Thoughts?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr4-how-to-make-it-do-this-tp4008574p4009304.html
Sent from the Solr - User mailing list archive at Nabble.com.